wok rev 21156

updated libconfig and libconfig-dev (1.4.8 -> 1.7.2)
author Hans-G?nter Theisgen
date Sat Mar 30 16:22:55 2019 +0100 (2019-03-30)
parents e98e0b9d9b66
children 7a0735348d6c
files libconfig-dev/receipt libconfig/receipt
line diff
     1.1 --- a/libconfig-dev/receipt	Sat Mar 30 15:57:49 2019 +0100
     1.2 +++ b/libconfig-dev/receipt	Sat Mar 30 16:22:55 2019 +0100
     1.3 @@ -1,21 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libconfig-dev"
     1.7 -VERSION="1.4.8"
     1.8 +VERSION="1.7.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="C/C++ Configuration File Library, development files"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="LGPL2.1"
    1.13 -WEB_SITE="http://www.hyperrealm.com/libconfig/"
    1.14 +WEB_SITE="https://www.hyperrealm.com/libconfig/"
    1.15 +
    1.16  WANTED="libconfig"
    1.17 -
    1.18  DEPENDS="libconfig pkg-config"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23  	mkdir -p $fs/usr/lib
    1.24 -	cp -a $install/usr/include $fs/usr
    1.25 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.26 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.27 +
    1.28 +	cp -a $install/usr/include		$fs/usr
    1.29 +	cp -a $install/usr/lib/*a		$fs/usr/lib
    1.30 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.31  }
     2.1 --- a/libconfig/receipt	Sat Mar 30 15:57:49 2019 +0100
     2.2 +++ b/libconfig/receipt	Sat Mar 30 16:22:55 2019 +0100
     2.3 @@ -1,27 +1,30 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libconfig"
     2.7 -VERSION="1.4.8"
     2.8 +VERSION="1.7.2"
     2.9  CATEGORY="misc"
    2.10 -SHORT_DESC="C/C++ Configuration File Library"
    2.11 +SHORT_DESC="C/C++ Configuration File Library."
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13  LICENSE="LGPL2.1"
    2.14 +WEB_SITE="https://www.hyperrealm.com/libconfig/"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17 -WEB_SITE="http://www.hyperrealm.com/libconfig/"
    2.18 -WGET_URL="$WEB_SITE$TARBALL"
    2.19 +WGET_URL="https://github.com/hyperrealm/$PACKAGE/archive/v$VERSION.tar.gz"
    2.20  
    2.21 -BUILD_DEPENDS=""
    2.22  DEPENDS=""
    2.23 +BUILD_DEPENDS="automake"
    2.24  
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 -	cd $src
    2.29 -	./configure --prefix=/usr --infodir=/usr/share/info \
    2.30 -	--mandir=/usr/share/man \
    2.31 -	--disable-cxx \
    2.32 -	$CONFIGURE_ARGS &&
    2.33 -	make &&
    2.34 +	autoreconf
    2.35 +	./configure				\
    2.36 +		--prefix=/usr			\
    2.37 +		--infodir=/usr/share/info	\
    2.38 +		--mandir=/usr/share/man		\
    2.39 +		--disable-cxx			\
    2.40 +		$CONFIGURE_ARGS &&
    2.41 +	make -j 1 &&
    2.42  	make DESTDIR=$DESTDIR -j 1 install
    2.43  }
    2.44