wok annotate perl-file-which/receipt @ rev 24034
Openssh (8.5p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 08 09:21:26 2021 +0000 (2021-04-08) |
parents | 660220d9dba5 |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@20467 | 1 # SliTaz package receipt. |
pascal@20467 | 2 |
pascal@20467 | 3 PACKAGE="perl-file-which" |
Hans-G?nter@23333 | 4 VERSION="1.23" |
pascal@20467 | 5 CATEGORY="development" |
Hans-G?nter@23333 | 6 SHORT_DESC="Perl extension File::Which." |
Hans-G?nter@23333 | 7 MAINTAINER="maintainer@slitaz.org" |
pascal@20467 | 8 LICENSE="GPL" |
Hans-G?nter@23333 | 9 WEB_SITE="https://metacpan.org/release/File-Which" |
Hans-G?nter@23333 | 10 |
Hans-G?nter@23333 | 11 SOURCE="File-Which" |
Hans-G?nter@23333 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23333 | 13 WGET_URL="https://www.cpan.org/modules/by-module/File/$TARBALL" |
Hans-G?nter@23333 | 14 |
pascal@20467 | 15 DEPENDS="perl" |
pascal@20467 | 16 BUILD_DEPENDS="perl" |
pascal@20467 | 17 |
pascal@20467 | 18 # Rules to configure and make the package. |
pascal@20467 | 19 compile_rules() |
pascal@20467 | 20 { |
Hans-G?nter@23333 | 21 perl Makefile.PL && |
Hans-G?nter@23333 | 22 make && |
pascal@20467 | 23 make DESTDIR=$DESTDIR install |
pascal@20467 | 24 } |
pascal@20467 | 25 |
pascal@20467 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20467 | 27 genpkg_rules() |
pascal@20467 | 28 { |
pascal@20469 | 29 mkdir -p $fs/usr |
Hans-G?nter@23333 | 30 cp -a $install/usr/lib $fs/usr |
pascal@20467 | 31 } |