wok-current view ejabberd/receipt @ rev 15936

UP: soprano (2.8.0) and fix build depends
author Christophe Lincoln <pankso@slitaz.org>
date Sat Feb 22 11:27:57 2014 +0100 (2014-02-22)
parents 42b844028fd8
children 8dd8bab3f0ca
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.ejabberb.im/"
11 WGET_URL="http://www.process-one.net/downloads/$PACKAGE/$VERSION/$TARBALL"
12 CONFIG_FILES="/etc/ejabberd"
13 TAGS="im instant-messaging server"
15 DEPENDS="erlang expat openssl zlib"
16 BUILD_DEPENDS="erlang expat-dev openssl-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src/src
22 ./configure --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --sysconfdir=/etc \
26 --localstatedir=/var \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/etc/init.d
36 cp -a $install/* $fs
37 ln -s /usr/sbin/ejabberdctl $fs/etc/init.d/ejabberd
38 }