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

build() {
	cd "$srcdir/$pkgname-$pkgver"
	export CXX=g++-uc
	
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-ipv6
	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"