2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.geocities.com
/nestorjpg
/veth
/
17 PKG_MD5SUM
:=11536388d9c76552a4b736638a458361
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 include $(INCLUDE_DIR
)/package.mk
27 TITLE
:=Virtual Ethernet Device for Linux
28 URL
:=http
://www.geocities.com
/nestorjpg
/veth
/
31 define Package
/veth
/description
32 VETH is a daemon that virtualizes a ethernet card in Linux.
33 The virtualization is done via Universal TUN
/TAP Driver.
37 $(MAKE
) -C
$(PKG_BUILD_DIR
)/veth \
39 CFLAGS
="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
40 LDFLAGS
="$(TARGET_LDFLAGS)"
43 define Package
/veth
/install
44 $(INSTALL_DIR
) $(1)/usr
/sbin
45 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/veth
/vethd
$(1)/usr
/sbin
/
48 $(eval
$(call BuildPackage
,veth
))