wok-6.x annotate perl-io/receipt @ rev 20684
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 27 21:28:24 2019 +0100 (2019-01-27) |
parents | |
children | 124c0994a3c2 |
rev | line source |
---|---|
pascal@20471 | 1 # SliTaz package receipt. |
pascal@20471 | 2 |
pascal@20471 | 3 PACKAGE="perl-io" |
pascal@20471 | 4 VERSION="1.39" |
pascal@20471 | 5 CATEGORY="development" |
pascal@20471 | 6 SHORT_DESC="IO module is a Perl extension." |
pascal@20471 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20471 | 8 LICENSE="GPL" |
pascal@20471 | 9 DEPENDS="perl" |
pascal@20471 | 10 BUILD_DEPENDS="perl" |
pascal@20471 | 11 SOURCE="IO" |
pascal@20471 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20471 | 13 WEB_SITE="http://cpan.org/" |
pascal@20471 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/T/TO/TODDR/$TARBALL" |
pascal@20471 | 15 |
pascal@20471 | 16 # Rules to configure and make the package. |
pascal@20471 | 17 compile_rules() |
pascal@20471 | 18 { |
pascal@20471 | 19 perl Makefile.PL && |
pascal@20471 | 20 make && |
pascal@20471 | 21 make DESTDIR=$DESTDIR install |
pascal@20471 | 22 } |
pascal@20471 | 23 |
pascal@20471 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20471 | 25 genpkg_rules() |
pascal@20471 | 26 { |
pascal@20471 | 27 mkdir -p $fs/usr |
pascal@20471 | 28 cp -a $install/usr/lib $fs/usr |
pascal@20471 | 29 } |