wok-6.x annotate perl-parse-recdescent/receipt @ rev 23957
Add ncat
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 28 11:26:35 2020 +0000 (2020-09-28) |
parents | 20661c276bcf |
children | ca4a422cce07 |
rev | line source |
---|---|
pascal@5971 | 1 # SliTaz package receipt. |
pascal@5971 | 2 |
pascal@5971 | 3 PACKAGE="perl-parse-recdescent" |
Hans-G?nter@23386 | 4 VERSION="1.967015" |
pascal@5971 | 5 CATEGORY="development" |
Hans-G?nter@23386 | 6 SHORT_DESC="Perl extension Parse::RecDescent." |
pascal@5971 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23386 | 9 WEB_SITE="https://metacpan.org/release/Parse-RecDescent" |
Hans-G?nter@23386 | 10 |
pascal@5971 | 11 SOURCE="Parse-RecDescent" |
pascal@5971 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23386 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Parse/$TARBALL" |
Hans-G?nter@23386 | 14 |
Hans-G?nter@23386 | 15 DEPENDS="perl" |
Hans-G?nter@23386 | 16 BUILD_DEPENDS="perl perl-extutils-makemaker" |
pascal@5971 | 17 |
pascal@5971 | 18 # Rules to configure and make the package. |
pascal@5971 | 19 compile_rules() |
pascal@5971 | 20 { |
pascal@5971 | 21 perl Makefile.PL && |
pascal@5971 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@5971 | 24 } |
pascal@5971 | 25 |
pascal@5971 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5971 | 27 genpkg_rules() |
pascal@5971 | 28 { |
pascal@5971 | 29 mkdir -p $fs/usr |
Hans-G?nter@23386 | 30 cp -a $install/usr/lib $fs/usr |
pascal@5971 | 31 } |