wok annotate perl-file-mimeinfo/receipt @ rev 24472
updated dd_rescue (1.99.8 -> 1.99.11)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 15:46:03 2022 +0100 (2022-02-17) |
parents | 15650f5d595b |
children | 72fb3028d8ce |
rev | line source |
---|---|
paul@3233 | 1 # SliTaz package receipt. |
paul@3233 | 2 |
paul@3233 | 3 PACKAGE="perl-file-mimeinfo" |
Hans-G?nter@24209 | 4 VERSION="0.30" |
paul@3233 | 5 CATEGORY="development" |
Hans-G?nter@23331 | 6 SHORT_DESC="Perl extension File::MimeInfo." |
paul@3233 | 7 MAINTAINER="paul@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24209 | 9 WEB_SITE="https://metacpan.org/pod/File::MimeInfo" |
Hans-G?nter@24209 | 10 REPOLOGY="perl:file-mimeinfo" |
Hans-G?nter@23331 | 11 |
Hans-G?nter@23331 | 12 SOURCE="File-MimeInfo" |
Hans-G?nter@23331 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23331 | 14 WGET_URL="https://www.cpan.org/modules/by-module/File/$TARBALL" |
Hans-G?nter@23331 | 15 |
paul@3233 | 16 DEPENDS="perl perl-file-basedir perl-file-desktopentry" |
paul@3233 | 17 BUILD_DEPENDS="perl perl-file-basedir perl-file-desktopentry" |
paul@3233 | 18 |
pascal@24102 | 19 current_version() |
pascal@24102 | 20 { |
pascal@24102 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 23 } |
pascal@24102 | 24 |
paul@3233 | 25 # Rules to configure and make the package. |
paul@3233 | 26 compile_rules() |
paul@3233 | 27 { |
paul@3233 | 28 perl Makefile.PL && |
paul@3233 | 29 make && |
Hans-G?nter@24209 | 30 make install DESTDIR=$DESTDIR |
paul@3233 | 31 } |
paul@3233 | 32 |
paul@3233 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3233 | 34 genpkg_rules() |
paul@3233 | 35 { |
Hans-G?nter@24209 | 36 cook_copy_folders lib |
paul@3233 | 37 } |