1 # Copyright (C) 2012-2014 OpenWrt.org
3 # This is free software, licensed under the GNU General Public License v2.
5 include $(TOPDIR)/rules.mk
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_SOURCE_URL:=http://www.pps.univ-paris-diderot.fr/~jch/software/files/
13 PKG_MD5SUM:=40d4931986913f5f8d9b5b70abf6fda5
15 include $(INCLUDE_DIR)/package.mk
17 define Package/babel-pinger
20 SUBMENU:=Routing and Redirection
22 URL:=http://www.pps.univ-paris-diderot.fr/~jch/software/babel/
23 MAINTAINER:=Gabriel Kerneis <gabriel@kerneis.info>
27 define Package/babel-pinger/description
28 Babel-pinger is a hack to export a default route into Babel for people
29 using DHCP to configure their routers rather than speaking to their
30 upstream provider with a proper routing protocol.
34 CFLAGS="$(TARGET_CFLAGS)" \
36 define Package/babel-pinger/install
37 $(INSTALL_DIR) $(1)/usr/sbin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/babel-pinger $(1)/usr/sbin/
41 $(eval $(call BuildPackage,babel-pinger))