wok-next annotate jabberd2/receipt @ rev 14771
gadmin-*: typos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 29 17:44:06 2013 +0200 (2013-06-29) |
parents | 4dc5578e0398 |
children | 7896f0694ef6 |
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@13573 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2139 | 10 WEB_SITE="http://$PACKAGE.xiaoka.com/" |
pascal@13573 | 11 WGET_URL="https://github.com/downloads/Jabberd2/$PACKAGE/$TARBALL" |
pascal@13572 | 12 CONFIG_FILES="/etc/jabberd" |
pascal@13572 | 13 TAGS="im instant-messaging server" |
pascal@13572 | 14 |
pascal@13574 | 15 DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3 perl" |
pascal@12435 | 16 BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev \ |
pascal@13573 | 17 zlib-dev db-dev openldap-dev postgresql mysql sqlite sqlite-dev expat-dev wget |
pascal@13573 | 18 cppunit-dev" |
pascal@2139 | 19 |
pascal@2139 | 20 # Rules to configure and make the package. |
pascal@2139 | 21 compile_rules() |
pascal@2139 | 22 { |
pascal@2139 | 23 cd $src |
pascal@13573 | 24 sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c |
pascal@10561 | 25 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer" |
pascal@13572 | 26 ./configure --prefix=/usr \ |
pascal@13572 | 27 --infodir=/usr/share/info \ |
pascal@13572 | 28 --enable-sqlite \ |
pascal@13572 | 29 --sysconfdir=/etc/jabberd \ |
pascal@13572 | 30 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2139 | 31 make && |
pascal@10561 | 32 make DESTDIR=$DESTDIR install |
pascal@2139 | 33 } |
pascal@2139 | 34 |
pascal@2139 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2139 | 36 genpkg_rules() |
pascal@2139 | 37 { |
pascal@2139 | 38 mkdir -p $fs/usr/lib/jabberd |
pascal@13572 | 39 cp -a $install/etc $fs |
pascal@13572 | 40 cp -a $install/usr/bin $fs/usr |
pascal@13572 | 41 cp -a $install/usr/lib/jabberd/*so* $fs/usr/lib/jabberd |
pascal@2139 | 42 } |
pascal@2139 | 43 |