wok view prosody/receipt @ rev 9821

ruby: when a space can change a build...
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 15 02:34:55 2011 +0200 (2011-05-15)
parents f9dee07625aa
children 445069574b5a
line source
1 # SliTaz package receipt.
3 PACKAGE="prosody"
4 VERSION="0.5.2"
5 CATEGORY="network"
6 SHORT_DESC="xmpp-jabber server in lua"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="lua libidn libssl libcrypto"
9 BUILD_DEPENDS="lua-dev libidn-dev libssl"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://prosody.im"
12 WGET_URL="$WEB_SITE/downloads/source/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr &&
20 make && make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 cp -a $_pkg/etc $fs
30 cp -a $_pkg/var $fs
31 }