wok-next view jabberd2/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | d5aab818505e |
children | ee28ed2bfbee |
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="https://jabberd2.org/"
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 }