wok-next view jabberd2/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | df20b2110f7e |
children | 89617d35ca0c |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="jabberd2"
4 VERSION="2.2.16"
5 CATEGORY="network"
6 SHORT_DESC="XMPP server (real-time communication)"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://jabberd2.xiaoka.com/"
10 REPOLOGY="jabberd"
12 TARBALL="jabberd-$VERSION.tar.gz"
13 WGET_URL="https://github.com/downloads/Jabberd2/jabberd2/$TARBALL"
15 BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev \
16 zlib-dev db-dev openldap-dev postgresql mysql sqlite3 sqlite3-dev expat-dev \
17 cppunit-dev"
19 compile_rules() {
20 sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c
21 CFLAGS="${CFLAGS/-Os/-O2}"
22 ./configure \
23 --sysconfdir=/etc/jabberd \
24 --enable-sqlite \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$install install
28 }
30 genpkg_rules() {
31 copy @std
32 DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3 perl"
33 CONFIG_FILES="/etc/jabberd"
34 TAGS="im instant-messaging server"
35 }