wok view funionfs/receipt @ rev 20235

busybox: add arch (uname -m alias)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 15:52:59 2018 +0100 (2018-03-05)
parents fb8aceda65ff
children 1bbeef6dd358
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://funionfs.apiou.org/"
11 WGET_URL="${WEB_SITE}file/$TARBALL"
12 TAGS="filesystem"
14 BUILD_DEPENDS="fuse-dev"
15 DEPENDS="fuse"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 [ -f main.c.done ] || patch -p0 << EOT
22 --- main.c
23 +++ main.c
24 @@ -305 +305 @@
25 - if (res < 0)
26 + // if (res < 0)
27 EOT
28 touch main.c.done
29 ./configure --prefix=/usr --bindir=/bin \
30 --libexecdir=/usr/bin --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/bin $fs
40 }