aboutsummaryrefslogtreecommitdiffstats
path: root/main/pjproject
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-04 14:50:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-04 14:50:26 +0000
commit1df2e17c1ce365c55bac3dbda968ce63d99b25f1 (patch)
tree1ade74be5ae7013f59888696eef18fda33274c1f /main/pjproject
parent839bcd691e00ad06e015c108855a864ed84882fe (diff)
downloadaports-1df2e17c1ce365c55bac3dbda968ce63d99b25f1.tar.bz2
aports-1df2e17c1ce365c55bac3dbda968ce63d99b25f1.tar.xz
main/pjproject: moved from testing
fixes #232
Diffstat (limited to 'main/pjproject')
-rw-r--r--main/pjproject/APKBUILD38
1 files changed, 38 insertions, 0 deletions
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 <ms13sp@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+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"