wok-current annotate jabberd2/receipt @ rev 19498
Up slitaz-base-files(315); slitaz-i18n: add "fa" locale
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 17 01:50:52 2016 +0200 (2016-11-17) |
parents | e4bb3613df48 |
children | 20661c276bcf |
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@15002 | 8 LICENSE="GPL2" |
pascal@2139 | 9 SOURCE="jabberd" |
pascal@13573 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2139 | 11 WEB_SITE="http://$PACKAGE.xiaoka.com/" |
pascal@13573 | 12 WGET_URL="https://github.com/downloads/Jabberd2/$PACKAGE/$TARBALL" |
pascal@13572 | 13 CONFIG_FILES="/etc/jabberd" |
pascal@13572 | 14 TAGS="im instant-messaging server" |
pascal@13572 | 15 |
pascal@13574 | 16 DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3 perl" |
pascal@12435 | 17 BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev \ |
pascal@13573 | 18 zlib-dev db-dev openldap-dev postgresql mysql sqlite sqlite-dev expat-dev wget |
pascal@13573 | 19 cppunit-dev" |
pascal@2139 | 20 |
pascal@2139 | 21 # Rules to configure and make the package. |
pascal@2139 | 22 compile_rules() |
pascal@2139 | 23 { |
pascal@2139 | 24 cd $src |
pascal@13573 | 25 sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c |
pascal@10561 | 26 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer" |
pascal@13572 | 27 ./configure --prefix=/usr \ |
pascal@13572 | 28 --infodir=/usr/share/info \ |
pascal@13572 | 29 --enable-sqlite \ |
pascal@13572 | 30 --sysconfdir=/etc/jabberd \ |
pascal@13572 | 31 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2139 | 32 make && |
pascal@10561 | 33 make DESTDIR=$DESTDIR install |
pascal@2139 | 34 } |
pascal@2139 | 35 |
pascal@2139 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2139 | 37 genpkg_rules() |
pascal@2139 | 38 { |
pascal@2139 | 39 mkdir -p $fs/usr/lib/jabberd |
pascal@13572 | 40 cp -a $install/etc $fs |
pascal@13572 | 41 cp -a $install/usr/bin $fs/usr |
pascal@13572 | 42 cp -a $install/usr/lib/jabberd/*so* $fs/usr/lib/jabberd |
pascal@2139 | 43 } |
pascal@2139 | 44 |