wok-6.x annotate funionfs/receipt @ rev 12685
linux: fix modules.list to use new .xz compressed modules
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 01 23:48:55 2012 +0200 (2012-05-01) |
parents | 5d5fa3f27a35 |
children | fcdd50638150 |
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" |
jozee@4936 | 13 TAGS="filesystem" |
pascal@368 | 14 |
pascal@368 | 15 # Rules to configure and make the package. |
pascal@368 | 16 compile_rules() |
pascal@368 | 17 { |
pascal@368 | 18 cd $src |
pascal@1678 | 19 [ -f main.c.done ] || patch -p0 << EOT |
pascal@1678 | 20 --- main.c |
pascal@1678 | 21 +++ main.c |
pascal@1678 | 22 @@ -305 +305 @@ |
pascal@1678 | 23 - if (res < 0) |
pascal@1678 | 24 + // if (res < 0) |
pascal@1678 | 25 EOT |
pascal@1678 | 26 touch main.c.done |
pascal@368 | 27 ./configure --prefix=/usr --bindir=/bin \ |
pascal@368 | 28 --libexecdir=/usr/bin --mandir=/usr/share/man \ |
pascal@1678 | 29 $CONFIGURE_ARGS && |
pascal@1678 | 30 make && |
pascal@368 | 31 make DESTDIR=$PWD/_pkg install |
pascal@368 | 32 } |
pascal@368 | 33 |
pascal@368 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@368 | 35 genpkg_rules() |
pascal@368 | 36 { |
pascal@368 | 37 cp -a $_pkg/bin $fs |
pascal@368 | 38 } |