wok-next annotate jabberd2/receipt @ rev 20787

gpa: force rebuild (with space) -> cooker used older,local version of gpgme 1.9.0, now 1.11.1 available
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 08:55:33 2018 +0000 (2018-06-09)
parents d43bf7aae921
children df20b2110f7e
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/"
pascal@13572 10
al@20473 11 TARBALL="jabberd-$VERSION.tar.gz"
al@20473 12 WGET_URL="https://github.com/downloads/Jabberd2/jabberd2/$TARBALL"
al@20473 13
pascal@12435 14 BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev \
al@20473 15 zlib-dev db-dev openldap-dev postgresql mysql sqlite3 sqlite3-dev expat-dev \
al@20513 16 cppunit-dev"
pascal@2139 17
al@20473 18 compile_rules() {
pascal@13573 19 sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c
al@20473 20 CFLAGS="${CFLAGS/-Os/-O2}"
al@20473 21 ./configure \
al@20534 22 --sysconfdir=/etc/jabberd \
pascal@13572 23 --enable-sqlite \
al@20473 24 $CONFIGURE_ARGS &&
pascal@2139 25 make &&
pascal@10561 26 make DESTDIR=$DESTDIR install
pascal@2139 27 }
pascal@2139 28
al@20473 29 genpkg_rules() {
al@20473 30 copy @std
al@20473 31 DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3 perl"
al@20473 32 CONFIG_FILES="/etc/jabberd"
al@20473 33 TAGS="im instant-messaging server"
pascal@2139 34 }