wok-stable view perl-lwp-mediatypes/receipt @ rev 11915

squid: improve package (again)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Mar 01 00:00:54 2012 +0100 (2012-03-01)
parents
children
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 }