wok view ejabberd/receipt @ rev 9820

ejabberd: Needs DESTDIR to be packaged.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 14 20:17:54 2011 +0000 (2011-05-14)
parents 3b2ae5a79c4b
children 42b844028fd8
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 DEPENDS="erlang expat openssl zlib"
12 BUILD_DEPENDS="erlang expat-dev openssl-dev zlib-dev"
13 CONFIG_FILES="/etc/ejabberd"
14 TAGS="im instant-messaging server"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/src
20 ./configure --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --sysconfdir=/etc \
24 --localstatedir=/var &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/etc/init.d
33 cp -a $_pkg/* $fs
34 ln -s /usr/sbin/ejabberdctl $fs/etc/init.d/ejabberd
35 }