wok view zfs-fuse/receipt @ rev 24449
updated curl, curl-dev and libcurl (7.72.0 -> 7.81.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 15 11:04:54 2022 +0100 (2022-02-15) |
parents | 6dc00c39f773 |
children | 72f2704d3ae0 |
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="https://web.archive.org/web/20120314224050if_/http://zfs-fuse.net"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$WEB_SITE/releases/$VERSION/$TARBALL"
13 DEPENDS="fuse libaio libcrypto perl"
14 BUILD_DEPENDS="fuse-dev scons libaio-dev attr-dev zlib-dev acl-dev openssl-dev \
15 file"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/gordan-bobic/zfs-fuse/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|(uname -m)|(echo i686)|' src/lib/libumem/config.guess \
29 src/lib/libumem/configure
30 sed -i 's|uname -m|echo i686|' src/SConstruct
31 sed -i 's|attr/xattr|sys/xattr|;s|ENOATTR|ENODATA|' \
32 src/zfs-fuse/zfs_operations.c
34 mkdir -p $DESTDIR/usr
35 cd $src/src
36 # glibc 2.14 update
37 sed -i 's/\*__malloc_initialize_hook/* __volatile __malloc_initialize_hook/' \
38 lib/libumem/malloc.c
39 scons PREFIX=/usr &&
40 scons install_dir=$DESTDIR/usr/sbin \
41 cfg_dir=$DESTDIR/etc \
42 man_dir=$DESTDIR/usr/share/man/man8 install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 cp -a $install/* $fs
49 rm -rf $fs/usr/share/man
50 }