wok-next annotate funionfs/receipt @ rev 2430
gtk+: update build_depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 11 20:36:35 2009 +0000 (2009-03-11) |
parents | f49d39ab0b56 |
children | fb8aceda65ff |
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@368 | 8 BUILD_DEPENDS="fuse-dev" |
pascal@368 | 9 DEPENDS="fuse" |
pascal@368 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@368 | 11 WEB_SITE="http://funionfs.apiou.org/" |
pascal@368 | 12 WGET_URL="${WEB_SITE}file/$TARBALL" |
pascal@368 | 13 |
pascal@368 | 14 # Rules to configure and make the package. |
pascal@368 | 15 compile_rules() |
pascal@368 | 16 { |
pascal@368 | 17 cd $src |
pascal@1678 | 18 [ -f main.c.done ] || patch -p0 << EOT |
pascal@1678 | 19 --- main.c |
pascal@1678 | 20 +++ main.c |
pascal@1678 | 21 @@ -305 +305 @@ |
pascal@1678 | 22 - if (res < 0) |
pascal@1678 | 23 + // if (res < 0) |
pascal@1678 | 24 EOT |
pascal@1678 | 25 touch main.c.done |
pascal@368 | 26 ./configure --prefix=/usr --bindir=/bin \ |
pascal@368 | 27 --libexecdir=/usr/bin --mandir=/usr/share/man \ |
pascal@1678 | 28 $CONFIGURE_ARGS && |
pascal@1678 | 29 make && |
pascal@368 | 30 make DESTDIR=$PWD/_pkg install |
pascal@368 | 31 } |
pascal@368 | 32 |
pascal@368 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@368 | 34 genpkg_rules() |
pascal@368 | 35 { |
pascal@368 | 36 cp -a $_pkg/bin $fs |
pascal@368 | 37 } |