wok-stable annotate jabberd2/receipt @ rev 12169
pcmcia-cis removed: cis files are now part of linux-firmware
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Mar 22 20:33:09 2012 +0100 (2012-03-22) |
parents | 8d3f3ded1725 |
children | 28ba3ac5e889 |
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@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" |
jozee@4941 | 15 TAGS="im instant-messaging server" |
pascal@2139 | 16 |
pascal@2139 | 17 # Rules to configure and make the package. |
pascal@2139 | 18 compile_rules() |
pascal@2139 | 19 { |
pascal@2139 | 20 cd $src |
pascal@10561 | 21 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer" |
pascal@2139 | 22 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2139 | 23 --sysconfdir=/etc/jabberd --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2139 | 24 make && |
pascal@10561 | 25 make DESTDIR=$DESTDIR install |
pascal@2139 | 26 } |
pascal@2139 | 27 |
pascal@2139 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2139 | 29 genpkg_rules() |
pascal@2139 | 30 { |
pascal@2139 | 31 mkdir -p $fs/usr/lib/jabberd |
pascal@2139 | 32 cp -a $_pkg/etc $fs |
pascal@2139 | 33 cp -a $_pkg/usr/bin $fs/usr |
pascal@2139 | 34 cp -a $_pkg/usr/lib/jabberd/*so* $fs/usr/lib/jabberd |
pascal@2139 | 35 } |
pascal@2139 | 36 |