wok-current rev 2135

Add ejabberd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 03 11:36:29 2009 +0000 (2009-02-03)
parents 18b70bb26da3
children 315bb0da905d
files ejabberd/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ejabberd/receipt	Tue Feb 03 11:36:29 2009 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ejabberd"
     1.7 +VERSION="2.0.3"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="XMPP server (real-time communication)."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.$PACKAGE.im/"
    1.13 +WGET_URL="http://freshmeat.net/redir/$PACKAGE/56344/url_tgz/$TARBALL"
    1.14 +DEPENDS="erlang expat openssl zlib"
    1.15 +BUILD_DEPENDS="erlang expat-dev openssl-dev zlib-dev"
    1.16 +CONFIG_FILES="/etc/ejabberd"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src/src
    1.22 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.23 +	--sysconfdir=/etc --localstatedir=/var \
    1.24 +	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$PWD/../_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/etc/init.d
    1.33 +	cp -a $_pkg/* $fs
    1.34 +	ln -s /usr/sbin/ejabberdctl $fs/etc/init.d/ejabberd
    1.35 +}
    1.36 +