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.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.geocities.com/nestorjpg/veth/
16 PKG_MD5SUM:=11536388d9c76552a4b736638a458361
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20 include $(INCLUDE_DIR)/package.mk
26 TITLE:=Virtual Ethernet Device for Linux
27 URL:=http://www.geocities.com/nestorjpg/veth/
30 define Package/veth/description
31 VETH is a daemon that virtualizes a ethernet card in Linux.
32 The virtualization is done via Universal TUN/TAP Driver.
36 $(MAKE) -C $(PKG_BUILD_DIR)/veth \
38 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
39 LDFLAGS="$(TARGET_LDFLAGS)"
42 define Package/veth/install
43 $(INSTALL_DIR) $(1)/usr/sbin
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/veth/vethd $(1)/usr/sbin/
47 $(eval $(call BuildPackage,veth))