wok view ejabberd/receipt @ rev 4781

Fix: amule DEPENDS (Bug #227).
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jan 14 22:19:54 2010 +0100 (2010-01-14)
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 }