wok-current annotate perl-filesys-statvfs/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
parents | 20661c276bcf |
children | e717a4953b0e |
rev | line source |
---|---|
pascal@14280 | 1 # SliTaz package receipt. |
pascal@14280 | 2 |
pascal@14280 | 3 PACKAGE="perl-filesys-statvfs" |
pascal@14280 | 4 VERSION="0.82" |
pascal@14280 | 5 CATEGORY="development" |
pascal@14280 | 6 SHORT_DESC="Filesys::Statvfs module is a Perl extension." |
pascal@14280 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@14280 | 9 SOURCE="Filesys-Statvfs" |
pascal@14280 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@24103 | 11 WEB_SITE="https://metacpan.org/dist/Filesys-Statvfs" |
pascal@20682 | 12 WGET_URL="https://metacpan.org/CPAN/authors/id/I/IG/IGUTHRIE/$TARBALL" |
pascal@14280 | 13 |
pascal@14280 | 14 DEPENDS="perl" |
pascal@14280 | 15 BUILD_DEPENDS="perl" |
pascal@14280 | 16 |
pascal@24103 | 17 current_version() |
pascal@24103 | 18 { |
pascal@24103 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24103 | 20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24103 | 21 } |
pascal@24103 | 22 |
pascal@14280 | 23 # Rules to configure and make the package. |
pascal@14280 | 24 compile_rules() |
pascal@14280 | 25 { |
pascal@14280 | 26 cd $src |
pascal@14280 | 27 perl Makefile.PL && |
pascal@14280 | 28 make && |
pascal@14280 | 29 make DESTDIR=$DESTDIR install |
pascal@14280 | 30 } |
pascal@14280 | 31 |
pascal@14280 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14280 | 33 genpkg_rules() |
pascal@14280 | 34 { |
pascal@14280 | 35 mkdir -p $fs/usr |
pascal@14280 | 36 cp -a $install/usr/lib $fs/usr |
pascal@14280 | 37 } |
pascal@14280 | 38 |