wok view bindfs/receipt @ rev 24105
Add bindfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 25 16:21:20 2021 +0000 (2021-09-25) |
parents | |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bindfs"
4 VERSION="1.15.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Mount a directory to another location and alter permission bits."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://bindfs.org/"
11 WGET_URL="https://github.com/mpartel/bindfs/archive/refs/tags/$VERSION.tar.gz"
13 DEPENDS="fuse"
14 BUILD_DEPENDS="fuse-dev autoconf automake libtool"
16 current_version()
17 {
18 wget -O - https://github.com/mpartel/bindfs/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's|-Wpedantic ||' configure.ac
26 ./autogen.sh
27 ./configure --prefix=/usr \
28 --mandir=/usr/share/man $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }