wok annotate perl-test-simple/receipt @ rev 21858
Fix re2c build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 18 19:26:59 2019 +0200 (2019-09-18) |
parents | 3d257ce86aef |
children | 4a30e1d84791 |
rev | line source |
---|---|
nneul@18450 | 1 # SliTaz package receipt. |
nneul@18450 | 2 |
nneul@18450 | 3 PACKAGE="perl-test-simple" |
nneul@18450 | 4 VERSION="1.302007_004" |
nneul@18450 | 5 CATEGORY="development" |
nneul@18450 | 6 SHORT_DESC="Test::Simple is a perl module" |
nneul@18450 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@18450 | 8 LICENSE="GPL" |
pascal@20671 | 9 WEB_SITE="https://metacpan.org/release/Test-Simple" |
nneul@18450 | 10 SOURCE="Test-Simple" |
nneul@18450 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
nneul@18450 | 12 WGET_URL="http://www.cpan.org/authors/id/E/EX/EXODIST/$TARBALL" |
nneul@18450 | 13 |
nneul@18450 | 14 DEPENDS="perl" |
nneul@18450 | 15 BUILD_DEPENDS="$DEPENDS" |
nneul@18450 | 16 |
nneul@18450 | 17 # Rules to configure and make the package. |
nneul@18450 | 18 compile_rules() |
nneul@18450 | 19 { |
nneul@18450 | 20 cd $src |
nneul@18450 | 21 perl Makefile.PL && |
nneul@18450 | 22 make && |
nneul@18450 | 23 make DESTDIR=$DESTDIR install |
nneul@18450 | 24 } |
nneul@18450 | 25 |
nneul@18450 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18450 | 27 genpkg_rules() |
nneul@18450 | 28 { |
nneul@18450 | 29 cp -a $install/usr $fs |
nneul@18450 | 30 } |