850e0c5e64
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@40107 3c298f89-4303-0410-b956-a3cf2f4a3e73
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
#
|
|
# Copyright (C) 2008-2010 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=veth
|
|
PKG_VERSION:=1.0
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=http://w3.epca.com.ve/projects/veth
|
|
PKG_MD5SUM:=11536388d9c76552a4b736638a458361
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/veth
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
DEPENDS:=+kmod-tun
|
|
TITLE:=Virtual Ethernet Device for Linux
|
|
URL:=http://w3.epca.com.ve/projects/veth/
|
|
endef
|
|
|
|
define Package/veth/description
|
|
VETH is a daemon that virtualizes a ethernet card in Linux.
|
|
The virtualization is done via Universal TUN/TAP Driver.
|
|
endef
|
|
|
|
define Build/Compile
|
|
$(MAKE) -C $(PKG_BUILD_DIR)/veth \
|
|
CC="$(TARGET_CC)" \
|
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
|
LDFLAGS="$(TARGET_LDFLAGS)"
|
|
endef
|
|
|
|
define Package/veth/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/veth/vethd $(1)/usr/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,veth))
|