wok-6.x annotate zfs-fuse/receipt @ rev 15878
tinc: fix config path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 05 10:25:27 2014 +0000 (2014-02-05) |
parents | 0ad6b17c537c |
children | f86d053a0423 |
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@15361 | 8 LICENSE="CDDL" |
pascal@13499 | 9 WEB_SITE="http://zfs-fuse.net" |
pascal@13499 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13499 | 11 WGET_URL="$WEB_SITE/releases/$VERSION/$TARBALL" |
pascal@13499 | 12 |
pascal@13501 | 13 DEPENDS="fuse libaio libcrypto perl" |
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@13501 | 27 man_dir=$DESTDIR/usr/man/man8 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@13501 | 34 rm -rf $fs/usr/man |
pascal@13499 | 35 } |