wok-next view perl-lwp-mediatypes/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | 4e6503d7a19f |
children | f17e1f86f546 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="perl-lwp-mediatypes"
4 VERSION="6.02"
5 CATEGORY="perl"
6 SHORT_DESC="LWP::MediaTypes - guess media type for a file or a URL"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/LWP-MediaTypes"
10 REPOLOGY="perl:lwp-mediatypes"
12 TARBALL="LWP-MediaTypes-$VERSION.tar.gz"
13 WGET_URL="https://cpan.metacpan.org/authors/id/G/GA/GAAS/$TARBALL"
15 BUILD_DEPENDS="perl"
17 compile_rules() {
18 perl Makefile.PL &&
19 make &&
20 make DESTDIR=$install install &&
22 chmod -R u+w $install
23 }
25 genpkg_rules() {
26 copy @std
27 DEPENDS="perl"
28 }