2 # Copyright (C) 2006-2011 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
12 PKG_VERSION:=0.3_r$(PKG_REV)
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://hg.secdev.org/etherpuppet
17 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
18 PKG_SOURCE_VERSION:=$(PKG_REV)
21 include $(INCLUDE_DIR)/package.mk
23 define Package/etherpuppet
27 TITLE:=A voodoo doll for an Ethernet interface
28 URL:=http://www.secdev.org/projects/etherpuppet/
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.
38 define Build/Configure
42 $(TARGET_CC) $(TARGET_CFLAGS) $(PKG_BUILD_DIR)/$(PKG_NAME).c -o $(PKG_BUILD_DIR)/$(PKG_NAME)
45 define Package/etherpuppet/install
46 $(INSTALL_DIR) $(1)/usr/bin
47 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
50 $(eval $(call BuildPackage,etherpuppet))