wok view zfs-fuse/receipt @ rev 20599
nss: remove USE_64
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 16 20:01:00 2018 +0100 (2018-12-16) |
parents | 70d8b34d7ea0 |
children | 6dc00c39f773 |
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 \
16 file"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|(uname -m)|(echo i686)|' src/lib/libumem/config.guess \
22 src/lib/libumem/configure
23 sed -i 's|uname -m|echo i686|' src/SConstruct
25 mkdir -p $DESTDIR/usr
26 cd $src/src
27 # glibc 2.14 update
28 sed -i 's/\*__malloc_initialize_hook/* __volatile __malloc_initialize_hook/' \
29 lib/libumem/malloc.c
30 scons PREFIX=/usr &&
31 scons install_dir=$DESTDIR/usr/sbin \
32 cfg_dir=$DESTDIR/etc \
33 man_dir=$DESTDIR/usr/share/man/man8 install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 rm -rf $fs/usr/share/man
41 }