wok-next annotate jabberd2/receipt @ rev 13155
zerobin: avoid some PHP notices
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 16 13:18:48 2012 +0200 (2012-07-16) |
parents | 55aa8dd90011 |
children | 90f1623aac5e |
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@5002 | 12 DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3" |
pascal@12435 | 13 BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev \ |
pascal@12435 | 14 zlib-dev db-dev openldap-dev postgresql mysql sqlite expat-dev" |
pascal@2139 | 15 CONFIG_FILES="/etc/jabberd" |
jozee@4941 | 16 TAGS="im instant-messaging server" |
pascal@2139 | 17 |
pascal@2139 | 18 # Rules to configure and make the package. |
pascal@2139 | 19 compile_rules() |
pascal@2139 | 20 { |
pascal@2139 | 21 cd $src |
pascal@10561 | 22 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer" |
pascal@2139 | 23 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2139 | 24 --sysconfdir=/etc/jabberd --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2139 | 25 make && |
pascal@10561 | 26 make DESTDIR=$DESTDIR install |
pascal@2139 | 27 } |
pascal@2139 | 28 |
pascal@2139 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2139 | 30 genpkg_rules() |
pascal@2139 | 31 { |
pascal@2139 | 32 mkdir -p $fs/usr/lib/jabberd |
pascal@2139 | 33 cp -a $_pkg/etc $fs |
pascal@2139 | 34 cp -a $_pkg/usr/bin $fs/usr |
pascal@2139 | 35 cp -a $_pkg/usr/lib/jabberd/*so* $fs/usr/lib/jabberd |
pascal@2139 | 36 } |
pascal@2139 | 37 |