wok-6.x view fusecloop/receipt @ rev 13369
Add: udevil (light automounter using udev) Let us mount devices via spacefm without systemd/udisks
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Sep 14 10:50:33 2012 +0200 (2012-09-14) |
parents | eec0b2ea3e5b |
children | b2a632fc9587 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fusecloop"
4 VERSION="0.20.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Mount cloop image in user space with fuse."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://fusecloop.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 ADVANCECOMP_VERSION="1.15"
12 ADVANCECOMP_TARBALL="advancecomp-$ADVANCECOMP_VERSION.tar.gz"
13 ADVANCECOMP_URL="$SF_MIRROR/advancemame/$ADVANCECOMP_TARBALL"
14 DEPENDS="fuse zlib gcc-lib-base"
15 BUILD_DEPENDS="fuse-dev zlib-dev"
16 SUGGESTED="fuseiso"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 [ -s $SOURCES_REPOSITORY/$ADVANCECOMP_TARBALL ] ||
23 wget -P $SOURCES_REPOSITORY $ADVANCECOMP_URL
24 tar xzf $SOURCES_REPOSITORY/$ADVANCECOMP_TARBALL
25 sed -i 's/dprintf/d_printf/g' *.h *.c
26 patch -p0 < $stuff/fusecloop.u
27 ADVANCECOMP=advancecomp-$ADVANCECOMP_VERSION
28 cp *.h *.c $ADVANCECOMP
29 cp create_compressed_fs.c $ADVANCECOMP/redef.cc
30 sed -i 's/def FIND_BEST_COMPRESSION/ 1/' $ADVANCECOMP/redef.cc
31 ./configure --prefix=/usr --infodir=/usr/share/info \
32 --mandir=/usr/share/man $CONFIGURE_ARGS &&
33 make &&
34 cd $ADVANCECOMP &&
35 ./configure --prefix=/usr --infodir=/usr/share/info \
36 --mandir=/usr/share/man $CONFIGURE_ARGS &&
37 make advdef
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/bin
44 cp $src/fusecloop $fs/usr/bin
45 cp $src/extract_compressed_fs $fs/usr/bin
46 cp $src/advancecomp-*/advdef $fs/usr/bin/create_compressed_fs
47 }