wok 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 f1b179825d23
children 39c7317f9370
files jabberd2/receipt
line diff
     1.1 --- a/jabberd2/receipt	Thu Mar 14 14:44:27 2019 +0100
     1.2 +++ b/jabberd2/receipt	Thu Mar 14 15:45:54 2019 +0100
     1.3 @@ -1,35 +1,38 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="jabberd2"
     1.7 -VERSION="2.2.16"
     1.8 +VERSION="2.7.0"
     1.9  CATEGORY="network"
    1.10 +TAGS="im instant-messaging server"
    1.11  SHORT_DESC="XMPP server (real-time communication)."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://jabberd2.org/"
    1.15 +
    1.16  SOURCE="jabberd"
    1.17 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 -WEB_SITE="https://jabberd2.org/"
    1.19 -WGET_URL="https://github.com/downloads/Jabberd2/$PACKAGE/$TARBALL"
    1.20 +TARBALL="$SOURCE-$VERSION.tar.xz"
    1.21 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$SOURCE-$VERSION/$TARBALL"
    1.22 +
    1.23 +DEPENDS="expat gsasllibidn libcomerr3 libkrb5 openssl perl udns zlib"
    1.24 +BUILD_DEPENDS="cppunit-dev db-dev expat expat-dev gsasl gsasl-dev \
    1.25 +	libidn-dev mysql openldap-dev openssl-dev postgresql \
    1.26 +	sqlite sqlite-dev udns udns-dev zlib-dev"
    1.27  CONFIG_FILES="/etc/jabberd"
    1.28 -TAGS="im instant-messaging server"
    1.29 -
    1.30 -DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3 perl"
    1.31 -BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev \
    1.32 -zlib-dev db-dev openldap-dev postgresql mysql sqlite sqlite-dev expat-dev wget
    1.33 -cppunit-dev"
    1.34  
    1.35  # Rules to configure and make the package.
    1.36  compile_rules()
    1.37  {
    1.38 -	cd $src
    1.39  	sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c
    1.40  	CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
    1.41 -	./configure --prefix=/usr \
    1.42 -		--infodir=/usr/share/info \
    1.43 -		--enable-sqlite \
    1.44 -		--sysconfdir=/etc/jabberd \
    1.45 -		 --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.46 -	make &&
    1.47 +
    1.48 +	./configure
    1.49 +		--prefix=/usr			\
    1.50 +		--infodir=/usr/share/info	\
    1.51 +		--enable-sqlite			\
    1.52 +		--sysconfdir=/etc/jabberd	\
    1.53 +		--mandir=/usr/share/man		\
    1.54 +		$CONFIGURE_ARGS &&
    1.55 +	make -j 1 &&
    1.56  	make DESTDIR=$DESTDIR install
    1.57  }
    1.58  
    1.59 @@ -37,8 +40,8 @@
    1.60  genpkg_rules()
    1.61  {
    1.62  	mkdir -p $fs/usr/lib/jabberd
    1.63 -	cp -a $install/etc $fs
    1.64 -	cp -a $install/usr/bin $fs/usr
    1.65 -	cp -a $install/usr/lib/jabberd/*so* $fs/usr/lib/jabberd
    1.66 +
    1.67 +	cp -a $install/etc			$fs
    1.68 +	cp -a $install/usr/bin			$fs/usr
    1.69 +	cp -a $install/usr/lib/jabberd/*so*	$fs/usr/lib/jabberd
    1.70  }
    1.71 -