wok-current annotate jabberd2/receipt @ rev 21069

updated jabberd2 (2.2.16 -> 2.7.0)
author Hans-G?nter Theisgen
date Thu Mar 14 15:45:54 2019 +0100 (2019-03-14)
parents 20661c276bcf
children 39c7317f9370
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
Hans-G?nter@21069 16 DEPENDS="expat gsasllibidn 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"
pascal@13572 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 {
pascal@13573 25 sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c
pascal@10561 26 CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
Hans-G?nter@21069 27
Hans-G?nter@21069 28 ./configure
Hans-G?nter@21069 29 --prefix=/usr \
Hans-G?nter@21069 30 --infodir=/usr/share/info \
Hans-G?nter@21069 31 --enable-sqlite \
Hans-G?nter@21069 32 --sysconfdir=/etc/jabberd \
Hans-G?nter@21069 33 --mandir=/usr/share/man \
Hans-G?nter@21069 34 $CONFIGURE_ARGS &&
Hans-G?nter@21069 35 make -j 1 &&
pascal@10561 36 make DESTDIR=$DESTDIR install
pascal@2139 37 }
pascal@2139 38
pascal@2139 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2139 40 genpkg_rules()
pascal@2139 41 {
pascal@2139 42 mkdir -p $fs/usr/lib/jabberd
Hans-G?nter@21069 43
Hans-G?nter@21069 44 cp -a $install/etc $fs
Hans-G?nter@21069 45 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21069 46 cp -a $install/usr/lib/jabberd/*so* $fs/usr/lib/jabberd
pascal@2139 47 }