aboutsummaryrefslogtreecommitdiffstats
path: root/main/tcpflow
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2015-10-02 07:10:25 +0000
committerEivind Uggedal <eivind@uggedal.com>2015-10-02 07:10:57 +0000
commit75149aec8f73b5d2e750eebac8bfbf28df8452c0 (patch)
treeaf203dfee095335b6161ad268f3c08d3ae8f6130 /main/tcpflow
parentffda174b5508f59adbe44547cc97e7a1c436671e (diff)
downloadaports-75149aec8f73b5d2e750eebac8bfbf28df8452c0.tar.bz2
aports-75149aec8f73b5d2e750eebac8bfbf28df8452c0.tar.xz
main/tcpflow: disable pdf test as feature requires cairo
Diffstat (limited to 'main/tcpflow')
-rw-r--r--main/tcpflow/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/main/tcpflow/APKBUILD b/main/tcpflow/APKBUILD
index 51b1575625..7b6fc6c5fd 100644
--- a/main/tcpflow/APKBUILD
+++ b/main/tcpflow/APKBUILD
@@ -8,7 +8,7 @@ url="https://github.com/simsong/tcpflow"
arch="all"
license="GPL3"
depends=""
-makedepends="libpcap-dev zlib-dev boost-dev openssl-dev"
+makedepends="libpcap-dev zlib-dev boost-dev openssl-dev autoconf automake"
install=""
subpackages="$pkgname-doc"
source="http://www.digitalcorpora.org/downloads/tcpflow/tcpflow-$pkgver.tar.gz"
@@ -17,18 +17,21 @@ _builddir="$srcdir"/tcpflow-$pkgver
prepare() {
cd "$_builddir"
-}
-
-build() {
- cd "$_builddir"
+ # Don't run pdf tests as the feature require cairo:
+ sed -i 's/test-pdfs.sh//' tests/Makefile.am
+ autoreconf -fisv || return 1
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
|| return 1
- make check || return 1
+}
+
+build() {
+ cd "$_builddir"
make || return 1
+ make check || return 1
}
package() {