wok annotate prosody/receipt @ rev 4404

add: prosody
author Allan Pinto <allan316@gmail.com>
date Tue Oct 20 14:48:39 2009 +0000 (2009-10-20)
parents
children f9dee07625aa
rev   line source
allan316@4404 1 # SliTaz package receipt.
allan316@4404 2
allan316@4404 3 PACKAGE="prosody"
allan316@4404 4 VERSION="0.5.2"
allan316@4404 5 CATEGORY="networking"
allan316@4404 6 SHORT_DESC="xmpp-jabber server in lua"
allan316@4404 7 MAINTAINER="allan316@gmail.com"
allan316@4404 8 DEPENDS="lua libidn libssl"
allan316@4404 9 BUILD_DEPENDS="lua-dev libidn-dev libssl"
allan316@4404 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
allan316@4404 11 WEB_SITE="http://prosody.im"
allan316@4404 12 WGET_URL="$WEB_SITE/downloads/source/$TARBALL"
allan316@4404 13
allan316@4404 14 # Rules to configure and make the package.
allan316@4404 15 compile_rules()
allan316@4404 16 {
allan316@4404 17 cd $src
allan316@4404 18 ./configure \
allan316@4404 19 --prefix=/usr &&
allan316@4404 20 make && make DESTDIR=$PWD/_pkg install
allan316@4404 21 }
allan316@4404 22
allan316@4404 23 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@4404 24 genpkg_rules()
allan316@4404 25 {
allan316@4404 26 mkdir -p $fs/usr
allan316@4404 27 cp -a $_pkg/usr/bin $fs/usr
allan316@4404 28 cp -a $_pkg/usr/lib $fs/usr
allan316@4404 29 cp -a $_pkg/etc $fs
allan316@4404 30 cp -a $_pkg/var $fs
allan316@4404 31 }
allan316@4404 32