wok-next annotate prosody/receipt @ rev 15938

Add obshutdown (GTK Ob logout manager)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Feb 22 19:22:43 2014 +0100 (2014-02-22)
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