wok-6.x annotate perl-dbi/receipt @ rev 24689

updated jp2a (1.0.9 -> 1.1.1)
author Hans-G?nter Theisgen
date Sat Mar 12 13:47:37 2022 +0100 (2022-03-12)
parents 5f6c5106b1f5
children
rev   line source
pascal@1599 1 # SliTaz package receipt.
pascal@1599 2
pascal@1599 3 PACKAGE="perl-dbi"
pascal@1599 4 VERSION="v3.0.17"
pascal@1599 5 CATEGORY="development"
pascal@24103 6 SHORT_DESC="Class::DBI module is a Perl extension."
pascal@1599 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
pascal@1599 9 DEPENDS="perl"
pascal@1599 10 BUILD_DEPENDS="perl"
pascal@1599 11 SOURCE="Class-DBI"
pascal@1599 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@24103 13 WEB_SITE="https://metacpan.org/dist/Class-DBI"
pascal@1599 14 WGET_URL="http://cpan.org/authors/id/T/TM/TMTM/$TARBALL"
pascal@1599 15
pascal@24103 16 current_version()
pascal@24103 17 {
pascal@24103 18 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24384 19 sed '/Class-DBI/!d;s|.*Class-DBI-||;s| .*||;q'
pascal@24103 20 }
pascal@24103 21
pascal@1599 22 # Rules to configure and make the package.
pascal@1599 23 compile_rules()
pascal@1599 24 {
pascal@1599 25 cd $src
pascal@1599 26 perl Makefile.PL
pascal@1599 27 make
pascal@14702 28 make DESTDIR=$DESTDIR install
pascal@1599 29 }
pascal@1599 30
pascal@1599 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1599 32 genpkg_rules()
pascal@1599 33 {
pascal@1599 34 mkdir -p $fs/usr
pascal@14702 35 cp -a $install/usr/lib $fs/usr
pascal@1599 36 }
pascal@1599 37