wok view bindfs/receipt @ rev 25029

lives: back out wget_url update
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 19:43:34 2022 +0000 (2022-05-19)
parents ac8ca9758df1
children
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="fuse2"
14 BUILD_DEPENDS="fuse2-dev autoconf automake libtool"
16 current_version()
17 {
18 wget -O - https://github.com/mpartel/bindfs/tags 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 }