diff options
Diffstat (limited to 'testing/rtpproxy/APKBUILD')
-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" |