wok-6.x view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="zfs-fuse"
4 VERSION="0.7.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="ZFS file system from Sun."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="CDDL"
9 WEB_SITE="http://zfs-fuse.net"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 ARCHIVE="https://web.archive.org/web/20120314224050if_/"
12 WGET_URL="$ARCHIVE$WEB_SITE/releases/$VERSION/$TARBALL"
14 DEPENDS="fuse libaio libcrypto perl"
15 BUILD_DEPENDS="fuse-dev scons libaio-dev attr-dev zlib-dev acl-dev openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p $DESTDIR/usr
21 cd $src/src
22 # glibc 2.14 update
23 sed -i 's/\*__malloc_initialize_hook/* __volatile __malloc_initialize_hook/' \
24 lib/libumem/malloc.c
25 scons PREFIX=/usr &&
26 scons install_dir=$DESTDIR/usr/sbin \
27 cfg_dir=$DESTDIR/etc \
28 man_dir=$DESTDIR/usr/share/man/man8 install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 rm -rf $fs/usr/share/man
36 }