wok annotate perl-fuse/receipt @ rev 24667

updated inotify-tools (3.20.2.2 -> 3.22.1.0)
author Hans-G?nter Theisgen
date Fri Mar 11 16:18:25 2022 +0100 (2022-03-11)
parents 15650f5d595b
children 72f2704d3ae0
rev   line source
pascal@14283 1 # SliTaz package receipt.
pascal@14283 2
pascal@14283 3 PACKAGE="perl-fuse"
Hans-G?nter@23334 4 VERSION="0.16.1"
pascal@14283 5 CATEGORY="development"
Hans-G?nter@23334 6 SHORT_DESC="Perl extension Fuse."
pascal@14283 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@23334 9 WEB_SITE="https://metacpan.org/release/Fuse"
Hans-G?nter@23334 10
pascal@14283 11 SOURCE="Fuse"
pascal@14283 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23334 13 WGET_URL="https://cpan.metacpan.org/authors/id/D/DP/DPATES/$TARBALL"
pascal@14283 14
Hans-G?nter@23334 15 DEPENDS="fuse perl perl-filesys-statvfs perl-lchown perl-unix-mknod"
Hans-G?nter@23334 16 BUILD_DEPENDS="fuse-dev perl perl-filesys-statvfs perl-lchown perl-unix-mknod"
pascal@14283 17
pascal@24102 18 current_version()
pascal@24102 19 {
pascal@24414 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24414 21 sed '/Fuse-/!d;/tar/!d;s|.*Fuse-||;s|.tar.*||;s|_|.|' | sort -Vr | sed q
pascal@24102 22 }
pascal@24102 23
pascal@14283 24 # Rules to configure and make the package.
pascal@14283 25 compile_rules()
pascal@14283 26 {
pascal@14283 27 perl Makefile.PL &&
pascal@14283 28 make &&
pascal@14283 29 make DESTDIR=$DESTDIR install
pascal@14283 30 }
pascal@14283 31
pascal@14283 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14283 33 genpkg_rules()
pascal@14283 34 {
pascal@14283 35 mkdir -p $fs/usr
Hans-G?nter@23334 36 cp -a $install/usr/lib $fs/usr
pascal@14283 37 }