wok-current rev 2139
Add jabberd2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 03 17:07:11 2009 +0000 (2009-02-03) |
parents | 4c0f69a92618 |
children | 27c64029013c |
files | jabberd2/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/jabberd2/receipt Tue Feb 03 17:07:11 2009 +0000 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="jabberd2" 1.7 +VERSION="2.2.5" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="XMPP server (real-time communication)." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +SOURCE="jabberd" 1.12 +TARBALL="$SOURCE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://$PACKAGE.xiaoka.com/" 1.14 +WGET_URL="http://ftp.xiaoka.com/$PACKAGE/releases/$TARBALL" 1.15 +DEPENDS="expat gsasl udns libidn zlib openssl" 1.16 +BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev zlib-dev db-dev openldap-dev postgresql mysql sqlite" 1.17 +CONFIG_FILES="/etc/jabberd" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.24 + --sysconfdir=/etc/jabberd --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/usr/lib/jabberd 1.33 + cp -a $_pkg/etc $fs 1.34 + cp -a $_pkg/usr/bin $fs/usr 1.35 + cp -a $_pkg/usr/lib/jabberd/*so* $fs/usr/lib/jabberd 1.36 +} 1.37 +