wok annotate perl-lwp-mediatypes/receipt @ rev 22551
updated blogotext again (2.0.0.0 -> 3.7.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 04 09:22:17 2020 +0100 (2020-01-04) |
parents | 6e8b1bcb30e2 |
children | 856133701cb2 |
rev | line source |
---|---|
slaxemulator@11842 | 1 # SliTaz package receipt. |
slaxemulator@11842 | 2 |
slaxemulator@11842 | 3 PACKAGE="perl-lwp-mediatypes" |
slaxemulator@11842 | 4 VERSION="6.02" |
slaxemulator@11842 | 5 CATEGORY="development" |
slaxemulator@11842 | 6 SHORT_DESC="guess media type for a file or a URL" |
slaxemulator@11842 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@20671 | 9 WEB_SITE="https://metacpan.org/release/LWP-MediaTypes" |
slaxemulator@11842 | 10 SOURCE="LWP-MediaTypes" |
slaxemulator@11842 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20682 | 12 WGET_URL="https://metacpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
slaxemulator@11842 | 13 |
slaxemulator@11842 | 14 DEPENDS="perl" |
slaxemulator@11842 | 15 BUILD_DEPENDS="perl" |
slaxemulator@11842 | 16 |
slaxemulator@11842 | 17 # Rules to configure and make the package. |
slaxemulator@11842 | 18 compile_rules() |
slaxemulator@11842 | 19 { |
slaxemulator@11842 | 20 cd $src |
slaxemulator@11842 | 21 perl Makefile.PL && |
slaxemulator@11842 | 22 make && |
slaxemulator@11842 | 23 make DESTDIR=$DESTDIR install |
slaxemulator@11842 | 24 } |
slaxemulator@11842 | 25 |
slaxemulator@11842 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11842 | 27 genpkg_rules() |
slaxemulator@11842 | 28 { |
slaxemulator@11842 | 29 cp -a $install/* $fs |
slaxemulator@11842 | 30 } |