wok annotate perl-lwp-mediatypes/receipt @ rev 14540
firefox-langpack-es_ES: Up to 17.0.6esr
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed May 22 21:56:56 2013 +0200 (2013-05-22) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
slaxemulator@11842 | 1 # SliTaz package receipt. |
slaxemulator@11842 | 2 |
slaxemulator@11842 | 3 PACKAGE="perl-lwp-mediatypes" |
slaxemulator@11842 | 4 VERSION="6.02" |
slaxemulator@11842 | 5 CATEGORY="development" |
slaxemulator@11842 | 6 SHORT_DESC="guess media type for a file or a URL" |
slaxemulator@11842 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@11842 | 8 WEB_SITE="http://search.cpan.org/dist/LWP-MediaTypes" |
slaxemulator@11842 | 9 SOURCE="LWP-MediaTypes" |
slaxemulator@11842 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@11842 | 11 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
slaxemulator@11842 | 12 |
slaxemulator@11842 | 13 DEPENDS="perl" |
slaxemulator@11842 | 14 BUILD_DEPENDS="perl" |
slaxemulator@11842 | 15 |
slaxemulator@11842 | 16 # Rules to configure and make the package. |
slaxemulator@11842 | 17 compile_rules() |
slaxemulator@11842 | 18 { |
slaxemulator@11842 | 19 cd $src |
slaxemulator@11842 | 20 perl Makefile.PL && |
slaxemulator@11842 | 21 make && |
slaxemulator@11842 | 22 make DESTDIR=$DESTDIR install |
slaxemulator@11842 | 23 } |
slaxemulator@11842 | 24 |
slaxemulator@11842 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11842 | 26 genpkg_rules() |
slaxemulator@11842 | 27 { |
slaxemulator@11842 | 28 cp -a $install/* $fs |
slaxemulator@11842 | 29 } |