aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtpproxy/APKBUILD
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2011-02-09 19:23:39 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2011-02-09 19:40:22 -0600
commit19057f79c2bfa546d2badfcab7bd036b96b6db64 (patch)
tree9e7be195e5939a7851820c22caae9e083a172e03 /main/rtpproxy/APKBUILD
parent5017a62317c4020cb555c31bf3f4e53b385b8041 (diff)
downloadaports-19057f79c2bfa546d2badfcab7bd036b96b6db64.tar.bz2
aports-19057f79c2bfa546d2badfcab7bd036b96b6db64.tar.xz
main/rtpproxy: moved from testing
moved rtpproxy to main
Diffstat (limited to 'main/rtpproxy/APKBUILD')
-rw-r--r--main/rtpproxy/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/main/rtpproxy/APKBUILD b/main/rtpproxy/APKBUILD
new file mode 100644
index 0000000000..30629c0a53
--- /dev/null
+++ b/main/rtpproxy/APKBUILD
@@ -0,0 +1,48 @@
+# Contributor: Jeff Bilyk <jbilyk@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=rtpproxy
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="RTP proxy"
+url="http://www.rtpproxy.org"
+arch="all"
+license="BSD"
+depends=
+depends_dev=
+makedepends="$depends_dev"
+install="$pkgname.pre-install"
+subpackages="$pkgname-doc"
+source="http://b2bua.org/chrome/site/$pkgname-$pkgver.tar.gz
+ rtpproxy.confd
+ rtpproxy.initd"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+ install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+}
+
+md5sums="b0b5d6cdce3f17cdbbac473c11a2d0e5 rtpproxy-1.2.1.tar.gz
+aee99ab9f380cd0b43754ae658f26c92 rtpproxy.confd
+b0f8894794b3f24af21ed050477851b1 rtpproxy.initd"