wok-current annotate funionfs/receipt @ rev 25031
Add fatcat
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 20 09:25:51 2022 +0000 (2022-05-20) |
parents | 72f2704d3ae0 |
children |
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@23849 | 10 WEB_SITE="https://web.archive.org/web/20191120030918/http://funionfs.apiou.org/" |
pascal@25031 | 11 WGET_URL="http://old-releases.ubuntu.com/ubuntu/pool/universe/f/funionfs/funionfs_$VERSION.orig.tar.gz" |
jozee@4936 | 12 TAGS="filesystem" |
pascal@368 | 13 |
pascal@24766 | 14 BUILD_DEPENDS="fuse2-dev" |
pascal@24766 | 15 DEPENDS="fuse2" |
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 } |