Merge pull request #390 from aparcar/alfred_procd
[feed/routing.git] / babel-pinger / Makefile
1 # Copyright (C) 2012-2014 OpenWrt.org
2 #
3 # This is free software, licensed under the GNU General Public License v2.
4
5 include $(TOPDIR)/rules.mk
6
7 PKG_NAME:=babel-pinger
8 PKG_VERSION:=0.1
9 PKG_RELEASE:=1
10
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
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/babel-pinger
18 SECTION:=net
19 CATEGORY:=Network
20 SUBMENU:=Routing and Redirection
21 TITLE:=Babel-pinger
22 URL:=http://www.pps.univ-paris-diderot.fr/~jch/software/babel/
23 MAINTAINER:=Gabriel Kerneis <gabriel@kerneis.info>
24 DEPENDS:=+librt
25 endef
26
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.
31 endef
32
33 MAKE_FLAGS+= \
34 CFLAGS="$(TARGET_CFLAGS)" \
35
36 define Package/babel-pinger/install
37 $(INSTALL_DIR) $(1)/usr/sbin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/babel-pinger $(1)/usr/sbin/
39 endef
40
41 $(eval $(call BuildPackage,babel-pinger))