wok-stable view fusecloop/receipt @ rev 10934
fusecloop: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 26 20:47:01 2011 +0200 (2011-08-26) |
parents | ff0097ff50cd |
children | eec0b2ea3e5b |
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 DEPENDS="fuse zlib"
12 BUILD_DEPENDS="fuse-dev zlib-dev"
13 SUGGESTED="fuseiso"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/dprintf/d_printf/g' *.h *.c
20 patch -p0 < $stuff/fusecloop.u
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp $src/fusecloop $fs/usr/bin
31 cp $src/extract_compressed_fs $fs/usr/bin
32 }