aboutsummaryrefslogtreecommitdiffstats
path: root/unstable
diff options
context:
space:
mode:
Diffstat (limited to 'unstable')
-rw-r--r--unstable/prosody/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/unstable/prosody/APKBUILD b/unstable/prosody/APKBUILD
new file mode 100644
index 0000000000..4cf10b2220
--- /dev/null
+++ b/unstable/prosody/APKBUILD
@@ -0,0 +1,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"