wok-next diff spl/receipt @ rev 20322

Up TeXmacs (1.0.7.18), linux-dev (4.9.30)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 11 18:54:50 2017 +0100 (2017-11-11)
parents d247e85339a4
children 10df65db91ad
line diff
     1.1 --- a/spl/receipt	Tue Nov 07 14:03:40 2017 +0200
     1.2 +++ b/spl/receipt	Sat Nov 11 18:54:50 2017 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="spl"
     1.8 -VERSION="0.6.2"
     1.9 +VERSION="0.7.3"
    1.10  EXTRAVERSION="_$kvers"
    1.11  CATEGORY="system-tools"
    1.12  SHORT_DESC="Solaris Porting Layer for ZFS"
    1.13 @@ -9,10 +9,10 @@
    1.14  LICENSE="GPL2"
    1.15  WEB_SITE="http://zfsonlinux.org/"
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="http://archive.zfsonlinux.org/downloads/zfsonlinux/$PACKAGE/$TARBALL"
    1.18 +WGET_URL="https://github.com/zfsonlinux/zfs/releases/download/zfs-$VERSION/$TARBALL"
    1.19  
    1.20 -DEPENDS=""
    1.21 -BUILD_DEPENDS="linux-module-headers"
    1.22 +BUILD_DEPENDS="linux-module-headers xz"
    1.23 +SPLIT="spl-src"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27 @@ -28,7 +28,16 @@
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31 -	mkdir -p $fs/usr
    1.32 -	cp -a $install/usr/sbin $fs/usr
    1.33 -	cp -a $install/lib $fs
    1.34 +	case $PACKAGE in
    1.35 +	spl)
    1.36 +		mkdir -p $fs/usr
    1.37 +		cp -a $install/usr/sbin $fs/usr
    1.38 +		cp -a $install/lib $fs
    1.39 +		;;
    1.40 +	spl-src)
    1.41 +		CAT="system-tools|development files"
    1.42 +		mkdir -p $fs/usr
    1.43 +		cp -a $install/usr/src $fs/usr
    1.44 +		;;
    1.45 +	esac
    1.46  }