aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNathan Angelacos <nangel@alpinelinux.org>2016-04-12 00:42:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-12 12:14:16 +0000
commit94e49d4543dc33aaae6de003a66052dcb8e8f987 (patch)
treea96b5b1108779d4897ba872d56f90bf358a28eef /main
parent09bb3ef33a4eea4ed140b39103179372b9d9a07a (diff)
downloadaports-94e49d4543dc33aaae6de003a66052dcb8e8f987.tar.bz2
aports-94e49d4543dc33aaae6de003a66052dcb8e8f987.tar.xz
main/rtpproxy
create additional -tools package with extractaudio and makeann
Diffstat (limited to 'main')
-rw-r--r--main/rtpproxy/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/main/rtpproxy/APKBUILD b/main/rtpproxy/APKBUILD
index 92ba183ec2..82b8772fb1 100644
--- a/main/rtpproxy/APKBUILD
+++ b/main/rtpproxy/APKBUILD
@@ -2,16 +2,16 @@
# Maintainer: Natanael Copa <ncopa@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
@@ -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"