wok-stable annotate perl-time-hires/receipt @ rev 10518
nfs-utils: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 16:10:05 2011 +0200 (2011-05-25) |
parents | d0998c1aa2e0 |
children |
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@1695 | 8 DEPENDS="perl" |
pascal@1695 | 9 BUILD_DEPENDS="perl" |
pascal@1695 | 10 SOURCE="Time-HiRes" |
pascal@1695 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1743 | 12 WEB_SITE="http://cpan.org/" |
pascal@1695 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/J/JH/JHI/$TARBALL" |
pascal@1695 | 14 |
pascal@1695 | 15 # Rules to configure and make the package. |
pascal@1695 | 16 compile_rules() |
pascal@1695 | 17 { |
pascal@1695 | 18 cd $src |
pascal@1695 | 19 perl Makefile.PL && |
pascal@1695 | 20 make && |
pascal@1695 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1695 | 22 } |
pascal@1695 | 23 |
pascal@1695 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1695 | 25 genpkg_rules() |
pascal@1695 | 26 { |
pascal@1695 | 27 mkdir -p $fs/usr |
pascal@1695 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1695 | 29 } |
pascal@1695 | 30 |