diff options
Diffstat (limited to 'testing/captagent/APKBUILD')
-rw-r--r-- | testing/captagent/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/captagent/APKBUILD b/testing/captagent/APKBUILD new file mode 100644 index 0000000000..b84ab25f13 --- /dev/null +++ b/testing/captagent/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: +pkgname=captagent +pkgver=6.1.0.20 +pkgrel=0 +pkgdesc="HEP Capture Agent for HOMER" +url="https://github.com/sipcapture/captagent" +arch="all" +license="GPL3" +makedepends="autoconf automake bison expat-dev flex flex-dev json-c-dev libtool libpcap-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/sipcapture/captagent/archive/$pkgver.tar.gz + ac-fix.patch" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" && ./build.sh && ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc && + make +} + +package() { + cd "$builddir" && make install DESTDIR="$pkgdir" +} + +md5sums="8c7f73d37776a7dbc616aa3217f824a3 captagent-6.1.0.20.tar.gz +43eddea9f2c3c0efa658b3cbe64e4e48 ac-fix.patch" +sha256sums="64def81f3b53b16416fcc7e8cb61136c53e8b25446403287b0bb6e6b27089713 captagent-6.1.0.20.tar.gz +f42aec59c15ef8a8adbfd7221318e0d8a48fb5d95a5252f8332f2192cbb235fb ac-fix.patch" +sha512sums="b867a41dfe98015f01fa8c67e57214754231eeec40d0685983fca9aacf53cc5287c2c9959f4752c80004ad5abc2e8a96058797b6b7cdc259a48443c1a909b609 captagent-6.1.0.20.tar.gz +c0bbbbf2f96c7644b154e71b672af5a0d7c209dd5b309b6f6b35915a04f30a33ff4fc18e408e3f1641d4ca6ae51430f9ac0189984f828353263fb52e985b47c1 ac-fix.patch" |