wok-6.x annotate zfs-fuse/receipt @ rev 20134

linux: update modules.list
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 28 22:10:24 2017 +0200 (2017-10-28)
parents 191b99ca9dc2
children 24777abfc406
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@13499 11 WGET_URL="$WEB_SITE/releases/$VERSION/$TARBALL"
pascal@13499 12
pascal@13501 13 DEPENDS="fuse libaio libcrypto perl"
pascal@13499 14 BUILD_DEPENDS="fuse-dev scons libaio-dev attr-dev zlib-dev acl-dev openssl-dev"
pascal@13499 15
pascal@13499 16 # Rules to configure and make the package.
pascal@13499 17 compile_rules()
pascal@13499 18 {
pascal@13499 19 mkdir -p $DESTDIR/usr
pascal@13499 20 cd $src/src
pascal@13500 21 # glibc 2.14 update
pascal@13500 22 sed -i 's/\*__malloc_initialize_hook/* __volatile __malloc_initialize_hook/' \
pascal@13500 23 lib/libumem/malloc.c
pascal@13499 24 scons PREFIX=/usr &&
pascal@13499 25 scons install_dir=$DESTDIR/usr/sbin \
pascal@13499 26 cfg_dir=$DESTDIR/etc \
pascal@19295 27 man_dir=$DESTDIR/usr/share/man/man8 install
pascal@13499 28 }
pascal@13499 29
pascal@13499 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13499 31 genpkg_rules()
pascal@13499 32 {
pascal@13499 33 cp -a $install/* $fs
pascal@19295 34 rm -rf $fs/usr/share/man
pascal@13499 35 }