wok-stable annotate fusecloop/receipt @ rev 11953
Up: slitaz-tools (4.7) - Bug fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 01 16:01:22 2012 +0100 (2012-03-01) |
parents | 27a1c1c0fdf3 |
children | 297bc4cc8984 |
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@10932 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@10934 | 9 WEB_SITE="http://fusecloop.sourceforge.net/" |
pascal@4911 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@4911 | 11 DEPENDS="fuse zlib" |
pascal@4911 | 12 BUILD_DEPENDS="fuse-dev zlib-dev" |
pascal@4911 | 13 SUGGESTED="fuseiso" |
pascal@4911 | 14 |
pascal@4911 | 15 # Rules to configure and make the package. |
pascal@4911 | 16 compile_rules() |
pascal@4911 | 17 { |
pascal@4911 | 18 cd $src |
pascal@4911 | 19 sed -i 's/dprintf/d_printf/g' *.h *.c |
pascal@10934 | 20 patch -p0 < $stuff/fusecloop.u |
pascal@4911 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4911 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@4911 | 23 make |
pascal@4911 | 24 } |
pascal@4911 | 25 |
pascal@4911 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4911 | 27 genpkg_rules() |
pascal@4911 | 28 { |
pascal@4911 | 29 mkdir -p $fs/usr/bin |
pascal@4911 | 30 cp $src/fusecloop $fs/usr/bin |
pascal@4911 | 31 cp $src/extract_compressed_fs $fs/usr/bin |
pascal@11678 | 32 cp $src/create_compressed_fs $fs/usr/bin |
pascal@4911 | 33 } |
pascal@4911 | 34 |