wok view prosody/receipt @ rev 5987

Add uclibc-cross-compiler
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 14 14:20:45 2010 +0200 (2010-08-14)
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 }