wok-next diff spl/receipt @ rev 20821
perl-task-weaken: update $WGET_URL
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 14 00:03:13 2018 +0300 (2018-06-14) |
parents | 5609d4188484 |
children | d5aab818505e |
line diff
1.1 --- a/spl/receipt Thu Nov 09 21:37:23 2017 +0100 1.2 +++ b/spl/receipt Thu Jun 14 00:03:13 2018 +0300 1.3 @@ -8,36 +8,30 @@ 1.4 MAINTAINER="pascal.bellard@slitaz.org" 1.5 LICENSE="GPL2" 1.6 WEB_SITE="http://zfsonlinux.org/" 1.7 + 1.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 WGET_URL="https://github.com/zfsonlinux/zfs/releases/download/zfs-$VERSION/$TARBALL" 1.10 1.11 BUILD_DEPENDS="linux-module-headers xz" 1.12 -SPLIT="spl-src" 1.13 +SPLIT="spl-src spl" 1.14 1.15 -# Rules to configure and make the package. 1.16 -compile_rules() 1.17 -{ 1.18 - ./configure --prefix=/usr \ 1.19 - --mandir=/usr/share/man \ 1.20 +compile_rules() { 1.21 + ./configure \ 1.22 --with-linux=/usr/src/linux \ 1.23 - $CONFIGURE_ARGS && 1.24 + $CONFIGURE_ARGS && 1.25 + fix libtool && 1.26 make && 1.27 make DESTDIR=$DESTDIR install 1.28 } 1.29 1.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 -genpkg_rules() 1.32 -{ 1.33 +genpkg_rules() { 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 + spl-src) 1.46 + copy /usr/src/ 1.47 + CAT="system-tools|development files" 1.48 + ;; 1.49 + spl) 1.50 + copy @std @rm 1.51 + ;; 1.52 esac 1.53 }