diff options
author | Jeff Bilyk <jbilyk@gmail.com> | 2011-02-08 21:43:28 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-02-08 21:49:15 -0600 |
commit | 0ab4382c322002fe3bab533eb5e5726116ae947d (patch) | |
tree | 3a085279eef58006a4c817f857310c298a644eb4 | |
parent | 589a4a9b45f18f84e222cd5954c87da314d30c74 (diff) | |
download | aports-0ab4382c322002fe3bab533eb5e5726116ae947d.tar.bz2 aports-0ab4382c322002fe3bab533eb5e5726116ae947d.tar.xz |
testing/rtpproxy: new aport
testing/rtpproxy: new aport
-rw-r--r-- | testing/rtpproxy/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/rtpproxy/APKBUILD b/testing/rtpproxy/APKBUILD new file mode 100644 index 0000000000..8ac37ca250 --- /dev/null +++ b/testing/rtpproxy/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Jeff Bilyk <jbilyk@gmail.com> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=rtpproxy +pkgver=1.2.1 +pkgrel=0 +pkgdesc="RTP proxy" +url="http://www.rtpproxy.org" +arch="all" +license="BSD" +depends= +depends_dev= +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://b2bua.org/chrome/site/$pkgname-$pkgver.tar.gz" + +_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 +} + +md5sums="b0b5d6cdce3f17cdbbac473c11a2d0e5 rtpproxy-1.2.1.tar.gz" |