wok-current view ejabberd/receipt @ rev 5674
Add gammu (control cell phone lib)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 30 19:13:51 2010 +0200 (2010-05-30) |
parents | 337e51458e0f |
children | 3b2ae5a79c4b |
line source
1 # SliTaz package receipt.
3 PACKAGE="ejabberd"
4 VERSION="2.0.3"
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.$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"
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 --infodir=/usr/share/info \
21 --sysconfdir=/etc --localstatedir=/var \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/../_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/etc/init.d
31 cp -a $_pkg/* $fs
32 ln -s /usr/sbin/ejabberdctl $fs/etc/init.d/ejabberd
33 }