summaryrefslogtreecommitdiffstats
path: root/testing/opensips/APKBUILD
diff options
context:
space:
mode:
authorAndrew Manison <amanison@anselsystems.com>2010-05-26 23:09:04 +0000
committerAndrew Manison <amanison@anselsystems.com>2010-05-26 23:09:04 +0000
commit9fddb4d5b41c0b5e69d5ee138297e95eff290302 (patch)
treeb353402b4af0ac5b912dc78ca7d996c397b8e2e3 /testing/opensips/APKBUILD
parentccf26410d30adc8c1934dd553687157ed6e31d69 (diff)
parent8c1128e93e03012dabadb9a3f723dbd20eb60cd4 (diff)
downloadaports-9fddb4d5b41c0b5e69d5ee138297e95eff290302.tar.bz2
aports-9fddb4d5b41c0b5e69d5ee138297e95eff290302.tar.xz
Merged from Alpine main repository.
Merge Conflicts: main/abuild/APKBUILD main/cramfs/APKBUILD main/curl/APKBUILD main/dialog/APKBUILD main/libconfig/APKBUILD main/snort/APKBUILD main/syslinux/APKBUILD
Diffstat (limited to 'testing/opensips/APKBUILD')
-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"