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

main/tcpflow: disable pdf test as feature requires cairo

parent ffda174b
......@@ -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() {
......
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