wok-next view perl-lwp-mediatypes/receipt @ rev 14944
Up: edbus-dev (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:15:49 2013 +0200 (2013-08-08) |
parents | 3bc98e49f52b |
children | 1a86cb99cbbf |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-lwp-mediatypes"
4 VERSION="6.02"
5 CATEGORY="development"
6 SHORT_DESC="guess media type for a file or a URL"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="http://search.cpan.org/dist/LWP-MediaTypes"
10 SOURCE="LWP-MediaTypes"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL"
14 DEPENDS="perl"
15 BUILD_DEPENDS="perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
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 }