aboutsummaryrefslogtreecommitdiffstats
path: root/main/sipsak/APKBUILD
blob: 6ca63999ddb857d97219cf4df211d17fc3a3afd7 (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
39
40
41
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=sipsak
pkgver=0.9.6
pkgrel=0
pkgdesc="SIP swiss army knife"
url="http://sipsak.org/"
arch="all"
license="GPL2+"
depends=""
makedepends="openssl-dev"
install=""
subpackages="$pkgname-doc"
source="http://download.berlios.de/$pkgname/$pkgname-$pkgver-1.tar.gz"

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

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

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

md5sums="c4eb8e282902e75f4f040f09ea9d99d5  sipsak-0.9.6-1.tar.gz"
sha256sums="5064c56d482a080b6a4aea71821b78c21b59d44f6d1aa14c27429441917911a9  sipsak-0.9.6-1.tar.gz"
sha512sums="c2d62ddaf2ecc9616941cf002a0494d2f9c43747e6b527f8b1542e9b5ae143fc69b18fc140bd3f255896b0e8eb02f7d198cc1799a4041e2d0c95d90b653591fe  sipsak-0.9.6-1.tar.gz"