wok-6.x annotate perl-rrd-simple/receipt @ rev 25009
updated ocaml (4.10.0 -> 4.14.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 17:27:45 2022 +0100 (2022-05-16) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
pascal@3577 | 1 # SliTaz package receipt. |
pascal@3577 | 2 |
pascal@3577 | 3 PACKAGE="perl-rrd-simple" |
pascal@3577 | 4 VERSION="1.44" |
pascal@3577 | 5 CATEGORY="development" |
pascal@3577 | 6 SHORT_DESC="RRD::Simple module is a Perl extension." |
pascal@3577 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@3577 | 9 SOURCE="RRD-Simple" |
pascal@3577 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20682 | 11 WEB_SITE="https://metacpan.org/release/$SOURCE" |
pascal@24975 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/N/NI/NICOLAW/$TARBALL" |
pascal@3577 | 13 |
pascal@11880 | 14 DEPENDS="perl rrdtool-perl" |
pascal@11947 | 15 BUILD_DEPENDS="perl rrdtool-perl perl-test-pod perl-test-deep perl-test-pod-coverage" |
pascal@11880 | 16 |
pascal@24102 | 17 current_version() |
pascal@24102 | 18 { |
pascal@24102 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 21 } |
pascal@24102 | 22 |
pascal@3577 | 23 # Rules to configure and make the package. |
pascal@3577 | 24 compile_rules() |
pascal@3577 | 25 { |
pascal@3577 | 26 cd $src |
pascal@3577 | 27 perl Makefile.PL && |
pascal@3577 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
pascal@3577 | 30 } |
pascal@3577 | 31 |
pascal@3577 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3577 | 33 genpkg_rules() |
pascal@3577 | 34 { |
pascal@3577 | 35 cp -a stuff/*/ $fs |
pascal@14702 | 36 cp -a $install/usr/lib $fs/usr |
pascal@3577 | 37 } |
pascal@3577 | 38 |