blob: fb98e3a0bdd189d1c69bcf91f84e2b4adfe0cc0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=captagent
pkgver=6.2.11
pkgrel=0
pkgdesc="HEP Capture Agent for HOMER"
url="https://github.com/sipcapture/captagent"
arch="all"
license="GPL-3.0"
makedepends="autoconf automake bison expat-dev flex flex-dev json-c-dev
libpcap-dev libtool libuv-dev linux-headers"
source="$pkgname-$pkgver.tar.gz::https://github.com/sipcapture/captagent/archive/$pkgver.tar.gz
$pkgname.initd
0001-Define-PATH_MAX-if-not-defined.patch
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" && \
install -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname && \
rm "$pkgdir"/usr/lib/$pkgname/modules/*.a
}
sha512sums="2e76552113efc21bf4743ccfb184bc84b68a862fa11aa4fb65e927c7e5aeaad7b4a5ff61a42fcc3fc4579c08420609c436ce8d9ff66053588a9447a4077a08f7 captagent-6.2.11.tar.gz
750326291fc65fa9a3568f6961f2d6b950baa715e75ad7fc8263956cc91c50445e2e041d8f73675a350ba0d55786908564b439396376d8105fb69332e8aefc27 captagent.initd
f7c04f5e273dd362f09fd1e6a605f56dcaf64c71cd0d6ba16dadaca5e005b1f29dccd81b186c3727d2fc7872bd684ca4ddc8fc7a2a36fd83956592a134ea6a37 0001-Define-PATH_MAX-if-not-defined.patch
61a4845597aa825c939dc354d168bccb51865c9e0273df1fd376bd61b6d639fee8909c2bb5ed616cb69388aa528b11ef43c25ec905e517e4c6af80537cef15b1 ac-fix.patch"
|