aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-21 11:35:03 -0300
committerKevin Daudt <kdaudt@alpinelinux.org>2019-10-30 05:52:53 +0000
commit222edf935924032fb90ab5c915d7d1968032a754 (patch)
tree82ec1abe2a1c7430bdead4e52ce43bfbf9b8944e
parent764a0d97d8e39ffe129fac0d3c60c1576c21dbd3 (diff)
downloadaports-222edf935924032fb90ab5c915d7d1968032a754.tar.bz2
aports-222edf935924032fb90ab5c915d7d1968032a754.tar.xz
main/fstrm: upgrade to 0.6.0
Remove libevent-dev from depends_dev since it is only required for the utilities and split the utils into their own package Closes !600
-rw-r--r--main/fstrm/APKBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/main/fstrm/APKBUILD b/main/fstrm/APKBUILD
index 5734062fb8..ae5dcc251b 100644
--- a/main/fstrm/APKBUILD
+++ b/main/fstrm/APKBUILD
@@ -1,21 +1,18 @@
# Contributor: tcely <tcely@users.noreply.github.com>
# Maintainer:
pkgname="fstrm"
-pkgver="0.5.0"
-pkgrel=1
+pkgver="0.6.0"
+pkgrel=0
pkgdesc="Frame Streams implementation in C"
url="https://github.com/farsightsec/fstrm"
arch="all"
# check failure on s390x reported upstream:
# https://github.com/farsightsec/fstrm/issues/58
license="MIT"
-depends=""
-depends_dev="libevent-dev"
checkdepends="findutils"
-makedepends="$depends_dev"
-install=""
-subpackages="$pkgname-dev $pkgname-doc"
-source="https://dl.farsightsecurity.com/dist/$pkgname/$pkgname-$pkgver.tar.gz
+makedepends="libevent-dev"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-utils"
+source="https://dl.farsightsecurity.com/dist/fstrm/fstrm-$pkgver.tar.gz
reduce-testruns.patch"
build() {
@@ -48,5 +45,11 @@ package() {
make -j1 DESTDIR="$pkgdir" install
}
-sha512sums="cc60d8974d73d4f5327c46fe642151c88cf8d670ac9bb5db6cb5990b6c0995a0e09c9ae1a6c86ecbfd35fe03664b5402becd68bc6e81e83e9f4b84668d866f25 fstrm-0.5.0.tar.gz
+utils() {
+ pkgdesc="$pkgname utilities"
+ mkdir -p "$subpkgdir"/usr/bin
+ mv "$pkgdir"/usr/bin/* "$subpkgdir"/usr/bin/
+}
+
+sha512sums="d1b754caadb1bd8b4b4ce3e7394168dd0a20353e0b7ac65f28d016d840aefe6fa1ab1aa778564e775152164855b38a47ab5817866f8bfb0b2d70520b2881225d fstrm-0.6.0.tar.gz
1c687ee7741fb20a571c3d7d3fb9a1cf09709d83d66d788eb09835750ee2313aa565f74d35a9cdece2154e1b8c41c68b268ca8f5bc33f8d14550ebe46880d550 reduce-testruns.patch"