wok-6.x view jabberd2/receipt @ rev 23447

updated proj and proj-dev (6.1.0 -> 7.0.0)
author Hans-G?nter Theisgen
date Thu Apr 02 17:36:09 2020 +0100 (2020-04-02)
parents be8aec6476c2
children 86f5a6f059cb
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 gsasl libidn 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 # Removed for version 2.7.0:
26 # sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c
27 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --enable-sqlite \
33 --sysconfdir=/etc/jabberd \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 make -j 1 &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib/jabberd
45 cp -a $install/etc $fs
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib/jabberd/*so* $fs/usr/lib/jabberd
48 }