mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-07 00:42:07 +01:00
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
pkgname=heplify
|
|
pkgver=1.56
|
|
pkgrel=3
|
|
pkgdesc="Multi-Protocol Go HEP Capture Agent made Simple"
|
|
url="http://sipcapture.io"
|
|
arch="all !riscv64" # FTBFS
|
|
license="AGPL-3.0-or-later"
|
|
makedepends="go libpcap-dev linux-headers"
|
|
subpackages="$pkgname-openrc"
|
|
source="https://github.com/sipcapture/heplify/archive/$pkgver/heplify-$pkgver.tar.gz
|
|
$pkgname.initd
|
|
$pkgname.confd
|
|
"
|
|
# net required to download Go dependencies
|
|
options="net"
|
|
|
|
build() {
|
|
make all
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
install -D -m755 heplify "$pkgdir"/usr/bin/$pkgname
|
|
install -D -m755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
|
|
install -D -m644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
|
|
}
|
|
|
|
sha512sums="
|
|
d9eb0dec39c446a7a163b69221b32182733dc7bc1477e29e8e74bffddf961a1416c98d44a792cc9a3aae936002c7eb384e3128d96937736746829bf219f49555 heplify-1.56.tar.gz
|
|
2f012f933f232f78362ee61332dcdec22e83fb70d1feb245f2342cb2dc668b8b53fcee10d73cda8920534370bb57b2884a4cfb77013fa7f584ab4f5a637a2d33 heplify.initd
|
|
da89419e17acd25cca30af13cca1a9278283cbe258de30da747fafa41bd567e3337992a8f1773cdc2eb64848ec35c30a132f81a10dada5d4dae431ef29d391f0 heplify.confd
|
|
"
|