aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fstrm/APKBUILD
blob: b3369a6bb616b9020878b26779d1f1334aeef81d (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
38
39
40
41
# Contributor: tcely <tcely@users.noreply.github.com>
# Maintainer:
pkgname="fstrm"
pkgver="0.4.0"
pkgrel=0
pkgdesc="Frame Streams implementation in C"
url="https://github.com/farsightsec/fstrm"
arch="all !s390x"
license="Apache-2.0"
depends=""
depends_dev="libevent-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://dl.farsightsecurity.com/dist/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	cd "$builddir"

	./configure \
		--build="$CBUILD" \
		--host="$CHOST" \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man
	make
}

check() {
	cd "$builddir"

	make check
}

package() {
	cd "$builddir"

	make -j1 DESTDIR="$pkgdir" install
}

sha256sums="b20564cb2ebc7783a8383fbef5bcef5726f94baf48b83843553c9e1030b738ef  fstrm-0.4.0.tar.gz"