wok-stable view ejabberd/receipt @ rev 4298
Up: lftp (4.0.2)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Sep 26 22:33:37 2009 +0000 (2009-09-26) |
parents | |
children | 31c985a0bd3d |
line source
1 # SliTaz package receipt.
3 PACKAGE="ejabberd"
4 VERSION="2.0.3"
5 CATEGORY="network"
6 SHORT_DESC="XMPP server (real-time communication)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.$PACKAGE.im/"
10 WGET_URL="http://freshmeat.net/redir/$PACKAGE/56344/url_tgz/$TARBALL"
11 DEPENDS="erlang expat openssl zlib"
12 BUILD_DEPENDS="erlang expat-dev openssl-dev zlib-dev"
13 CONFIG_FILES="/etc/ejabberd"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src/src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --sysconfdir=/etc --localstatedir=/var \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/../_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/etc/init.d
30 cp -a $_pkg/* $fs
31 ln -s /usr/sbin/ejabberdctl $fs/etc/init.d/ejabberd
32 }