wok annotate zfs-fuse/receipt @ rev 24986
Up nettle 3.7.3 again, need glib-networking rebuild to no break midori
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed May 11 08:28:28 2022 -0400 (2022-05-11) |
parents | 922f061231c2 |
children | 0262035dc1e7 |
rev | line source |
---|---|
pascal@13499 | 1 # SliTaz package receipt. |
pascal@13499 | 2 |
pascal@13499 | 3 PACKAGE="zfs-fuse" |
pascal@13499 | 4 VERSION="0.7.0" |
pascal@13499 | 5 CATEGORY="system-tools" |
pascal@13499 | 6 SHORT_DESC="ZFS file system from Sun." |
pascal@13499 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15361 | 8 LICENSE="CDDL" |
pascal@24304 | 9 WEB_SITE="https://web.archive.org/web/20120314224050if_/http://zfs-fuse.net" |
pascal@13499 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@24304 | 11 WGET_URL="$WEB_SITE/releases/$VERSION/$TARBALL" |
pascal@13499 | 12 |
pascal@24766 | 13 DEPENDS="fuse2 libaio libcrypto perl" |
pascal@24766 | 14 BUILD_DEPENDS="fuse2-dev scons libaio-dev attr-dev zlib-dev acl-dev openssl-dev \ |
pascal@20575 | 15 file" |
pascal@13499 | 16 |
pascal@24304 | 17 # What is the latest version available today? |
pascal@24304 | 18 current_version() |
pascal@24304 | 19 { |
pascal@24304 | 20 wget -O - https://github.com/gordan-bobic/zfs-fuse/releases 2>/dev/null | \ |
pascal@24304 | 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24304 | 22 } |
pascal@24304 | 23 |
pascal@24304 | 24 |
pascal@13499 | 25 # Rules to configure and make the package. |
pascal@13499 | 26 compile_rules() |
pascal@13499 | 27 { |
pascal@20578 | 28 sed -i 's|(uname -m)|(echo i686)|' src/lib/libumem/config.guess \ |
pascal@20578 | 29 src/lib/libumem/configure |
pascal@20578 | 30 sed -i 's|uname -m|echo i686|' src/SConstruct |
pascal@21198 | 31 sed -i 's|attr/xattr|sys/xattr|;s|ENOATTR|ENODATA|' \ |
pascal@21198 | 32 src/zfs-fuse/zfs_operations.c |
pascal@20578 | 33 |
pascal@13499 | 34 mkdir -p $DESTDIR/usr |
pascal@13499 | 35 cd $src/src |
pascal@13500 | 36 # glibc 2.14 update |
pascal@13500 | 37 sed -i 's/\*__malloc_initialize_hook/* __volatile __malloc_initialize_hook/' \ |
pascal@13500 | 38 lib/libumem/malloc.c |
pascal@13499 | 39 scons PREFIX=/usr && |
pascal@13499 | 40 scons install_dir=$DESTDIR/usr/sbin \ |
pascal@13499 | 41 cfg_dir=$DESTDIR/etc \ |
pascal@19295 | 42 man_dir=$DESTDIR/usr/share/man/man8 install |
pascal@13499 | 43 } |
pascal@13499 | 44 |
pascal@13499 | 45 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13499 | 46 genpkg_rules() |
pascal@13499 | 47 { |
pascal@13499 | 48 cp -a $install/* $fs |
pascal@19295 | 49 rm -rf $fs/usr/share/man |
pascal@13499 | 50 } |