wok-6.x annotate perl-getopt-long/receipt @ rev 23948
Add barrage & penguin-command (thanks rerievo)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 20 16:26:50 2020 +0000 (2020-09-20) |
parents | 2d12ebd38be4 |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@1616 | 1 # SliTaz package receipt. |
pascal@1616 | 2 |
pascal@1616 | 3 PACKAGE="perl-getopt-long" |
Hans-G?nter@23337 | 4 VERSION="2.51" |
pascal@1616 | 5 CATEGORY="development" |
Hans-G?nter@23337 | 6 SHORT_DESC="Perl extension Getopt::Long." |
pascal@1616 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23337 | 9 WEB_SITE="https://metacpan.org/release/Getopt-Long" |
Hans-G?nter@23337 | 10 |
Hans-G?nter@23337 | 11 SOURCE="Getopt-Long" |
Hans-G?nter@23337 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23337 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/J/JV/JV/$TARBALL" |
Hans-G?nter@23337 | 14 |
pascal@1616 | 15 DEPENDS="perl" |
pascal@1616 | 16 BUILD_DEPENDS="perl" |
pascal@1616 | 17 |
pascal@1616 | 18 # Rules to configure and make the package. |
pascal@1616 | 19 compile_rules() |
pascal@1616 | 20 { |
pascal@1616 | 21 perl Makefile.PL && |
pascal@1616 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@1616 | 24 } |
pascal@1616 | 25 |
pascal@1616 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1616 | 27 genpkg_rules() |
pascal@1616 | 28 { |
pascal@1616 | 29 mkdir -p $fs/usr |
Hans-G?nter@23337 | 30 cp -a $install/usr/lib $fs/usr |
pascal@1616 | 31 } |