diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-09-12 16:27:34 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-09-12 16:27:34 +0000 |
commit | 2a02630ca1cf469862fc2ccfd7ffe0f2e3253fca (patch) | |
tree | a8e666df16908aba4a39dd2a2e6c60a682e60628 | |
parent | a044aede9de85769a82fd6242542ea1c5e367302 (diff) | |
download | aports-2a02630ca1cf469862fc2ccfd7ffe0f2e3253fca.tar.bz2 aports-2a02630ca1cf469862fc2ccfd7ffe0f2e3253fca.tar.xz |
testing/pjproject: upgrade to 1.4. add pjsua app
fixes #161
-rw-r--r-- | testing/pjproject/APKBUILD | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/testing/pjproject/APKBUILD b/testing/pjproject/APKBUILD index 949693f4..363d7616 100644 --- a/testing/pjproject/APKBUILD +++ b/testing/pjproject/APKBUILD @@ -1,28 +1,38 @@ -# Contributor: Michael Mason <ms13sp@gmail.com> +# Contributor: Michael Mason <ms13sp@gmail.com> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=pjproject -pkgver=1.0.1 +pkgver=1.4 pkgrel=0 pkgdesc="CLI Softphone" url="http://www.pjsip.org/pjsua.htm" license="GPL" -depends="uclibc uclibc++ openssl pth" -makedepends="uclibc++-dev openssl-dev autoconf binutils pth-dev" +depends= +makedepends="uclibc++-dev openssl-dev pth-dev" install= -subpackages="$pkgname-dev" -source="http://www.pjsip.org/release/1.0.1/$pkgname-$pkgver.tar.bz2" +subpackages="$pkgname-dev pjsua" +source="http://www.pjsip.org/release/$pkgver/$pkgname-$pkgver.tar.bz2" build() { cd "$srcdir/$pkgname-$pkgver" - export CXX=g++-uc + export CXX=${CXX_UC:-g++-uc} - ./configure --prefix=/usr \ + ./configure --build=${CHOST:-i486-alpine-linux-uclibc} \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make -j1 dep || return 1 make -j1 all || return 1 - make -j1 DESTDIR="$pkgdir" install + make -j1 DESTDIR="$pkgdir" prefix=/usr install } -md5sums="6462f2a636e5b14f50e92efc000924f0 pjproject-1.0.1.tar.bz2" +pjsua() { + pkgdesc="pjsua is an open source command line SIP user agent (softphone)" + cd "$srcdir/$pkgname-$pkgver"/pjsip-apps/bin/ + install -D -m755 pjsua-${CHOST:-i486-alpine-linux-uclibc} \ + "$subpkgdir"/usr/bin/pjsua +} + + +md5sums="c5abd0d764d89788d817d449141e45a6 pjproject-1.4.tar.bz2" |