wok-6.x annotate perl-event/receipt @ rev 22678
cookutils: do not break build env !
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 18 16:22:42 2020 +0100 (2020-01-18) |
parents | a95b0be09647 |
children | b5e38f28d371 |
rev | line source |
---|---|
pascal@17380 | 1 # SliTaz package receipt. |
pascal@17380 | 2 |
pascal@17380 | 3 PACKAGE="perl-event" |
pascal@17380 | 4 VERSION="1.23" |
pascal@17380 | 5 CATEGORY="development" |
pascal@17380 | 6 SHORT_DESC="Event module is a Perl extension." |
pascal@17380 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18334 | 8 LICENSE="unknown" |
pascal@17380 | 9 SOURCE="Event" |
pascal@17380 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@17380 | 11 WEB_SITE="http://cpan.org/" |
pascal@17380 | 12 WGET_URL="http://cpan.org/authors/id/E/ET/ETJ/$TARBALL" |
pascal@17380 | 13 SUGGESTED="perl-time-hires" |
pascal@17380 | 14 |
pascal@17380 | 15 DEPENDS="perl" |
pascal@17380 | 16 BUILD_DEPENDS="perl" |
pascal@17380 | 17 |
pascal@17380 | 18 # Rules to configure and make the package. |
pascal@17380 | 19 compile_rules() |
pascal@17380 | 20 { |
pascal@17380 | 21 perl Makefile.PL |
pascal@17380 | 22 make |
pascal@17380 | 23 make DESTDIR=$DESTDIR install |
pascal@17380 | 24 } |
pascal@17380 | 25 |
pascal@17380 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17380 | 27 genpkg_rules() |
pascal@17380 | 28 { |
pascal@17380 | 29 mkdir -p $fs/usr |
pascal@17380 | 30 cp -a $install/usr/lib $fs/usr |
pascal@17380 | 31 } |
pascal@17380 | 32 |