wok-6.x view zfs-fuse/receipt @ rev 15603
Use install instead of _pkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 10:39:07 2013 +0000 (2013-12-06) |
parents | 0ad6b17c537c |
children | f86d053a0423 |
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 LICENSE="CDDL"
9 WEB_SITE="http://zfs-fuse.net"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$WEB_SITE/releases/$VERSION/$TARBALL"
13 DEPENDS="fuse libaio libcrypto perl"
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/man8 install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 rm -rf $fs/usr/man
35 }