wok-current annotate zfs-fuse/receipt @ rev 23145
updated luafilesystem (1.7.0 -> 1.7.0.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 15 09:31:30 2020 +0100 (2020-03-15) |
parents | 7bc5e65f1caa |
children | 922f061231c2 |
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@13499 | 9 WEB_SITE="http://zfs-fuse.net" |
pascal@13499 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20574 | 11 ARCHIVE="https://web.archive.org/web/20120314224050if_/" |
pascal@20574 | 12 WGET_URL="$ARCHIVE$WEB_SITE/releases/$VERSION/$TARBALL" |
pascal@13499 | 13 |
pascal@13501 | 14 DEPENDS="fuse libaio libcrypto perl" |
pascal@20575 | 15 BUILD_DEPENDS="fuse-dev scons libaio-dev attr-dev zlib-dev acl-dev openssl-dev \ |
pascal@20575 | 16 file" |
pascal@13499 | 17 |
pascal@13499 | 18 # Rules to configure and make the package. |
pascal@13499 | 19 compile_rules() |
pascal@13499 | 20 { |
pascal@20578 | 21 sed -i 's|(uname -m)|(echo i686)|' src/lib/libumem/config.guess \ |
pascal@20578 | 22 src/lib/libumem/configure |
pascal@20578 | 23 sed -i 's|uname -m|echo i686|' src/SConstruct |
pascal@21198 | 24 sed -i 's|attr/xattr|sys/xattr|;s|ENOATTR|ENODATA|' \ |
pascal@21198 | 25 src/zfs-fuse/zfs_operations.c |
pascal@20578 | 26 |
pascal@13499 | 27 mkdir -p $DESTDIR/usr |
pascal@13499 | 28 cd $src/src |
pascal@13500 | 29 # glibc 2.14 update |
pascal@13500 | 30 sed -i 's/\*__malloc_initialize_hook/* __volatile __malloc_initialize_hook/' \ |
pascal@13500 | 31 lib/libumem/malloc.c |
pascal@13499 | 32 scons PREFIX=/usr && |
pascal@13499 | 33 scons install_dir=$DESTDIR/usr/sbin \ |
pascal@13499 | 34 cfg_dir=$DESTDIR/etc \ |
pascal@19295 | 35 man_dir=$DESTDIR/usr/share/man/man8 install |
pascal@13499 | 36 } |
pascal@13499 | 37 |
pascal@13499 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13499 | 39 genpkg_rules() |
pascal@13499 | 40 { |
pascal@13499 | 41 cp -a $install/* $fs |
pascal@19295 | 42 rm -rf $fs/usr/share/man |
pascal@13499 | 43 } |