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
:=2010-10-11
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
:=caf4d30c669ad8b64ef566b8bab4aec445b90b46
18 include $(INCLUDE_DIR
)/package.mk
23 TITLE
:=Transparent routing
/ relay daemon
27 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
28 $(TARGET_CONFIGURE_OPTS
) \
29 CFLAGS
="$(TARGET_CFLAGS)"
32 define Package
/relayd
/install
33 $(INSTALL_DIR
) $(1)/usr
/sbin
34 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/relayd
$(1)/usr
/sbin
/relayd
37 $(eval
$(call BuildPackage
,relayd
))