summaryrefslogtreecommitdiffstats
path: root/testing/ebtables/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ebtables/APKBUILD')
-rw-r--r--testing/ebtables/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/ebtables/APKBUILD b/testing/ebtables/APKBUILD
new file mode 100644
index 000000000..c538f7663
--- /dev/null
+++ b/testing/ebtables/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor:
+# Maintainer:
+pkgname=ebtables
+pkgver=2.0.9.1
+_realver=v2.0.9-1
+pkgrel=0
+pkgdesc="Ethernet bridge tables - Linux Ethernet filter for the Linux bridge."
+url="http://ebtables.sourceforge.net/"
+license="GPL"
+depends=""
+makedepends="uclibc-dev"
+install=
+#subpackages="$pkgname-dev $pkgname-doc"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$_realver.tar.gz"
+
+# 0001-add-gcc-no-stack-protector-flag-to-makefile.patch"
+
+# append extra dependencies to -dev subpackage
+# remove if not used.
+# depends_dev="somepackage-dev"
+
+build() {
+ cd "$srcdir"/$pkgname-$_realver
+
+ patches
+ for i in ../../*.patch; do
+ msg "Applying $i"
+ if ! patch --verbose -p1 -i $i; then
+ error "$i failed"
+ return 1
+ fi
+ done
+
+ make || return 1
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="0e0c20adf2bba6d91dbd0b74a1a38c33 ebtables-v2.0.9-1.tar.gz"