nuke $Id$ in /packages as well
[openwrt/svn-archive/archive.git] / ipv6 / ptrtd / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=ptrtd
11 PKG_VERSION:=0.5.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://v6web.litech.org/ptrtd/dist/
16 PKG_MD5SUM:=bfe026445fdc4fe509a9c70ec4551744
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/ptrtd
23 SECTION:=ipv6
24 CATEGORY:=IPv6
25 DEPENDS:=+kmod-ipv6 +kmod-tun +ip
26 TITLE:=Portable Transport Relay Translator Daemon
27 URL:=http://v6web.litech.org/ptrtd/
28 endef
29
30 define Package/ptrtd/description
31 The Portable Transport Relay Translator Daemon (pTRTd)
32 is a method of allowing IPv6 hosts to communicate with IPv4 hosts.
33 endef
34
35 MAKE_FLAGS += \
36 CFLAGS="$(TARGET_CFLAGS)"
37
38 define Package/ptrtd/install
39 $(INSTALL_DIR) $(1)/usr/sbin/
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
41 $(INSTALL_DIR) $(1)/etc/init.d/
42 $(INSTALL_BIN) ./files/ptrtd.init $(1)/etc/init.d/ptrtd
43 endef
44
45 $(eval $(call BuildPackage,ptrtd))