wok-current annotate prosody/receipt @ rev 15502
util-linux-flock: fix pre_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 17 18:13:51 2013 +0000 (2013-11-17) |
parents | 445069574b5a |
children | ad0940dfc5c8 |
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@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" |
allan316@4404 | 12 |
pascal@15375 | 13 DEPENDS="lua libidn libssl libcrypto" |
pascal@15375 | 14 BUILD_DEPENDS="lua-dev libidn-dev openssl-dev" |
pascal@15375 | 15 |
allan316@4404 | 16 # Rules to configure and make the package. |
allan316@4404 | 17 compile_rules() |
allan316@4404 | 18 { |
allan316@4404 | 19 cd $src |
allan316@4404 | 20 ./configure \ |
allan316@4404 | 21 --prefix=/usr && |
pascal@10560 | 22 make && make DESTDIR=$DESTDIR install |
allan316@4404 | 23 } |
allan316@4404 | 24 |
allan316@4404 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4404 | 26 genpkg_rules() |
allan316@4404 | 27 { |
allan316@4404 | 28 mkdir -p $fs/usr |
pascal@15375 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15375 | 30 cp -a $install/usr/lib $fs/usr |
pascal@15375 | 31 cp -a $install/etc $fs |
pascal@15375 | 32 cp -a $install/var $fs |
allan316@4404 | 33 } |
allan316@4404 | 34 |