wok view jabberd2/receipt @ rev 21070

updated jabberd2 again (2.2.16 -> 2.7.0)
author Hans-G?nter Theisgen
date Thu Mar 14 16:10:28 2019 +0100 (2019-03-14)
parents 875a3e740965
children 8319867b78ae
line source
1 # SliTaz package receipt.
3 PACKAGE="jabberd2"
4 VERSION="2.7.0"
5 CATEGORY="network"
6 TAGS="im instant-messaging server"
7 SHORT_DESC="XMPP server (real-time communication)."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://jabberd2.org/"
12 SOURCE="jabberd"
13 TARBALL="$SOURCE-$VERSION.tar.xz"
14 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$SOURCE-$VERSION/$TARBALL"
16 DEPENDS="expat gsasllibidn libcomerr3 libkrb5 openssl perl udns zlib"
17 BUILD_DEPENDS="cppunit-dev db-dev expat expat-dev gsasl gsasl-dev \
18 libidn-dev mysql openldap-dev openssl-dev postgresql \
19 sqlite sqlite-dev udns udns-dev zlib-dev"
20 CONFIG_FILES="/etc/jabberd"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c
26 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --enable-sqlite \
32 --sysconfdir=/etc/jabberd \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make -j 1 &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib/jabberd
44 cp -a $install/etc $fs
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/jabberd/*so* $fs/usr/lib/jabberd
47 }