wok-6.x annotate jabberd2/receipt @ rev 3920

linux*: fix list_modules.sh path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 18 21:01:42 2009 +0200 (2009-08-18)
parents
children 4466fa74bc06
rev   line source
pascal@2139 1 # SliTaz package receipt.
pascal@2139 2
pascal@2139 3 PACKAGE="jabberd2"
pascal@2139 4 VERSION="2.2.5"
pascal@2139 5 CATEGORY="network"
pascal@2139 6 SHORT_DESC="XMPP server (real-time communication)."
pascal@2139 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2139 8 SOURCE="jabberd"
pascal@2139 9 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@2139 10 WEB_SITE="http://$PACKAGE.xiaoka.com/"
pascal@2139 11 WGET_URL="http://ftp.xiaoka.com/$PACKAGE/releases/$TARBALL"
pascal@2139 12 DEPENDS="expat gsasl udns libidn zlib openssl"
pascal@2139 13 BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev zlib-dev db-dev openldap-dev postgresql mysql sqlite"
pascal@2139 14 CONFIG_FILES="/etc/jabberd"
pascal@2139 15
pascal@2139 16 # Rules to configure and make the package.
pascal@2139 17 compile_rules()
pascal@2139 18 {
pascal@2139 19 cd $src
pascal@2139 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@2139 21 --sysconfdir=/etc/jabberd --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2139 22 make &&
pascal@2139 23 make DESTDIR=$PWD/_pkg install
pascal@2139 24 }
pascal@2139 25
pascal@2139 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2139 27 genpkg_rules()
pascal@2139 28 {
pascal@2139 29 mkdir -p $fs/usr/lib/jabberd
pascal@2139 30 cp -a $_pkg/etc $fs
pascal@2139 31 cp -a $_pkg/usr/bin $fs/usr
pascal@2139 32 cp -a $_pkg/usr/lib/jabberd/*so* $fs/usr/lib/jabberd
pascal@2139 33 }
pascal@2139 34