wok-current view perl-lwp-mediatypes/receipt @ rev 11955

lxpanel: Patch cpu applet for smaller size and clean pkg
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 01 17:05:30 2012 +0100 (2012-03-01)
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 }