wok-next annotate prosody/receipt @ rev 15991
Up: prosody (0.9.3)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 02 14:10:27 2014 +0100 (2014-03-02) |
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 } |