Mail archive
alpine-aports

[alpine-aports] [PATCH] main/rtpproxy

From: Nathan Angelacos <nangel_at_alpinelinux.org>
Date: Tue, 12 Apr 2016 00:42:24 +0000

        create additional -tools package with extractaudio and makeann
---
 main/rtpproxy/APKBUILD | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/main/rtpproxy/APKBUILD b/main/rtpproxy/APKBUILD
index 92ba183..82b8772 100644
--- a/main/rtpproxy/APKBUILD
+++ b/main/rtpproxy/APKBUILD
_at_@ -2,16 +2,16 @@
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=rtpproxy
 pkgver=2.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="RTP proxy"
 url="http://www.rtpproxy.org"
 arch="all"
 license="BSD"
 depends=
 depends_dev=
-makedepends="$depends_dev"
+makedepends="$depends_dev libsndfile-dev"
 install="$pkgname.pre-install"
-subpackages="$pkgname-doc $pkgname-debug"
+subpackages="$pkgname-doc $pkgname-debug $pkgname-tools"
 source="$pkgname-$pkgver.tar.gz::https://github.com/sippy/rtpproxy/archive/v${pkgver}.tar.gz
 	musl-fix-headers.patch
 	define-byte-order.patch
_at_@ -49,6 +49,13 @@ debug() {
 	mv "$pkgdir"/usr/bin/${pkgname}_debug "$subpkgdir"/usr/bin/
 }
 
+tools() {
+	pkgdesc="User tools for $pkgname"
+	mkdir -p "$subpkgdir"/usr/bin
+	for _a in extractaudio makeann; do
+		mv "$pkgdir"/usr/bin/$_a "$subpkgdir"/usr/bin/
+	done
+}
 
 package() {
 	cd "$_builddir"
-- 
2.7.4
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Apr 12 2016 - 00:42:24 GMT