wok annotate perl-universal-require/receipt @ rev 20987
updated gocr (0.50 -> 0.52)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 07 14:13:57 2019 +0100 (2019-03-07) |
parents | |
children | ca4a422cce07 |
rev | line source |
---|---|
pascal@20467 | 1 # SliTaz package receipt. |
pascal@20467 | 2 |
pascal@20467 | 3 PACKAGE="perl-universal-require" |
pascal@20467 | 4 VERSION="0.18" |
pascal@20467 | 5 CATEGORY="development" |
pascal@20467 | 6 SHORT_DESC="UNIVERSAL::require module is a Perl extension" |
pascal@20467 | 7 MAINTAINER="devel@slitaz.org" |
pascal@20467 | 8 LICENSE="GPL" |
pascal@20467 | 9 DEPENDS="perl" |
pascal@20467 | 10 BUILD_DEPENDS="perl" |
pascal@20467 | 11 SOURCE="UNIVERSAL-require" |
pascal@20467 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20467 | 13 WEB_SITE="http://cpan.org/" |
pascal@20467 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/N/NE/NEILB/$TARBALL" |
pascal@20467 | 15 |
pascal@20467 | 16 # Rules to configure and make the package. |
pascal@20467 | 17 compile_rules() |
pascal@20467 | 18 { |
pascal@20467 | 19 perl Makefile.PL && |
pascal@20467 | 20 make && |
pascal@20467 | 21 make DESTDIR=$DESTDIR install |
pascal@20467 | 22 } |
pascal@20467 | 23 |
pascal@20467 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20467 | 25 genpkg_rules() |
pascal@20467 | 26 { |
pascal@20467 | 27 mkdir -p $fs/usr |
pascal@20467 | 28 cp -a $install/usr/lib $fs/usr |
pascal@20467 | 29 } |