wok-6.x view fusecloop/receipt @ rev 18080
Split mate-panel in mate-panel-dev
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Fri May 22 18:02:36 2015 -0300 (2015-05-22) |
parents | bcb6fa8e2c36 |
children | 1e6252d97317 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://fusecloop.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 ADVANCECOMP_VERSION="1.15"
13 ADVANCECOMP_TARBALL="advancecomp-$ADVANCECOMP_VERSION.tar.gz"
14 ADVANCECOMP_URL="$SF_MIRROR/advancemame/$ADVANCECOMP_TARBALL"
15 EXTRA_SOURCE_FILES="$ADVANCECOMP_TARBALL"
17 DEPENDS="fuse zlib gcc-lib-base"
18 BUILD_DEPENDS="fuse-dev zlib-dev"
19 SUGGESTED="fuseiso cloop-utils"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 [ -s $SOURCES_REPOSITORY/$ADVANCECOMP_TARBALL ] ||
26 wget -P $SOURCES_REPOSITORY $ADVANCECOMP_URL
27 tar xzf $SOURCES_REPOSITORY/$ADVANCECOMP_TARBALL
28 sed -i 's/dprintf/d_printf/g' *.h *.c
29 patch -p0 < $stuff/fusecloop.u
30 ADVANCECOMP=advancecomp-$ADVANCECOMP_VERSION
31 cp *.h *.c $ADVANCECOMP
32 cp create_compressed_fs.c $ADVANCECOMP/redef.cc
33 sed -i 's/Z_BEST_COMPRESSION/Z_BEST_SPEED/' create_compressed_fs.c
34 sed -i 's/def FIND_BEST_COMPRESSION/ 1/' $ADVANCECOMP/redef.cc
35 ./configure --prefix=/usr --infodir=/usr/share/info \
36 --mandir=/usr/share/man $CONFIGURE_ARGS &&
37 make &&
38 cd $ADVANCECOMP &&
39 ./configure --prefix=/usr --infodir=/usr/share/info \
40 --mandir=/usr/share/man $CONFIGURE_ARGS &&
41 make advdef
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/bin
48 cp $src/fusecloop $fs/usr/bin
49 }