wok annotate perl-time-hires/receipt @ rev 14994
enlightenment: add license
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 09:09:41 2013 +0000 (2013-08-10) |
parents | d38ad8b2c6a5 |
children | 20661c276bcf |
rev | line source |
---|---|
pascal@1695 | 1 # SliTaz package receipt. |
pascal@1695 | 2 |
pascal@1695 | 3 PACKAGE="perl-time-hires" |
pascal@1695 | 4 VERSION="1.9715" |
pascal@1695 | 5 CATEGORY="development" |
pascal@1695 | 6 SHORT_DESC="Time::HiRes module is a Perl extension." |
pascal@1695 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@1695 | 9 DEPENDS="perl" |
pascal@1695 | 10 BUILD_DEPENDS="perl" |
pascal@1695 | 11 SOURCE="Time-HiRes" |
pascal@1695 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1743 | 13 WEB_SITE="http://cpan.org/" |
pascal@1695 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/J/JH/JHI/$TARBALL" |
pascal@1695 | 15 |
pascal@1695 | 16 # Rules to configure and make the package. |
pascal@1695 | 17 compile_rules() |
pascal@1695 | 18 { |
pascal@1695 | 19 cd $src |
pascal@1695 | 20 perl Makefile.PL && |
pascal@1695 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@1695 | 23 } |
pascal@1695 | 24 |
pascal@1695 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1695 | 26 genpkg_rules() |
pascal@1695 | 27 { |
pascal@1695 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@1695 | 30 } |
pascal@1695 | 31 |