aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sipsak/APKBUILD
blob: afa5c1cf4d35c47a3cd8e7c200a29604e1b9b1f7 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Contributor:
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=sipsak
pkgver=0.9.6
pkgrel=0
pkgdesc="SIP swiss army knife"
url="http://sipsak.org/"
arch="x86 x86_64"
license="GPL"
depends=
makedepends=
install=
subpackages="$pkgname-doc"
source="http://download.berlios.de/$pkgname/$pkgname-$pkgver-1.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	# apply patches here
	return 0
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="c4eb8e282902e75f4f040f09ea9d99d5  sipsak-0.9.6-1.tar.gz"