wok-6.x annotate perl-fuse/receipt @ rev 24956
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:35:24 2022 +0100 (2022-04-23) |
parents | 3abeffdae80b |
children |
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 |
pascal@24766 | 15 DEPENDS="fuse2 perl perl-filesys-statvfs perl-lchown perl-unix-mknod" |
pascal@24766 | 16 BUILD_DEPENDS="fuse2-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 } |