wok annotate spl/receipt @ rev 25577
Up nimrod (1.6.12) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 13 18:02:59 2023 +0000 (18 months ago) |
parents | 57d118eb479c |
children | 0262035dc1e7 |
rev | line source |
---|---|
pascal@15875 | 1 # SliTaz package receipt. |
pascal@15875 | 2 |
pascal@15875 | 3 PACKAGE="spl" |
Hans-G?nter@21947 | 4 VERSION="0.7.13" |
pascal@15875 | 5 CATEGORY="system-tools" |
Hans-G?nter@21947 | 6 SHORT_DESC="Solaris Porting Layer for ZFS." |
pascal@15875 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15875 | 8 LICENSE="GPL2" |
pascal@20669 | 9 WEB_SITE="https://zfsonlinux.org/" |
Hans-G?nter@21947 | 10 |
pascal@15875 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20284 | 12 WGET_URL="https://github.com/zfsonlinux/zfs/releases/download/zfs-$VERSION/$TARBALL" |
pascal@15875 | 13 |
pascal@15875 | 14 DEPENDS="" |
pascal@15875 | 15 BUILD_DEPENDS="linux-module-headers" |
pascal@15875 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/zfs-\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@15875 | 23 # Rules to configure and make the package. |
pascal@15875 | 24 compile_rules() |
pascal@15875 | 25 { |
Hans-G?nter@21947 | 26 ./configure \ |
Hans-G?nter@21947 | 27 --prefix=/usr \ |
Hans-G?nter@21947 | 28 --mandir=/usr/share/man \ |
Hans-G?nter@21947 | 29 --with-linux=/usr/src/linux \ |
Hans-G?nter@21947 | 30 $CONFIGURE_ARGS && |
pascal@15875 | 31 make && |
pascal@15875 | 32 make DESTDIR=$DESTDIR install |
pascal@15875 | 33 } |
pascal@15875 | 34 |
pascal@15875 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15875 | 36 genpkg_rules() |
pascal@15875 | 37 { |
pascal@15877 | 38 EXTRAVERSION="_${kvers}" |
Hans-G?nter@21947 | 39 |
pascal@15875 | 40 mkdir -p $fs/usr |
Hans-G?nter@21947 | 41 |
Hans-G?nter@21947 | 42 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@21947 | 43 cp -a $install/lib $fs |
pascal@15875 | 44 } |