wok annotate perl-file-basedir/receipt @ rev 24573
updated freetype and freetype-dev (2.10.2 -> 2.11.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 07:45:56 2022 +0100 (2022-02-27) |
parents | ca4a422cce07 |
children | b27d8c263cba |
rev | line source |
---|---|
paul@3233 | 1 # SliTaz package receipt. |
paul@3233 | 2 |
paul@3233 | 3 PACKAGE="perl-file-basedir" |
Hans-G?nter@24207 | 4 VERSION="0.09" |
paul@3233 | 5 CATEGORY="development" |
paul@3233 | 6 SHORT_DESC="File::BaseDir module is a Perl extension." |
paul@3233 | 7 MAINTAINER="paul@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24207 | 9 WEB_SITE="https://metacpan.org/pod/File::BaseDir" |
Hans-G?nter@24207 | 10 REPOLOGY="perl:file-basedir" |
paul@3233 | 11 SOURCE="File-BaseDir" |
paul@3233 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24207 | 13 WGET_URL="https://www.cpan.org/modules/by-module/File/$TARBALL" |
Hans-G?nter@24207 | 14 |
Hans-G?nter@24207 | 15 DEPENDS="perl" |
Hans-G?nter@24207 | 16 BUILD_DEPENDS="perl perl-file-which perl-ipc-system-simple" |
paul@3233 | 17 |
pascal@24103 | 18 current_version() |
pascal@24103 | 19 { |
pascal@24103 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24103 | 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24103 | 22 } |
pascal@24103 | 23 |
paul@3233 | 24 # Rules to configure and make the package. |
paul@3233 | 25 compile_rules() |
paul@3233 | 26 { |
paul@3233 | 27 perl Makefile.PL && |
paul@3233 | 28 make && |
Hans-G?nter@24207 | 29 make install DESTDIR=$DESTDIR |
paul@3233 | 30 } |
paul@3233 | 31 |
paul@3233 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3233 | 33 genpkg_rules() |
paul@3233 | 34 { |
Hans-G?nter@24207 | 35 cook_copy_folders lib |
paul@3233 | 36 } |