wok annotate ejabberd/receipt @ rev 14000
Up: emacs-pkg-lua-mode (20111107)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Feb 14 13:36:00 2013 +0100 (2013-02-14) |
parents | d4bca8766d1b |
children | 7896f0694ef6 |
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" |
slaxemulator@10324 | 11 CONFIG_FILES="/etc/ejabberd" |
slaxemulator@10324 | 12 TAGS="im instant-messaging server" |
slaxemulator@10324 | 13 |
pascal@2135 | 14 DEPENDS="erlang expat openssl zlib" |
pascal@2135 | 15 BUILD_DEPENDS="erlang expat-dev openssl-dev zlib-dev" |
pascal@2135 | 16 |
pascal@2135 | 17 # Rules to configure and make the package. |
pascal@2135 | 18 compile_rules() |
pascal@2135 | 19 { |
pascal@2135 | 20 cd $src/src |
slaxemulator@9820 | 21 ./configure --prefix=/usr \ |
slaxemulator@9820 | 22 --infodir=/usr/share/info \ |
slaxemulator@9820 | 23 --mandir=/usr/share/man \ |
slaxemulator@9820 | 24 --sysconfdir=/etc \ |
slaxemulator@10324 | 25 --localstatedir=/var \ |
slaxemulator@10324 | 26 $CONFIGURE_ARGS && |
pascal@2135 | 27 make && |
slaxemulator@9820 | 28 make DESTDIR=$DESTDIR install |
pascal@2135 | 29 } |
pascal@2135 | 30 |
pascal@2135 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2135 | 32 genpkg_rules() |
pascal@2135 | 33 { |
pascal@2135 | 34 mkdir -p $fs/etc/init.d |
pascal@2135 | 35 cp -a $_pkg/* $fs |
pascal@2135 | 36 ln -s /usr/sbin/ejabberdctl $fs/etc/init.d/ejabberd |
pascal@2135 | 37 } |
pascal@2135 | 38 |