2 # Copyright (C) 2008-2010 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://w3.epca.com.ve/projects/veth
16 PKG_MD5SUM:=11536388d9c76552a4b736638a458361
18 include $(INCLUDE_DIR)/package.mk
24 TITLE:=Virtual Ethernet Device for Linux
25 URL:=http://w3.epca.com.ve/projects/veth/
28 define Package/veth/description
29 VETH is a daemon that virtualizes a ethernet card in Linux.
30 The virtualization is done via Universal TUN/TAP Driver.
34 $(MAKE) -C $(PKG_BUILD_DIR)/veth \
36 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
37 LDFLAGS="$(TARGET_LDFLAGS)"
40 define Package/veth/install
41 $(INSTALL_DIR) $(1)/usr/sbin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/veth/vethd $(1)/usr/sbin/
45 $(eval $(call BuildPackage,veth))