diff options
-rw-r--r-- | main/tcpflow/APKBUILD | 15 |
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() { |