wok-next diff libconfig/receipt @ rev 20189

Up mesa17 (17.2.4)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Nov 03 01:04:49 2017 +0100 (2017-11-03)
parents 2859e75177ae
children 0ec6086e21d6
line diff
     1.1 --- a/libconfig/receipt	Sat Nov 09 21:42:42 2013 +0000
     1.2 +++ b/libconfig/receipt	Fri Nov 03 01:04:49 2017 +0100
     1.3 @@ -1,33 +1,33 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libconfig"
     1.8 -VERSION="1.4.8"
     1.9 +VERSION="1.6"
    1.10  CATEGORY="misc"
    1.11  SHORT_DESC="C/C++ Configuration File Library"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14 +WEB_SITE="http://hyperrealm.com/libconfig/libconfig.html"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.hyperrealm.com/libconfig/"
    1.18 -WGET_URL="$WEB_SITE$TARBALL"
    1.19 +WGET_URL="https://github.com/hyperrealm/libconfig/archive/v$VERSION.tar.gz"
    1.20  
    1.21 -BUILD_DEPENDS=""
    1.22 -DEPENDS=""
    1.23 +BUILD_DEPENDS="texinfo"
    1.24 +SPLIT="libconfig-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.31 -	--mandir=/usr/share/man \
    1.32 -	--disable-cxx \
    1.33 -	$CONFIGURE_ARGS &&
    1.34 -	make &&
    1.35 -	make DESTDIR=$DESTDIR -j 1 install
    1.36 +	# See: https://github.com/hyperrealm/libconfig/issues/47
    1.37 +	rm lib/scanner.c
    1.38 +
    1.39 +	./configure $CONFIGURE_ARGS && make && make install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45 -	mkdir -p $fs/usr/lib
    1.46 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.47 +	case $PACKAGE in
    1.48 +		libconfig) copy @std;;
    1.49 +		*-dev)     copy @dev;;
    1.50 +	esac
    1.51  }