Commit 75149aec authored by Eivind Uggedal's avatar Eivind Uggedal
Browse files

main/tcpflow: disable pdf test as feature requires cairo

parent ffda174b
...@@ -8,7 +8,7 @@ url="https://github.com/simsong/tcpflow" ...@@ -8,7 +8,7 @@ url="https://github.com/simsong/tcpflow"
arch="all" arch="all"
license="GPL3" license="GPL3"
depends="" depends=""
makedepends="libpcap-dev zlib-dev boost-dev openssl-dev" makedepends="libpcap-dev zlib-dev boost-dev openssl-dev autoconf automake"
install="" install=""
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="http://www.digitalcorpora.org/downloads/tcpflow/tcpflow-$pkgver.tar.gz" source="http://www.digitalcorpora.org/downloads/tcpflow/tcpflow-$pkgver.tar.gz"
...@@ -17,18 +17,21 @@ _builddir="$srcdir"/tcpflow-$pkgver ...@@ -17,18 +17,21 @@ _builddir="$srcdir"/tcpflow-$pkgver
prepare() { prepare() {
cd "$_builddir" cd "$_builddir"
} # Don't run pdf tests as the feature require cairo:
sed -i 's/test-pdfs.sh//' tests/Makefile.am
build() { autoreconf -fisv || return 1
cd "$_builddir"
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
--prefix=/usr \ --prefix=/usr \
--mandir=/usr/share/man \ --mandir=/usr/share/man \
|| return 1 || return 1
make check || return 1 }
build() {
cd "$_builddir"
make || return 1 make || return 1
make check || return 1
} }
package() { package() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment