wok annotate 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
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@13499 8 WEB_SITE="http://zfs-fuse.net"
pascal@13499 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@13499 10 WGET_URL="$WEB_SITE/releases/$VERSION/$TARBALL"
pascal@13500 11 http://zfs-fuse.net/releases/0.7.0/zfs-fuse-0.7.0.tar.bz2
pascal@13499 12
pascal@13499 13 DEPENDS="fuse libaio libcrypto"
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@13500 27 man_dir=$DESTDIR/usr/man 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@13499 34 }