summaryrefslogtreecommitdiffstats
path: root/unstable/prosody/APKBUILD
blob: 4cf10b2220b52dc7ccef5f36e0fd0f72d2483928 (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
# Contributor: Michael Mason <ms13sp@gmail.com>
pkgname=prosody
pkgver=0.4.2
pkgrel=0
pkgdesc="Lua based Jabber/XMPP server"
url="http://prosody.im/"
license="GPL"
depends="uclibc lua libidn openssl"
makedepends="lua-dev libidn-dev lua-dev openssl-dev"
install=
subpackages=""
source="http://prosody.im/downloads/source/$pkgname-$pkgver.tar.gz"

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

	PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
	
	./configure --prefix=/usr \
		--sysconfdir=/etc
	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="2669478311b3a67522669acdf03cf85c  prosody-0.4.2.tar.gz"