wok-4.x annotate ejabberd/receipt @ rev 10097

slitaz-toolchain: more info in log and doc
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 19:52:16 2011 +0200 (2011-05-20)
parents 3b2ae5a79c4b
children 42b844028fd8
rev   line source
pascal@2135 1 # SliTaz package receipt.
pascal@2135 2
pascal@2135 3 PACKAGE="ejabberd"
slaxemulator@9817 4 VERSION="2.1.6"
pascal@2135 5 CATEGORY="network"
jozee@4935 6 SHORT_DESC="Jabber/XMPP instant messaging server (real-time communication)."
pascal@2135 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2135 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@9817 9 WEB_SITE="http://www.ejabberb.im/"
slaxemulator@9817 10 WGET_URL="http://www.process-one.net/downloads/$PACKAGE/$VERSION/$TARBALL"
pascal@2135 11 DEPENDS="erlang expat openssl zlib"
pascal@2135 12 BUILD_DEPENDS="erlang expat-dev openssl-dev zlib-dev"
pascal@2135 13 CONFIG_FILES="/etc/ejabberd"
jozee@4935 14 TAGS="im instant-messaging server"
pascal@2135 15
pascal@2135 16 # Rules to configure and make the package.
pascal@2135 17 compile_rules()
pascal@2135 18 {
pascal@2135 19 cd $src/src
slaxemulator@9820 20 ./configure --prefix=/usr \
slaxemulator@9820 21 --infodir=/usr/share/info \
slaxemulator@9820 22 --mandir=/usr/share/man \
slaxemulator@9820 23 --sysconfdir=/etc \
slaxemulator@9817 24 --localstatedir=/var &&
pascal@2135 25 make &&
slaxemulator@9820 26 make DESTDIR=$DESTDIR install
pascal@2135 27 }
pascal@2135 28
pascal@2135 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2135 30 genpkg_rules()
pascal@2135 31 {
pascal@2135 32 mkdir -p $fs/etc/init.d
pascal@2135 33 cp -a $_pkg/* $fs
pascal@2135 34 ln -s /usr/sbin/ejabberdctl $fs/etc/init.d/ejabberd
pascal@2135 35 }
pascal@2135 36