2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
11 PKG_VERSION
:=2011-02-07
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
13 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
14 PKG_SOURCE_URL
:=git
://nbd.name
/relayd.git
16 PKG_SOURCE_VERSION
:=aeb49d61c2a737dc9a89e0558388c25208e5e919
18 include $(INCLUDE_DIR
)/package.mk
19 include $(INCLUDE_DIR
)/cmake.mk
24 TITLE
:=Transparent routing
/ relay daemon
28 TARGET_CFLAGS
+= -I
$(STAGING_DIR
)/usr
/include
30 define Package
/relayd
/install
31 $(INSTALL_DIR
) $(1)/usr
/sbin
32 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/relayd
$(1)/usr
/sbin
/relayd
35 $(eval
$(call BuildPackage
,relayd
))