wok-current annotate prosody/receipt @ rev 9741

Fix mpfr BUILD_DEPENDS
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 10 02:12:56 2011 +0200 (2011-05-10)
parents f9dee07625aa
children 445069574b5a
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"
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