wok view ejabberd/receipt @ rev 14683

elementary-dev: Up to 1.7.7
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:09:10 2013 +0200 (2013-06-06)
parents d4bca8766d1b
children 7896f0694ef6
line source
1 # SliTaz package receipt.
3 PACKAGE="ejabberd"
4 VERSION="2.1.6"
5 CATEGORY="network"
6 SHORT_DESC="Jabber/XMPP instant messaging server (real-time communication)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.ejabberb.im/"
10 WGET_URL="http://www.process-one.net/downloads/$PACKAGE/$VERSION/$TARBALL"
11 CONFIG_FILES="/etc/ejabberd"
12 TAGS="im instant-messaging server"
14 DEPENDS="erlang expat openssl zlib"
15 BUILD_DEPENDS="erlang expat-dev openssl-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/src
21 ./configure --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/etc/init.d
35 cp -a $_pkg/* $fs
36 ln -s /usr/sbin/ejabberdctl $fs/etc/init.d/ejabberd
37 }