wok view zfs-fuse/receipt @ rev 14084

Up: emacs-lisp-sources (24.2)
author Dominique Corbex <domcox@slitaz.org>
date Fri Feb 22 20:44:22 2013 +0100 (2013-02-22)
parents 480e482052b5
children 191b99ca9dc2
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 WEB_SITE="http://zfs-fuse.net"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="$WEB_SITE/releases/$VERSION/$TARBALL"
12 DEPENDS="fuse libaio libcrypto perl"
13 BUILD_DEPENDS="fuse-dev scons libaio-dev attr-dev zlib-dev acl-dev openssl-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mkdir -p $DESTDIR/usr
19 cd $src/src
20 # glibc 2.14 update
21 sed -i 's/\*__malloc_initialize_hook/* __volatile __malloc_initialize_hook/' \
22 lib/libumem/malloc.c
23 scons PREFIX=/usr &&
24 scons install_dir=$DESTDIR/usr/sbin \
25 cfg_dir=$DESTDIR/etc \
26 man_dir=$DESTDIR/usr/man/man8 install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 rm -rf $fs/usr/man
34 }