wok diff libconfuse/receipt @ rev 21163

updated libconfuse (2.7 -> 3.2.2)
author Hans-G?nter Theisgen
date Sun Mar 31 15:59:56 2019 +0100 (2019-03-31)
parents 6c3718ca17b6
children 632bede32429
line diff
     1.1 --- a/libconfuse/receipt	Sat Nov 09 17:34:23 2013 +0000
     1.2 +++ b/libconfuse/receipt	Sun Mar 31 15:59:56 2019 +0100
     1.3 @@ -1,37 +1,41 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libconfuse"
     1.7 -SOURCE="confuse"
     1.8 -VERSION="2.7"
     1.9 +VERSION="3.2.2"
    1.10  CATEGORY="misc"
    1.11  SHORT_DESC="Configuration file parser library."
    1.12  MAINTAINER="mallory@sweetpeople.org"
    1.13  LICENSE="ISC"
    1.14 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15  WEB_SITE="http://www.nongnu.org/confuse/"
    1.16 -WGET_URL="http://savannah.nongnu.org/download/$SOURCE/$TARBALL"
    1.17 +
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19 +WGET_URL="https://github.com/martinh/$PACKAGE/archive/v$VERSION.tar.gz"
    1.20  
    1.21  DEPENDS=""
    1.22 +BUILD_DEPENDS="automake"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	cd $src
    1.28 -	./configure \
    1.29 -		--prefix=/usr \
    1.30 -		--infodir=/usr/share/info \
    1.31 -		--mandir=/usr/share/man \
    1.32 +	./autogen.sh &&
    1.33 +	./configure				\
    1.34 +		--prefix=/usr			\
    1.35 +		--infodir=/usr/share/info	\
    1.36 +		--mandir=/usr/share/man		\
    1.37  		$CONFIGURE_ARGS
    1.38 +
    1.39  	sed -i 's/ -Werror//' src/Makefile
    1.40 -	make && make DESTDIR=$DESTDIR install
    1.41 +
    1.42 +	make -j 1 &&
    1.43 +	make DESTDIR=$DESTDIR install
    1.44  }
    1.45  
    1.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.47  genpkg_rules()
    1.48  {
    1.49  	mkdir -p $fs/usr/lib
    1.50 -	cp -a $install/usr/include $fs/usr
    1.51 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.52 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.53 +
    1.54 +	cp -a $install/usr/include		$fs/usr
    1.55 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.56 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.57  }
    1.58 -