summaryrefslogtreecommitdiffstats
path: root/unstable/ejabberd/APKBUILD
blob: 07064d7c6f8c503b25302773e6b77ea29a7ec6ef (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: 
pkgname=ejabberd
pkgver=2.0.5
pkgrel=0
pkgdesc="The Erlang Jabber Daemon"
url="http://www.ejabberd.im/"
license="GPL"
depends="uclibc expat zlib libiconv erlang"
makedepends="expat-dev zlib-dev libiconv-dev erlang-dev"
install=
subpackages="$pkgname-doc $pkgname-dev"
source="http://www.process-one.net/downloads/ejabberd/$pkgver/$pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
	make DESTDIR="$pkgdir" install

	# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}

md5sums="2d85b47df969daf0a78ed3b16562d731  ejabberd-2.0.5.tar.gz"