wok annotate fusecloop/receipt @ rev 23449

updated protobuf, protobuf-dev and protobuf-python (3.8.0 -> 3.11.4)
author Hans-G?nter Theisgen
date Fri Apr 03 06:28:53 2020 +0100 (2020-04-03)
parents 052a6e449318
children ce15cfce8e9f
rev   line source
pascal@4911 1 # SliTaz package receipt.
pascal@4911 2
pascal@4911 3 PACKAGE="fusecloop"
pascal@10932 4 VERSION="0.20.1"
pascal@4911 5 CATEGORY="system-tools"
pascal@4911 6 SHORT_DESC="Mount cloop image in user space with fuse."
pascal@4911 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
pascal@10932 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@10934 10 WEB_SITE="http://fusecloop.sourceforge.net/"
pascal@4911 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@19557 12 ADVANCECOMP_VERSION="1.23"
pascal@12214 13 ADVANCECOMP_TARBALL="advancecomp-$ADVANCECOMP_VERSION.tar.gz"
pascal@12214 14 ADVANCECOMP_URL="$SF_MIRROR/advancemame/$ADVANCECOMP_TARBALL"
pascal@14337 15 EXTRA_SOURCE_FILES="$ADVANCECOMP_TARBALL"
pascal@16999 16
pascal@12214 17 DEPENDS="fuse zlib gcc-lib-base"
pascal@19557 18 BUILD_DEPENDS="fuse-dev zlib-dev automake"
pascal@16999 19 SUGGESTED="fuseiso cloop-utils"
pascal@4911 20
pascal@4911 21 # Rules to configure and make the package.
pascal@4911 22 compile_rules()
pascal@4911 23 {
pascal@12214 24 [ -s $SOURCES_REPOSITORY/$ADVANCECOMP_TARBALL ] ||
pascal@12214 25 wget -P $SOURCES_REPOSITORY $ADVANCECOMP_URL
pascal@12214 26 tar xzf $SOURCES_REPOSITORY/$ADVANCECOMP_TARBALL
pascal@4911 27 sed -i 's/dprintf/d_printf/g' *.h *.c
pascal@10934 28 patch -p0 < $stuff/fusecloop.u
pascal@12214 29 ADVANCECOMP=advancecomp-$ADVANCECOMP_VERSION
pascal@12214 30 cp *.h *.c $ADVANCECOMP
pascal@12214 31 cp create_compressed_fs.c $ADVANCECOMP/redef.cc
pascal@17170 32 sed -i 's/Z_BEST_COMPRESSION/Z_BEST_SPEED/' create_compressed_fs.c
pascal@12214 33 sed -i 's/def FIND_BEST_COMPRESSION/ 1/' $ADVANCECOMP/redef.cc
pascal@23425 34 sed -i 's|\( -lz\)\(.*\)$|\2\1|' Makefile
pascal@23425 35 sed -i 's|\( \$.FUSELDFLAGS.\)\(.*\)$|\2\1|' Makefile
pascal@4911 36 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@4911 37 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@12214 38 make &&
pascal@12214 39 cd $ADVANCECOMP &&
pascal@19557 40 ./autogen.sh
pascal@19557 41 automake --add-missing
pascal@12214 42 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@12214 43 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@12214 44 make advdef
pascal@4911 45 }
pascal@4911 46
pascal@4911 47 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4911 48 genpkg_rules()
pascal@4911 49 {
pascal@4911 50 mkdir -p $fs/usr/bin
pascal@4911 51 cp $src/fusecloop $fs/usr/bin
pascal@4911 52 }
pascal@4911 53