f491a5767943f98ab53a9d2f01afa7d8e9d048ae
[openwrt/svn-archive/archive.git] / ipv6 / 6tunnel / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=6tunnel
12 PKG_VERSION:=0.11rc2
13 PKG_RELEASE:=2
14 PKG_MD5SUM:=74e02d4f0704b3083a01feda66033449
15
16 PKG_SOURCE_URL:=http://toxygen.net/6tunnel/
17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/6tunnel
22 SECTION:=ipv6
23 CATEGORY:=IPv6
24 DEPENDS:=+libpcap
25 TITLE:=IPv4 / IPv6 tunnel proxy
26 URL:=http://toxygen.net/6tunnel/
27 endef
28
29 define Package/6tunnel/description
30 IPv4 / IPv6 tunnel proxy
31 endef
32
33 define Build/Compile
34 $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME).c
35 endef
36
37 define Package/6tunnel/install
38 $(INSTALL_DIR) $(1)/usr/sbin
39 $(INSTALL_BIN) $(PKG_BUILD_DIR)/6tunnel $(1)/usr/sbin/
40 endef
41
42 $(eval $(call BuildPackage,6tunnel))