wok-next annotate perl-lwp-mediatypes/receipt @ rev 20884

Check Repology info from m* to python-babel
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jul 12 18:34:58 2018 +0300 (2018-07-12)
parents 0e7893ac206d
children d5aab818505e
rev   line source
al@20443 1 # SliTaz package receipt v2.
slaxemulator@11842 2
slaxemulator@11842 3 PACKAGE="perl-lwp-mediatypes"
slaxemulator@11842 4 VERSION="6.02"
al@19709 5 CATEGORY="perl"
al@19709 6 SHORT_DESC="LWP::MediaTypes - guess media type for a file or a URL"
slaxemulator@11842 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14702 8 LICENSE="GPL"
al@19709 9 WEB_SITE="https://metacpan.org/release/LWP-MediaTypes"
al@20884 10 REPOLOGY="perl:lwp-mediatypes"
al@19709 11
al@19709 12 TARBALL="LWP-MediaTypes-$VERSION.tar.gz"
al@19709 13 WGET_URL="https://cpan.metacpan.org/authors/id/G/GA/GAAS/$TARBALL"
slaxemulator@11842 14
slaxemulator@11842 15 BUILD_DEPENDS="perl"
slaxemulator@11842 16
al@20443 17 compile_rules() {
slaxemulator@11842 18 perl Makefile.PL &&
al@19709 19 make && make DESTDIR=$install install &&
al@19709 20
al@19709 21 chmod -R u+w $install
slaxemulator@11842 22 }
slaxemulator@11842 23
al@20443 24 genpkg_rules() {
al@19709 25 copy @std
al@20443 26 DEPENDS="perl"
slaxemulator@11842 27 }