wok view funionfs/receipt @ rev 15683

Fix wrong variable
author Stanislas Leduc <shann@slitaz.org>
date Fri Dec 20 20:47:24 2013 +0100 (2013-12-20)
parents fb8aceda65ff
children 1bbeef6dd358
line source
1 # SliTaz package receipt.
3 PACKAGE="funionfs"
4 VERSION="0.4.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Union filesystem implemented with FUSE."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://funionfs.apiou.org/"
11 WGET_URL="${WEB_SITE}file/$TARBALL"
12 TAGS="filesystem"
14 BUILD_DEPENDS="fuse-dev"
15 DEPENDS="fuse"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 [ -f main.c.done ] || patch -p0 << EOT
22 --- main.c
23 +++ main.c
24 @@ -305 +305 @@
25 - if (res < 0)
26 + // if (res < 0)
27 EOT
28 touch main.c.done
29 ./configure --prefix=/usr --bindir=/bin \
30 --libexecdir=/usr/bin --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/bin $fs
40 }