wok-6.x view funionfs/receipt @ rev 14207

w3m: config receipt to use patches
author Richard Dunbar <mojo@slitaz.org>
date Fri Mar 15 13:42:03 2013 +0000 (2013-03-15)
parents 5d5fa3f27a35
children fcdd50638150
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 BUILD_DEPENDS="fuse-dev"
9 DEPENDS="fuse"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://funionfs.apiou.org/"
12 WGET_URL="${WEB_SITE}file/$TARBALL"
13 TAGS="filesystem"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 [ -f main.c.done ] || patch -p0 << EOT
20 --- main.c
21 +++ main.c
22 @@ -305 +305 @@
23 - if (res < 0)
24 + // if (res < 0)
25 EOT
26 touch main.c.done
27 ./configure --prefix=/usr --bindir=/bin \
28 --libexecdir=/usr/bin --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $_pkg/bin $fs
38 }