wok-6.x annotate jabberd2/receipt @ rev 5277
lzma: add --version support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 16 10:18:15 2010 +0200 (2010-04-16) |
parents | 4466fa74bc06 |
children | 55aa8dd90011 |
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@2139 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2139 | 22 --sysconfdir=/etc/jabberd --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2139 | 23 make && |
pascal@2139 | 24 make DESTDIR=$PWD/_pkg install |
pascal@2139 | 25 } |
pascal@2139 | 26 |
pascal@2139 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2139 | 28 genpkg_rules() |
pascal@2139 | 29 { |
pascal@2139 | 30 mkdir -p $fs/usr/lib/jabberd |
pascal@2139 | 31 cp -a $_pkg/etc $fs |
pascal@2139 | 32 cp -a $_pkg/usr/bin $fs/usr |
pascal@2139 | 33 cp -a $_pkg/usr/lib/jabberd/*so* $fs/usr/lib/jabberd |
pascal@2139 | 34 } |
pascal@2139 | 35 |