etherpuppet: correct broken url
[openwrt/svn-archive/archive.git] / net / etherpuppet / Makefile
1 #
2 # Copyright (C) 2006-2011 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:=etherpuppet
11 PKG_REV:=90decf83d1d4
12 PKG_VERSION:=0.3_r$(PKG_REV)
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=https://bitbucket.org/secdev/etherpuppet
17 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
18 PKG_SOURCE_VERSION:=$(PKG_REV)
19 PKG_SOURCE_PROTO:=hg
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/etherpuppet
24 SECTION:=net
25 CATEGORY:=Network
26 DEPENDS:=+kmod-tun
27 TITLE:=A voodoo doll for an Ethernet interface
28 URL:=http://www.secdev.org/projects/etherpuppet/
29 SUBMENU:=VPN
30 endef
31
32 define Package/etherpuppet/description
33 Etherpuppet is a small program for Linux that will create a virtual interface
34 (TUN/TAP) on one machine from the ethernet interface of another machine
35 through a TCP connection.
36 endef
37
38 define Build/Configure
39 endef
40
41 define Build/Compile
42 $(TARGET_CC) $(TARGET_CFLAGS) $(PKG_BUILD_DIR)/$(PKG_NAME).c -o $(PKG_BUILD_DIR)/$(PKG_NAME)
43 endef
44
45 define Package/etherpuppet/install
46 $(INSTALL_DIR) $(1)/usr/bin
47 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
48 endef
49
50 $(eval $(call BuildPackage,etherpuppet))