wok-next rev 20297

Up spl (0.7.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 09 21:37:23 2017 +0100 (2017-11-09)
parents 4028bd407203
children a839d1581359
files spl-src/receipt spl/receipt
line diff
     1.1 --- a/spl-src/receipt	Thu Nov 09 04:59:37 2017 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,20 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="spl-src"
     1.7 -VERSION="0.6.2"
     1.8 -CATEGORY="system-tools"
     1.9 -SHORT_DESC="Solaris Porting LAyer for ZFS, development files."
    1.10 -MAINTAINER="pascal.bellard@slitaz.org"
    1.11 -LICENSE="GPL2"
    1.12 -WEB_SITE="http://zfsonlinux.org/"
    1.13 -WANTED="spl"
    1.14 -
    1.15 -DEPENDS=""
    1.16 -BUILD_DEPENDS=""
    1.17 -
    1.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 -genpkg_rules()
    1.20 -{
    1.21 -	mkdir -p $fs/usr
    1.22 -	cp -a $install/usr/src $fs/usr
    1.23 -}
     2.1 --- a/spl/receipt	Thu Nov 09 04:59:37 2017 +0200
     2.2 +++ b/spl/receipt	Thu Nov 09 21:37:23 2017 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="spl"
     2.8 -VERSION="0.6.2"
     2.9 +VERSION="0.7.3"
    2.10  EXTRAVERSION="_$kvers"
    2.11  CATEGORY="system-tools"
    2.12  SHORT_DESC="Solaris Porting Layer for ZFS"
    2.13 @@ -9,10 +9,10 @@
    2.14  LICENSE="GPL2"
    2.15  WEB_SITE="http://zfsonlinux.org/"
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17 -WGET_URL="http://archive.zfsonlinux.org/downloads/zfsonlinux/$PACKAGE/$TARBALL"
    2.18 +WGET_URL="https://github.com/zfsonlinux/zfs/releases/download/zfs-$VERSION/$TARBALL"
    2.19  
    2.20 -DEPENDS=""
    2.21 -BUILD_DEPENDS="linux-module-headers"
    2.22 +BUILD_DEPENDS="linux-module-headers xz"
    2.23 +SPLIT="spl-src"
    2.24  
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27 @@ -28,7 +28,16 @@
    2.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.29  genpkg_rules()
    2.30  {
    2.31 -	mkdir -p $fs/usr
    2.32 -	cp -a $install/usr/sbin $fs/usr
    2.33 -	cp -a $install/lib $fs
    2.34 +	case $PACKAGE in
    2.35 +	spl)
    2.36 +		mkdir -p $fs/usr
    2.37 +		cp -a $install/usr/sbin $fs/usr
    2.38 +		cp -a $install/lib $fs
    2.39 +		;;
    2.40 +	spl-src)
    2.41 +		CAT="system-tools|development files"
    2.42 +		mkdir -p $fs/usr
    2.43 +		cp -a $install/usr/src $fs/usr
    2.44 +		;;
    2.45 +	esac
    2.46  }