wok-next rev 20158

lz4: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 16:59:12 2017 +0100 (2017-11-01)
parents d0fd62e2e1b2
children 2e9c640c058b
files lz4-dev/receipt lz4-lib/receipt lz4/receipt lz4c/receipt
line diff
     1.1 --- a/lz4-dev/receipt	Wed Nov 01 16:53:21 2017 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,18 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="lz4-dev"
     1.7 -VERSION="1.7.5"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="LZ4 development files."
    1.10 -MAINTAINER="pascal.bellard@slitaz.org"
    1.11 -LICENSE="BSD"
    1.12 -WEB_SITE="http://lz4.github.io/lz4/"
    1.13 -
    1.14 -WANTED="lz4"
    1.15 -DEPENDS="pkg-config lz4-lib"
    1.16 -
    1.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 -genpkg_rules()
    1.19 -{
    1.20 -	copy *.h *.a *.pc
    1.21 -}
     2.1 --- a/lz4-lib/receipt	Wed Nov 01 16:53:21 2017 +0100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,17 +0,0 @@
     2.4 -# SliTaz package receipt.
     2.5 -
     2.6 -PACKAGE="lz4-lib"
     2.7 -VERSION="1.7.5"
     2.8 -CATEGORY="base-system"
     2.9 -SHORT_DESC="The lz4c compressor shared library"
    2.10 -MAINTAINER="pascal.bellard@slitaz.org"
    2.11 -LICENSE="BSD"
    2.12 -WEB_SITE="http://lz4.github.io/lz4/"
    2.13 -
    2.14 -WANTED="lz4"
    2.15 -
    2.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.17 -genpkg_rules()
    2.18 -{
    2.19 -	copy *.so*
    2.20 -}
     3.1 --- a/lz4/receipt	Wed Nov 01 16:53:21 2017 +0100
     3.2 +++ b/lz4/receipt	Wed Nov 01 16:59:12 2017 +0100
     3.3 @@ -12,7 +12,7 @@
     3.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     3.5  WGET_URL="$GITHUB/lz4/lz4/tarball/v$VERSION"
     3.6  
     3.7 -SPLIT="lz4-lib lz4c"
     3.8 +SPLIT="lz4 lz4-dev lz4-lib lz4c"
     3.9  
    3.10  # Rules to configure and make the package.
    3.11  compile_rules()
    3.12 @@ -23,5 +23,22 @@
    3.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.14  genpkg_rules()
    3.15  {
    3.16 -	copy lz4 unlz4 lz4cat
    3.17 +	case $PACKAGE in
    3.18 +	lz4)
    3.19 +		copy lz4 unlz4 lz4cat
    3.20 +		;;
    3.21 +	lz4c)
    3.22 +		CAT="base-system|The lz4c compressor"
    3.23 +		copy lz4c
    3.24 +		;;
    3.25 +	lz4-dev)
    3.26 +		CAT="development|LZ4 development files."
    3.27 +		DEPENDS="pkg-config lz4-lib"
    3.28 +		copy *.h *.a *.pc
    3.29 +		;;
    3.30 +	lz4-lib)
    3.31 +		CAT="base-system|The lz4c compressor shared library"
    3.32 +		copy *.so*
    3.33 +		;;
    3.34 +	esac
    3.35  }
     4.1 --- a/lz4c/receipt	Wed Nov 01 16:53:21 2017 +0100
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,17 +0,0 @@
     4.4 -# SliTaz package receipt.
     4.5 -
     4.6 -PACKAGE="lz4c"
     4.7 -VERSION="1.7.5"
     4.8 -CATEGORY="base-system"
     4.9 -SHORT_DESC="The lz4c compressor"
    4.10 -MAINTAINER="pascal.bellard@slitaz.org"
    4.11 -LICENSE="BSD"
    4.12 -WEB_SITE="http://lz4.github.io/lz4/"
    4.13 -
    4.14 -WANTED="lz4"
    4.15 -
    4.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.17 -genpkg_rules()
    4.18 -{
    4.19 -	copy lz4c
    4.20 -}