aboutsummaryrefslogblamecommitdiffstats
path: root/testing/captagent/APKBUILD
blob: 46470629830b7cc1864b53493e5b3859b74b0eed (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                              
        



                                             
                                                                                                          
                                                                                               
                      












                                                     

                                                             

                                                          


                                                                    
                                                 

                                                                                                       
                                                                                 

                                                                                                                                                                       
                                                                                                                                                 
                                                                                                                                               
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer:
pkgname=captagent
pkgver=6.1.0.20
pkgrel=3
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 linux-headers"
source="$pkgname-$pkgver.tar.gz::https://github.com/sipcapture/captagent/archive/$pkgver.tar.gz
        $pkgname.initd
        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
}

md5sums="8c7f73d37776a7dbc616aa3217f824a3  captagent-6.1.0.20.tar.gz
e1b4e439f41550dd643072a4b0286f86  captagent.initd
43eddea9f2c3c0efa658b3cbe64e4e48  ac-fix.patch"
sha256sums="64def81f3b53b16416fcc7e8cb61136c53e8b25446403287b0bb6e6b27089713  captagent-6.1.0.20.tar.gz
1d8843def6b13dc575bf8c1403cf637248b2e61f4314d62c9e3b8585ec6ff1ae  captagent.initd
f42aec59c15ef8a8adbfd7221318e0d8a48fb5d95a5252f8332f2192cbb235fb  ac-fix.patch"
sha512sums="b867a41dfe98015f01fa8c67e57214754231eeec40d0685983fca9aacf53cc5287c2c9959f4752c80004ad5abc2e8a96058797b6b7cdc259a48443c1a909b609  captagent-6.1.0.20.tar.gz
750326291fc65fa9a3568f6961f2d6b950baa715e75ad7fc8263956cc91c50445e2e041d8f73675a350ba0d55786908564b439396376d8105fb69332e8aefc27  captagent.initd
c0bbbbf2f96c7644b154e71b672af5a0d7c209dd5b309b6f6b35915a04f30a33ff4fc18e408e3f1641d4ca6ae51430f9ac0189984f828353263fb52e985b47c1  ac-fix.patch"