wok-current annotate perl-fuse/receipt @ rev 24303
linux64-aufs: fix git branch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 15 16:48:52 2022 +0000 (2022-01-15) |
parents | 243d2dbe9a25 |
children | 3abeffdae80b |
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@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;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 } |