diff options
Diffstat (limited to 'testing/opensips/APKBUILD')
-rw-r--r-- | testing/opensips/APKBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/testing/opensips/APKBUILD b/testing/opensips/APKBUILD index d54b3dec28..c148ce22a7 100644 --- a/testing/opensips/APKBUILD +++ b/testing/opensips/APKBUILD @@ -2,16 +2,15 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=opensips pkgver=1.5.0 -pkgrel=4 +pkgrel=5 pkgdesc="Flexible and customizable sip routing engine" url="http://www.opensips.org/" license="GPL" -depends="uclibc expat" +depends= makedepends="bison flex expat-dev coreutils" install="$pkgname.pre-install $pkgname.post-install" subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-notls_src.tar.gz - $install $pkgname.initd" build() { @@ -25,6 +24,10 @@ build() { cd .. make prefix=/usr || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver-notls" make prefix=/usr basedir="$pkgdir" install chmod 750 "$pkgdir"/etc/opensips/opensips.cfg install -d "$pkgdir"/var/run/opensips @@ -32,6 +35,4 @@ build() { } md5sums="ba99592a6e42e8b4dc2d38964420dfec opensips-1.5.0-notls_src.tar.gz -3a8a5d3c4c23ce9f2fc60b449ad61820 opensips.pre-install -d9b551148d2b60466c05b4295b935091 opensips.post-install 7fb51d35517f7f10cfe6e89139f7060a opensips.initd" |