wok-6.x annotate perl-time-hires/receipt @ rev 22167
corrected activeresource
author | Hans-G?nter Theisgen |
---|---|
date | Fri Nov 08 09:03:27 2019 +0100 (2019-11-08) |
parents | 2d12ebd38be4 |
children | cda6d9337705 |
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@20682 | 14 WGET_URL="https://metacpan.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 |