wok-next annotate perl-lwp-mediatypes/receipt @ rev 14996
Add LGPL2.1 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 11:00:21 2013 +0000 (2013-08-10) |
parents | 3bc98e49f52b |
children | 1a86cb99cbbf |
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 } |