wok-next annotate prosody/receipt @ rev 16155
mirror-tools: no more mirror-info since http://hg.slitaz.org/slitaz-dev-tools/rev/113c2519c444
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 28 14:14:24 2014 +0000 (2014-03-28) |
parents | 51a1ebbda768 |
children | 4d5ea5783430 |
rev | line source |
---|---|
allan316@4404 | 1 # SliTaz package receipt. |
allan316@4404 | 2 |
allan316@4404 | 3 PACKAGE="prosody" |
pankso@15991 | 4 VERSION="0.9.3" |
pankso@4804 | 5 CATEGORY="network" |
allan316@4404 | 6 SHORT_DESC="xmpp-jabber server in lua" |
allan316@4404 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15375 | 8 LICENSE="MIT" |
allan316@4404 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@4404 | 10 WEB_SITE="http://prosody.im" |
allan316@4404 | 11 WGET_URL="$WEB_SITE/downloads/source/$TARBALL" |
pankso@15991 | 12 #HOST_ARCH="i486 arm" |
allan316@4404 | 13 |
pascal@15375 | 14 DEPENDS="lua libidn libssl libcrypto" |
pascal@15375 | 15 BUILD_DEPENDS="lua-dev libidn-dev openssl-dev" |
pascal@15375 | 16 |
allan316@4404 | 17 # Rules to configure and make the package. |
allan316@4404 | 18 compile_rules() |
allan316@4404 | 19 { |
allan316@4404 | 20 ./configure \ |
pankso@15991 | 21 --prefix=/usr && |
pankso@15991 | 22 make CC=${HOST_SYSTEM}-gcc && |
pankso@15991 | 23 make DESTDIR=$DESTDIR install |
allan316@4404 | 24 } |
allan316@4404 | 25 |
allan316@4404 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4404 | 27 genpkg_rules() |
allan316@4404 | 28 { |
allan316@4404 | 29 mkdir -p $fs/usr |
pascal@15375 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15375 | 31 cp -a $install/usr/lib $fs/usr |
pascal@15375 | 32 cp -a $install/etc $fs |
pascal@15375 | 33 cp -a $install/var $fs |
allan316@4404 | 34 } |