wok-current annotate zfs-fuse/receipt @ rev 20574
Get zfs-fuse tarball from archive.org
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 13 15:52:42 2018 +0100 (2018-12-13) |
parents | f86d053a0423 |
children | 70d8b34d7ea0 |
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@13499 | 15 BUILD_DEPENDS="fuse-dev scons libaio-dev attr-dev zlib-dev acl-dev openssl-dev" |
pascal@13499 | 16 |
pascal@13499 | 17 # Rules to configure and make the package. |
pascal@13499 | 18 compile_rules() |
pascal@13499 | 19 { |
pascal@13499 | 20 mkdir -p $DESTDIR/usr |
pascal@13499 | 21 cd $src/src |
pascal@13500 | 22 # glibc 2.14 update |
pascal@13500 | 23 sed -i 's/\*__malloc_initialize_hook/* __volatile __malloc_initialize_hook/' \ |
pascal@13500 | 24 lib/libumem/malloc.c |
pascal@13499 | 25 scons PREFIX=/usr && |
pascal@13499 | 26 scons install_dir=$DESTDIR/usr/sbin \ |
pascal@13499 | 27 cfg_dir=$DESTDIR/etc \ |
pascal@19295 | 28 man_dir=$DESTDIR/usr/share/man/man8 install |
pascal@13499 | 29 } |
pascal@13499 | 30 |
pascal@13499 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13499 | 32 genpkg_rules() |
pascal@13499 | 33 { |
pascal@13499 | 34 cp -a $install/* $fs |
pascal@19295 | 35 rm -rf $fs/usr/share/man |
pascal@13499 | 36 } |