wok-6.x view perl-lwp-mediatypes/receipt @ rev 12268
Up: linux-api-headers (3.2.14)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 12 15:19:10 2012 +0200 (2012-04-12) |
parents | |
children | 2d12ebd38be4 |
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 WEB_SITE="http://search.cpan.org/dist/LWP-MediaTypes"
9 SOURCE="LWP-MediaTypes"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL"
13 DEPENDS="perl"
14 BUILD_DEPENDS="perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/* $fs
29 }