wok-6.x annotate ejabberd/receipt @ rev 7004
Up: slitaz-tools-boxes (3.9.1)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Oct 31 17:03:51 2010 +0100 (2010-10-31) |
parents | 337e51458e0f |
children | 3b2ae5a79c4b |
rev | line source |
---|---|
pascal@2135 | 1 # SliTaz package receipt. |
pascal@2135 | 2 |
pascal@2135 | 3 PACKAGE="ejabberd" |
pascal@2135 | 4 VERSION="2.0.3" |
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" |
pascal@2135 | 9 WEB_SITE="http://www.$PACKAGE.im/" |
pascal@2135 | 10 WGET_URL="http://freshmeat.net/redir/$PACKAGE/56344/url_tgz/$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 |
pascal@2135 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2135 | 21 --sysconfdir=/etc --localstatedir=/var \ |
pascal@2135 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2135 | 23 make && |
pascal@2135 | 24 make DESTDIR=$PWD/../_pkg install |
pascal@2135 | 25 } |
pascal@2135 | 26 |
pascal@2135 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2135 | 28 genpkg_rules() |
pascal@2135 | 29 { |
pascal@2135 | 30 mkdir -p $fs/etc/init.d |
pascal@2135 | 31 cp -a $_pkg/* $fs |
pascal@2135 | 32 ln -s /usr/sbin/ejabberdctl $fs/etc/init.d/ejabberd |
pascal@2135 | 33 } |
pascal@2135 | 34 |