summaryrefslogtreecommitdiffstats
path: root/unstable/kamailio/APKBUILD
blob: d4b566e1af8595ea8b201881f122e44a70f21005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Contributor: Michael Mason <ms13sp@gmail.com>
pkgname=kamailio
pkgver=1.5.1
pkgrel=0
pkgdesc="Open Source SIP Server"
url="http://www.kamailio.org/"
license="GPL"
depends="uclibc expat postgresql"
makedepends="bison flex coreutils expat-dev libpq"
install=
subpackages="$pkgname-doc"
source="http://www.kamailio.org/pub/kamailio/1.5.1/src/$pkgname-$pkgver-notls_src.tar.gz"

build() {
	cd "$srcdir/$pkgname-$pkgver-notls"

	make prefix=/usr || return 1
	make prefix=/usr basedir="$pkgdir" install

	# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}

md5sums="5dd6f66b155d9dde08ee0311439acc10  kamailio-1.5.1-notls_src.tar.gz"