wok annotate perl-lwp-mediatypes/receipt @ rev 16374

Up: slitaz-configs (5.4) Getting ready for 5.0-RC1
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 14 19:59:46 2014 +0200 (2014-04-14)
parents 3bc98e49f52b
children 6e8b1bcb30e2
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"
pascal@14702 8 LICENSE="GPL"
slaxemulator@11842 9 WEB_SITE="http://search.cpan.org/dist/LWP-MediaTypes"
slaxemulator@11842 10 SOURCE="LWP-MediaTypes"
slaxemulator@11842 11 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@11842 12 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL"
slaxemulator@11842 13
slaxemulator@11842 14 DEPENDS="perl"
slaxemulator@11842 15 BUILD_DEPENDS="perl"
slaxemulator@11842 16
slaxemulator@11842 17 # Rules to configure and make the package.
slaxemulator@11842 18 compile_rules()
slaxemulator@11842 19 {
slaxemulator@11842 20 cd $src
slaxemulator@11842 21 perl Makefile.PL &&
slaxemulator@11842 22 make &&
slaxemulator@11842 23 make DESTDIR=$DESTDIR install
slaxemulator@11842 24 }
slaxemulator@11842 25
slaxemulator@11842 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@11842 27 genpkg_rules()
slaxemulator@11842 28 {
slaxemulator@11842 29 cp -a $install/* $fs
slaxemulator@11842 30 }