diff options
author | Michael Mason <ms13sp@gmail.com> | 2009-06-08 15:00:56 +0000 |
---|---|---|
committer | Michael Mason <ms13sp@gmail.com> | 2009-06-08 15:00:56 +0000 |
commit | f9b478494e821804a3c5cee3912a1f970c2b7ca3 (patch) | |
tree | 0c7b35640c839161b32c82e34746f1ab14835e61 /testing/prosody/APKBUILD | |
parent | af73d3395ad713e014efb49fc60b0c9d99a11e1f (diff) | |
download | aports-f9b478494e821804a3c5cee3912a1f970c2b7ca3.tar.bz2 aports-f9b478494e821804a3c5cee3912a1f970c2b7ca3.tar.xz |
unstable/prosody move to testing/prosody
Diffstat (limited to 'testing/prosody/APKBUILD')
-rw-r--r-- | testing/prosody/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/prosody/APKBUILD b/testing/prosody/APKBUILD new file mode 100644 index 000000000..60ad4e9cb --- /dev/null +++ b/testing/prosody/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Mika Havela <mika.havela@gmail.com> +# Maintainer: Mika Havela <mika.havela@gmail.com> +pkgname=prosody +pkgver=0.4.2 +pkgrel=0 +pkgdesc="Lua based Jabber/XMPP server" +url="http://prosody.im/" +license="MIT" +depends="uclibc lua libidn openssl luasocket luaexpat" +makedepends="lua-dev libidn-dev openssl-dev" +install="prosody.pre-install prosody.post-install" +subpackages="" +source="http://prosody.im/downloads/source/$pkgname-$pkgver.tar.gz + $pkgname.cfg.lua + $pkgname.initd + $install + Makefile-0.4.2.patch + " + +build() { + cd "$srcdir/$pkgname-$pkgver" + + patch Makefile "$startdir/Makefile-0.4.2.patch" || return 1 + + ./configure --prefix=/usr \ + --sysconfdir=/etc/prosody \ + --with-lua=/usr/bin \ + --with-lua-lib=/usr/lib \ + --with-lua-include=/usr/include + + make || return 1 + make DESTDIR="$pkgdir" install + + install -d "$pkgdir/var/log/prosody" || return 1 + install -d "$pkgdir/var/run/prosody" || return 1 + install -D -m755 "$srcdir"/"$pkgname".initd "$pkgdir"/etc/init.d/"$pkgname" + + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +md5sums="2669478311b3a67522669acdf03cf85c prosody-0.4.2.tar.gz +f42039e5a342fe62cd7e491546338aaa prosody.cfg.lua +c161a875295b45241229eb6db65211e8 prosody.initd +08484f183ba39233337d3fbc92cffadc prosody.pre-install +8202a40bf6de7cbacbaf76f2985aa220 prosody.post-install +684d033dac42399a245c061c9a374e1b Makefile-0.4.2.patch" |