wok-6.x annotate afuse/receipt @ rev 25492

Up foomatic-db (4.0-20221117)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 18 09:54:27 2022 +0000 (23 months ago)
parents b569b85b0fb9
children
rev   line source
pascal@21097 1 # SliTaz package receipt.
pascal@21097 2
pascal@21097 3 PACKAGE="afuse"
pascal@21097 4 VERSION="0.4.1"
pascal@21097 5 CATEGORY="system-tools"
Hans-G?nter@24764 6 SHORT_DESC="An automounter implemented with FUSE."
pascal@21097 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@21097 8 LICENSE="GPL2"
Hans-G?nter@24764 9 WEB_SITE="https://github.com/pcarrier/afuse/"
Hans-G?nter@24764 10
pascal@21097 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@21097 12 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
pascal@21097 13
Hans-G?nter@24764 14 DEPENDS="fuse2"
Hans-G?nter@24764 15 BUILD_DEPENDS="autoconf automake fuse2-dev libtool perl-getopt-long"
pascal@21097 16
pascal@24308 17 # What is the latest version available today?
pascal@24308 18 current_version()
pascal@24308 19 {
pascal@24308 20 wget -O - $WEB_SITE/tags 2>/dev/null | \
pascal@24308 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24308 22 }
pascal@24308 23
pascal@21097 24 # Rules to configure and make the package.
pascal@21097 25 compile_rules()
pascal@21097 26 {
Hans-G?nter@24764 27 autoreconf --install --verbose &&
Hans-G?nter@24764 28 sed -i 's|v -V -qversion|v|' configure
Hans-G?nter@24764 29 ./configure \
Hans-G?nter@24764 30 --prefix=/usr \
Hans-G?nter@24764 31 --infodir=/usr/share/info \
Hans-G?nter@24764 32 --mandir=/usr/share/man \
pascal@21097 33 $CONFIGURE_ARGS &&
pascal@21097 34 make &&
Hans-G?nter@24764 35 make install DESTDIR=$DESTDIR
pascal@21097 36 }
pascal@21097 37
pascal@21097 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21097 39 genpkg_rules()
pascal@21097 40 {
Hans-G?nter@24764 41 mkdir -p $fs/usr
Hans-G?nter@24764 42 mkdir -p $install/usr/share/doc
Hans-G?nter@24764 43
Hans-G?nter@24764 44 cook_copy_folders bin
Hans-G?nter@24764 45 cp $src/README $install/usr/share/doc
Hans-G?nter@24764 46 cp $src/AUTHORS $install/usr/share/doc
pascal@21097 47 }