wok-4.x diff ejabberd/receipt @ rev 4172
Fix: python-nose FSH (no /usr/man)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Sep 22 21:12:59 2009 +0200 (2009-09-22) |
parents | |
children | 31c985a0bd3d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ejabberd/receipt Tue Sep 22 21:12:59 2009 +0200 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 +