wok-6.x annotate jabberd2/receipt @ rev 21297

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