wok annotate zfs-fuse/receipt @ rev 14273
njconnect - posible workaround for broken busybox unxz
author | Pawel P. <xj@wp.pl> |
---|---|
date | Fri Apr 05 11:46:37 2013 +0000 (2013-04-05) |
parents | 480e482052b5 |
children | 191b99ca9dc2 |
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@13499 | 11 |
pascal@13501 | 12 DEPENDS="fuse libaio libcrypto perl" |
pascal@13499 | 13 BUILD_DEPENDS="fuse-dev scons libaio-dev attr-dev zlib-dev acl-dev openssl-dev" |
pascal@13499 | 14 |
pascal@13499 | 15 # Rules to configure and make the package. |
pascal@13499 | 16 compile_rules() |
pascal@13499 | 17 { |
pascal@13499 | 18 mkdir -p $DESTDIR/usr |
pascal@13499 | 19 cd $src/src |
pascal@13500 | 20 # glibc 2.14 update |
pascal@13500 | 21 sed -i 's/\*__malloc_initialize_hook/* __volatile __malloc_initialize_hook/' \ |
pascal@13500 | 22 lib/libumem/malloc.c |
pascal@13499 | 23 scons PREFIX=/usr && |
pascal@13499 | 24 scons install_dir=$DESTDIR/usr/sbin \ |
pascal@13499 | 25 cfg_dir=$DESTDIR/etc \ |
pascal@13501 | 26 man_dir=$DESTDIR/usr/man/man8 install |
pascal@13499 | 27 } |
pascal@13499 | 28 |
pascal@13499 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13499 | 30 genpkg_rules() |
pascal@13499 | 31 { |
pascal@13499 | 32 cp -a $install/* $fs |
pascal@13501 | 33 rm -rf $fs/usr/man |
pascal@13499 | 34 } |