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