wok annotate ejabberd/receipt @ rev 15142

bmpanel2: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 11:41:58 2013 +0000 (2013-08-15)
parents 42b844028fd8
children 8dd8bab3f0ca
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@15002 8 LICENSE="GPL2"
pascal@2135 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@9817 10 WEB_SITE="http://www.ejabberb.im/"
slaxemulator@9817 11 WGET_URL="http://www.process-one.net/downloads/$PACKAGE/$VERSION/$TARBALL"
slaxemulator@10324 12 CONFIG_FILES="/etc/ejabberd"
slaxemulator@10324 13 TAGS="im instant-messaging server"
slaxemulator@10324 14
pascal@2135 15 DEPENDS="erlang expat openssl zlib"
pascal@2135 16 BUILD_DEPENDS="erlang expat-dev openssl-dev zlib-dev"
pascal@2135 17
pascal@2135 18 # Rules to configure and make the package.
pascal@2135 19 compile_rules()
pascal@2135 20 {
pascal@2135 21 cd $src/src
slaxemulator@9820 22 ./configure --prefix=/usr \
slaxemulator@9820 23 --infodir=/usr/share/info \
slaxemulator@9820 24 --mandir=/usr/share/man \
slaxemulator@9820 25 --sysconfdir=/etc \
slaxemulator@10324 26 --localstatedir=/var \
slaxemulator@10324 27 $CONFIGURE_ARGS &&
pascal@2135 28 make &&
slaxemulator@9820 29 make DESTDIR=$DESTDIR install
pascal@2135 30 }
pascal@2135 31
pascal@2135 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2135 33 genpkg_rules()
pascal@2135 34 {
pascal@2135 35 mkdir -p $fs/etc/init.d
pascal@15002 36 cp -a $install/* $fs
pascal@2135 37 ln -s /usr/sbin/ejabberdctl $fs/etc/init.d/ejabberd
pascal@2135 38 }
pascal@2135 39