wok annotate jabberd2/receipt @ rev 13572

Up jabberd2 (2.2.16)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 04 18:18:29 2012 +0100 (2012-11-04)
parents 36ce75e50e26
children 4dc5578e0398
rev   line source
pascal@2139 1 # SliTaz package receipt.
pascal@2139 2
pascal@2139 3 PACKAGE="jabberd2"
pascal@13572 4 VERSION="2.2.16"
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@13572 12 CONFIG_FILES="/etc/jabberd"
pascal@13572 13 TAGS="im instant-messaging server"
pascal@13572 14
pascal@5002 15 DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3"
pascal@12435 16 BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev \
pascal@13572 17 zlib-dev db-dev openldap-dev postgresql mysql sqlite sqlite-dev expat-dev"
pascal@2139 18
pascal@2139 19 # Rules to configure and make the package.
pascal@2139 20 compile_rules()
pascal@2139 21 {
pascal@2139 22 cd $src
pascal@10561 23 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
pascal@13572 24 ./configure --prefix=/usr \
pascal@13572 25 --infodir=/usr/share/info \
pascal@13572 26 --enable-sqlite \
pascal@13572 27 --sysconfdir=/etc/jabberd \
pascal@13572 28 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2139 29 make &&
pascal@10561 30 make DESTDIR=$DESTDIR install
pascal@2139 31 }
pascal@2139 32
pascal@2139 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2139 34 genpkg_rules()
pascal@2139 35 {
pascal@2139 36 mkdir -p $fs/usr/lib/jabberd
pascal@13572 37 cp -a $install/etc $fs
pascal@13572 38 cp -a $install/usr/bin $fs/usr
pascal@13572 39 cp -a $install/usr/lib/jabberd/*so* $fs/usr/lib/jabberd
pascal@2139 40 }
pascal@2139 41