wok-next diff iniparser/receipt @ rev 20854

Add xa, libicns; up vice (3.2)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 26 14:16:09 2018 +0300 (2018-06-26)
parents de49f29b101e
children 315a1dc02606
line diff
     1.1 --- a/iniparser/receipt	Thu Dec 05 15:25:09 2013 +0000
     1.2 +++ b/iniparser/receipt	Tue Jun 26 14:16:09 2018 +0300
     1.3 @@ -1,27 +1,35 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="iniparser"
     1.8 -VERSION="3.1"
     1.9 +VERSION="4.1"
    1.10  CATEGORY="system-tools"
    1.11 -SHORT_DESC="Free stand-alone ini file parsing library."
    1.12 +SHORT_DESC="Free stand-alone ini file parsing library"
    1.13  MAINTAINER="erjo@slitaz.org"
    1.14  LICENSE="MIT"
    1.15  WEB_SITE="http://ndevilla.free.fr/iniparser/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WGET_URL="http://ndevilla.free.fr/iniparser/$TARBALL"
    1.19 +WGET_URL="https://github.com/ndevilla/iniparser/archive/v$VERSION.tar.gz"
    1.20  
    1.21 -DEPENDS=""
    1.22 -BUILD_DEPENDS=""
    1.23 +SPLIT="iniparser-dev"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	make
    1.29 +compile_rules() {
    1.30 +	make || return 1
    1.31 +
    1.32 +	mkdir -p $install/usr/lib $install/usr/include
    1.33 +	cp -a *.so*   $install/usr/lib
    1.34 +	cp    *.*a    $install/usr/lib
    1.35 +	cp    src/*.h $install/usr/include
    1.36 +	cook_pick_docs html/ AUTHORS README.md LICENSE FAQ*
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	mkdir -p $fs/usr/lib
    1.43 -	cp -a $src/*.so* $fs/usr/lib
    1.44 +genpkg_rules() {
    1.45 +	case $PACKAGE in
    1.46 +		iniparser)
    1.47 +			copy @std
    1.48 +			;;
    1.49 +		*-dev)
    1.50 +			copy @dev
    1.51 +			;;
    1.52 +	esac
    1.53  }