wok-current view perl-lwp-mediatypes/receipt @ rev 23364
updated perl-lwp-mediatypes (6.02 -> 6.04)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 11:15:57 2020 +0100 (2020-03-31) |
parents | 20661c276bcf |
children | 15650f5d595b |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-lwp-mediatypes"
4 VERSION="6.04"
5 CATEGORY="development"
6 SHORT_DESC="Guess media type for a file or an URL."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/LWP-MediaTypes"
11 SOURCE="LWP-MediaTypes"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/$TARBALL"
15 DEPENDS="perl"
16 BUILD_DEPENDS="perl"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 perl Makefile.PL &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
30 }