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_HASH
:=c411430bb102f08d3d68d2fb5010b5da0149908b671ac0fb12abd8c8ee6380c5
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
))