aboutsummaryrefslogtreecommitdiffstats
path: root/unstable/jabberd14/APKBUILD
blob: a9b7f7f5051aa1025067b45190a326119062d0f1 (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
# Contributor: Michael Mason <ms13sp@gmail.com> 
pkgname=jabberd14
pkgver=1.6.1.1
pkgrel=2
pkgdesc="Jabber server or XMPP"
url="http://jabberd.org/"
license="GPL"
depends=
makedepends="automake pkgconfig gnutls-dev libidn-dev libtool
	popt-dev pth-dev expat-dev libgcrypt-dev"
install=
subpackages="$pkgname-doc $pkgname-dev"
source="http://download.jabberd.org/jabberd14/$pkgname-$pkgver.tar.gz
	jabberd14.initd"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	export CXX=${CXX_UC:-g++-uc}
	
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make -j1 || return 1
	make -j1 DESTDIR="$pkgdir" install
	
	install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname

}

md5sums="597c7ee14518ba22b1cee883b4737d87  jabberd14-1.6.1.1.tar.gz
aa6ec7b00e05aedcc1db49da0029242b  jabberd14.initd"