wok-6.x annotate perl-lwp-mediatypes/receipt @ rev 23388
updated perl-proc-processtable (0.45 -> 0.59)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 16:27:39 2020 +0100 (2020-03-31) |
parents | 20661c276bcf |
children | 15650f5d595b |
rev | line source |
---|---|
slaxemulator@11842 | 1 # SliTaz package receipt. |
slaxemulator@11842 | 2 |
slaxemulator@11842 | 3 PACKAGE="perl-lwp-mediatypes" |
Hans-G?nter@23364 | 4 VERSION="6.04" |
slaxemulator@11842 | 5 CATEGORY="development" |
Hans-G?nter@23364 | 6 SHORT_DESC="Guess media type for a file or an URL." |
slaxemulator@11842 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@20671 | 9 WEB_SITE="https://metacpan.org/release/LWP-MediaTypes" |
Hans-G?nter@23364 | 10 |
slaxemulator@11842 | 11 SOURCE="LWP-MediaTypes" |
slaxemulator@11842 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23364 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/$TARBALL" |
slaxemulator@11842 | 14 |
slaxemulator@11842 | 15 DEPENDS="perl" |
slaxemulator@11842 | 16 BUILD_DEPENDS="perl" |
slaxemulator@11842 | 17 |
slaxemulator@11842 | 18 # Rules to configure and make the package. |
slaxemulator@11842 | 19 compile_rules() |
slaxemulator@11842 | 20 { |
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 { |
Hans-G?nter@23364 | 29 cp -a $install/* $fs |
slaxemulator@11842 | 30 } |