[patch-team] ZNC: upate to 0.094 - Signed-off-by: Jonas Gorski <jonas.gorski+openwrt...
[openwrt/svn-archive/archive.git] / net / veth / Makefile
1 #
2 # Copyright (C) 2008-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=veth
11 PKG_VERSION:=1.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://w3.epca.com.ve/projects/veth
16 PKG_MD5SUM:=11536388d9c76552a4b736638a458361
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/veth
21 SECTION:=net
22 CATEGORY:=Network
23 DEPENDS:=+kmod-tun
24 TITLE:=Virtual Ethernet Device for Linux
25 URL:=http://w3.epca.com.ve/projects/veth/
26 endef
27
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.
31 endef
32
33 define Build/Compile
34 $(MAKE) -C $(PKG_BUILD_DIR)/veth \
35 CC="$(TARGET_CC)" \
36 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
37 LDFLAGS="$(TARGET_LDFLAGS)"
38 endef
39
40 define Package/veth/install
41 $(INSTALL_DIR) $(1)/usr/sbin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/veth/vethd $(1)/usr/sbin/
43 endef
44
45 $(eval $(call BuildPackage,veth))