wok view zfs-fuse/receipt @ rev 16817

Add appdata-tools
author Yuri Pourre <yuripourre@gmail.com>
date Thu Jul 10 23:19:29 2014 -0300 (2014-07-10)
parents 0ad6b17c537c
children f86d053a0423
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 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"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir -p $DESTDIR/usr
20 cd $src/src
21 # glibc 2.14 update
22 sed -i 's/\*__malloc_initialize_hook/* __volatile __malloc_initialize_hook/' \
23 lib/libumem/malloc.c
24 scons PREFIX=/usr &&
25 scons install_dir=$DESTDIR/usr/sbin \
26 cfg_dir=$DESTDIR/etc \
27 man_dir=$DESTDIR/usr/man/man8 install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 rm -rf $fs/usr/man
35 }