# Contributor: Michael Mason 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"