wok-next annotate jabberd2/receipt @ rev 20891
cookutils: up (1085); syslinux: remove docs
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jul 19 18:27:17 2018 +0300 (2018-07-19) |
parents | 757d032c55c7 |
children | d5aab818505e |
rev | line source |
---|---|
al@20473 | 1 # SliTaz package receipt v2. |
pascal@2139 | 2 |
pascal@2139 | 3 PACKAGE="jabberd2" |
pascal@13572 | 4 VERSION="2.2.16" |
pascal@2139 | 5 CATEGORY="network" |
al@20473 | 6 SHORT_DESC="XMPP server (real-time communication)" |
pascal@2139 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@20473 | 9 WEB_SITE="http://jabberd2.xiaoka.com/" |
al@20883 | 10 REPOLOGY="jabberd" |
pascal@13572 | 11 |
al@20473 | 12 TARBALL="jabberd-$VERSION.tar.gz" |
al@20473 | 13 WGET_URL="https://github.com/downloads/Jabberd2/jabberd2/$TARBALL" |
al@20473 | 14 |
pascal@12435 | 15 BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev \ |
al@20473 | 16 zlib-dev db-dev openldap-dev postgresql mysql sqlite3 sqlite3-dev expat-dev \ |
al@20513 | 17 cppunit-dev" |
pascal@2139 | 18 |
al@20473 | 19 compile_rules() { |
pascal@13573 | 20 sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c |
al@20473 | 21 CFLAGS="${CFLAGS/-Os/-O2}" |
al@20473 | 22 ./configure \ |
al@20534 | 23 --sysconfdir=/etc/jabberd \ |
pascal@13572 | 24 --enable-sqlite \ |
al@20473 | 25 $CONFIGURE_ARGS && |
pascal@2139 | 26 make && |
pascal@10561 | 27 make DESTDIR=$DESTDIR install |
pascal@2139 | 28 } |
pascal@2139 | 29 |
al@20473 | 30 genpkg_rules() { |
al@20473 | 31 copy @std |
al@20473 | 32 DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3 perl" |
al@20473 | 33 CONFIG_FILES="/etc/jabberd" |
al@20473 | 34 TAGS="im instant-messaging server" |
pascal@2139 | 35 } |