# Template file for 'ebtables' pkgname=ebtables version=2.0.10_4 revision=2 build_style=gnu-makefile short_desc="Filtering tool for a Linux-based bridging firewall" maintainer="Enno Boland " license="GPL-2" homepage="http://ebtables.netfilter.org/" depends="perl" distfiles="http://ftp.netfilter.org/pub/ebtables/${pkgname}-v${version/_/-}.tar.gz" checksum=dc6f7b484f207dc712bfca81645f45120cb6aee3380e77a1771e9c34a9a4455d wrksrc=${pkgname}-v${version/_/-} make_build_args="CFLAGS+=-Wno-error=unused-but-set-variable" make_install_args=" LIBDIR=/usr/lib \ MANDIR=/usr/share/man \ BINDIR=/usr/sbin \ INITDIR=/etc/rc.d \ SYSCONFIGDIR=/etc " conf_files=/etc/ebtables.conf broken_as_needed=yes pre_configure() { sed -i -e "/install/s/-m [0-9]\{4\}//g" \ -e "/install/s/-o root//g" \ -e "/install/s/-g root//g" Makefile } post_install() { rm -r $DESTDIR/etc/rc.d $DESTDIR/etc/ebtables-config touch /etc/ebtables.conf vsv ebtables }