summaryrefslogtreecommitdiff
path: root/community/cutter/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cutter/PKGBUILD')
-rw-r--r--community/cutter/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/community/cutter/PKGBUILD b/community/cutter/PKGBUILD
index e48ce17d4..ee3a8cfb1 100644
--- a/community/cutter/PKGBUILD
+++ b/community/cutter/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=cutter
pkgver=1.03
-pkgrel=3
+pkgrel=3.1
pkgdesc="TCP/IP Connection cutting on Linux Firewalls and Routers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.lowth.com/cutter/"
license=('GPL')
depends=(glibc)
@@ -15,6 +15,8 @@ md5sums=('50093db9b64277643969ee75b83ebbd1')
build() {
cd $startdir/src/$pkgname-$pkgver
- make || return 1
+ # The included trivial Makefile ignores CFLAGS and LDFLAGS, so
+ # running the compiler manually here.
+ ${CC:-gcc} ${LDFLAGS} ${CFLAGS} -o cutter cutter.c
install -D -m 0755 ./cutter $startdir/pkg/usr/bin/tcp-cutter
}