wok-current annotate perl-common-sense/receipt @ rev 23921
Up slitaz-tools (1036), tazinst (105), tazusb (209)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 21 15:07:47 2020 +0000 (2020-08-21) |
parents | 46fc8daa3b41 |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@17380 | 1 # SliTaz package receipt. |
pascal@17380 | 2 |
pascal@17380 | 3 PACKAGE="perl-common-sense" |
Hans-G?nter@23298 | 4 VERSION="3.74" |
pascal@17380 | 5 CATEGORY="development" |
Hans-G?nter@23298 | 6 SHORT_DESC="Perl extension common::sense." |
pascal@17380 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18334 | 8 LICENSE="GPL" |
Hans-G?nter@23298 | 9 WEB_SITE="https://metacpan.org/release/common-sense" |
Hans-G?nter@23298 | 10 |
pascal@17380 | 11 SOURCE="common-sense" |
pascal@17380 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@17380 | 13 WGET_URL="http://cpan.org/authors/id/M/ML/MLEHMANN/$TARBALL" |
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 |
Hans-G?nter@23298 | 30 cp -a $install/usr/lib $fs/usr |
pascal@17380 | 31 } |