Commit 2a02630c authored by Natanael Copa's avatar Natanael Copa
Browse files

testing/pjproject: upgrade to 1.4. add pjsua app

fixes #161
parent a044aede
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment