aboutsummaryrefslogtreecommitdiffstats
path: root/unstable/jabberd14/APKBUILD
blob: c1b189cf1469d4db69024e10d3e75ac3510890d0 (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
# 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 pth"
makedepends="uclibc-dev automake pkgconfig gnutls-dev libidn-dev libtool uclibc++-dev 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=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
95f4bc715f24d37e37d2c05580dd3649  jabberd14.initd"