summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-06 08:57:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-06 08:57:03 +0000
commitd40af55829b6a27d7311f56d6c5965c552691cf0 (patch)
tree9c7b943ade4847ef436dcd9b39b652e01dc652a8 /testing
parent6c0283f7f164abd4946849b38d5ca437f5075bbd (diff)
downloadaports-d40af55829b6a27d7311f56d6c5965c552691cf0.tar.bz2
aports-d40af55829b6a27d7311f56d6c5965c552691cf0.tar.xz
testing/opensips: dont depend on uclibc
Diffstat (limited to 'testing')
-rw-r--r--testing/opensips/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/testing/opensips/APKBUILD b/testing/opensips/APKBUILD
index d54b3dec2..c148ce22a 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"