flex: fix bootstrap on NetBSD from upstream
[openadk.git] / package / ebtables / Makefile
blobe53fe44311b67c544b252902317f314c712b38e2
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= ebtables
7 PKG_VERSION:= 2.0.10
8 PKG_RELEASE:= 1
9 PKG_HASH:= dc6f7b484f207dc712bfca81645f45120cb6aee3380e77a1771e9c34a9a4455d
10 PKG_DESCR:= ethernet bridging firewall tool
11 PKG_SECTION:= net/route
12 PKG_URL:= http://ebtables.sourceforge.net
13 PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ebtables/}
15 DISTFILES:= ${PKG_NAME}-v${PKG_VERSION}-4.tar.gz
16 WRKDIST= ${WRKDIR}/${PKG_NAME}-v${PKG_VERSION}-4
18 include ${ADK_TOPDIR}/mk/package.mk
20 $(eval $(call PKG_template,EBTABLES,ebtables,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
22 CONFIG_STYLE:= manual
24 ebtables-install:
25 ${INSTALL_DIR} ${IDIR_EBTABLES}/etc
26 ${INSTALL_DIR} ${IDIR_EBTABLES}/usr/sbin ${IDIR_EBTABLES}/usr/lib
27 ${INSTALL_DATA} ${WRKINST}/etc/ethertypes ${IDIR_EBTABLES}/etc
28 ${INSTALL_BIN} ${WRKINST}/usr/sbin/ebtables ${IDIR_EBTABLES}/usr/sbin
29 ${CP} ${WRKINST}/usr/lib/*.so ${IDIR_EBTABLES}/usr/lib
31 include ${ADK_TOPDIR}/mk/pkg-bottom.mk