wok-current view zfs-fuse/receipt @ rev 13500
zfs-fuse: add patch for glibc 2.14
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 13 11:36:17 2012 +0200 (2012-10-13) |
parents | cb4f24462873 |
children | 0ad6b17c537c |
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"
11 http://zfs-fuse.net/releases/0.7.0/zfs-fuse-0.7.0.tar.bz2
13 DEPENDS="fuse libaio libcrypto"
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 install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }