wok annotate prosody/receipt @ rev 15011

alsaplayer-scopes: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 12:51:05 2013 +0000 (2013-08-11)
parents f3327707164a
children 51a1ebbda768
rev   line source
allan316@4404 1 # SliTaz package receipt.
allan316@4404 2
allan316@4404 3 PACKAGE="prosody"
allan316@4404 4 VERSION="0.5.2"
pankso@4804 5 CATEGORY="network"
allan316@4404 6 SHORT_DESC="xmpp-jabber server in lua"
allan316@4404 7 MAINTAINER="allan316@gmail.com"
pascal@5005 8 DEPENDS="lua libidn libssl libcrypto"
pascal@10560 9 BUILD_DEPENDS="lua-dev libidn-dev openssl-dev"
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 &&
pascal@10560 20 make && make DESTDIR=$DESTDIR 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