source: packages/net/etherpuppet/Makefile @ 25665

Last change on this file since 25665 was 25665, checked in by acoul, 5 years ago

net/etherpuppet: add etherpuppe, a voodoo doll for an Ethernet interface (closes #8913)

File size: 1.2 KB
Line 
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=etherpuppet
11PKG_REV:=90decf83d1d4
12PKG_VERSION:=0.3_r$(PKG_REV)
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16PKG_SOURCE_URL:=http://hg.secdev.org/etherpuppet
17PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
18PKG_SOURCE_VERSION:=$(PKG_REV)
19PKG_SOURCE_PROTO:=hg
20
21include $(INCLUDE_DIR)/package.mk
22
23define 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
30endef
31
32define 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.
36endef
37
38define Build/Configure
39endef
40
41define Build/Compile
42  $(TARGET_CC) $(TARGET_CFLAGS) $(PKG_BUILD_DIR)/$(PKG_NAME).c -o $(PKG_BUILD_DIR)/$(PKG_NAME)
43endef
44
45define Package/etherpuppet/install
46        $(INSTALL_DIR) $(1)/usr/bin
47        $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
48endef
49
50$(eval $(call BuildPackage,etherpuppet))
Note: See TracBrowser for help on using the repository browser.