From 1df2e17c1ce365c55bac3dbda968ce63d99b25f1 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 4 Jan 2010 14:50:26 +0000 Subject: main/pjproject: moved from testing fixes #232 --- main/pjproject/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 main/pjproject/APKBUILD (limited to 'main/pjproject') diff --git a/main/pjproject/APKBUILD b/main/pjproject/APKBUILD new file mode 100644 index 0000000000..363d7616ea --- /dev/null +++ b/main/pjproject/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Michael Mason +# Maintainer: Natanael Copa +pkgname=pjproject +pkgver=1.4 +pkgrel=0 +pkgdesc="CLI Softphone" +url="http://www.pjsip.org/pjsua.htm" +license="GPL" +depends= +makedepends="uclibc++-dev openssl-dev pth-dev" +install= +subpackages="$pkgname-dev pjsua" +source="http://www.pjsip.org/release/$pkgver/$pkgname-$pkgver.tar.bz2" + +build() { + cd "$srcdir/$pkgname-$pkgver" + export CXX=${CXX_UC:-g++-uc} + + ./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" prefix=/usr install + +} + +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" -- cgit v1.2.3