wok-next view jabberd2/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | d43bf7aae921 |
children | df20b2110f7e |
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/"
11 TARBALL="jabberd-$VERSION.tar.gz"
12 WGET_URL="https://github.com/downloads/Jabberd2/jabberd2/$TARBALL"
14 BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev \
15 zlib-dev db-dev openldap-dev postgresql mysql sqlite3 sqlite3-dev expat-dev \
16 cppunit-dev"
18 compile_rules() {
19 sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c
20 CFLAGS="${CFLAGS/-Os/-O2}"
21 ./configure \
22 --sysconfdir=/etc/jabberd \
23 --enable-sqlite \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 genpkg_rules() {
30 copy @std
31 DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3 perl"
32 CONFIG_FILES="/etc/jabberd"
33 TAGS="im instant-messaging server"
34 }