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