wok-current annotate perl-dbi-dbd/receipt @ rev 24958
updated nbd (3.20 -> 3.24)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:50:32 2022 +0100 (2022-04-23) |
parents | b3c3c028e5ba |
children |
rev | line source |
---|---|
pascal@1601 | 1 # SliTaz package receipt. |
pascal@1601 | 2 |
pascal@1601 | 3 PACKAGE="perl-dbi-dbd" |
pascal@20487 | 4 VERSION="1.641" |
pascal@1601 | 5 CATEGORY="development" |
pascal@1601 | 6 SHORT_DESC="DBI::DBD module is a Perl extension." |
pascal@1601 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@1601 | 9 DEPENDS="perl" |
pascal@1601 | 10 BUILD_DEPENDS="perl" |
pascal@1601 | 11 SOURCE="DBI" |
pascal@1601 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@24103 | 13 WEB_SITE="https://metacpan.org/dist/DBI" |
pascal@1601 | 14 WGET_URL="http://cpan.org/authors/id/T/TI/TIMB/$TARBALL" |
pascal@1601 | 15 |
pascal@24103 | 16 current_version() |
pascal@24103 | 17 { |
pascal@24103 | 18 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24103 | 19 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24103 | 20 } |
pascal@24103 | 21 |
pascal@1601 | 22 # Rules to configure and make the package. |
pascal@1601 | 23 compile_rules() |
pascal@1601 | 24 { |
pascal@1601 | 25 perl Makefile.PL |
pascal@1601 | 26 make |
pascal@14702 | 27 make DESTDIR=$DESTDIR install |
pascal@1601 | 28 } |
pascal@1601 | 29 |
pascal@1601 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1601 | 31 genpkg_rules() |
pascal@1601 | 32 { |
pascal@1601 | 33 mkdir -p $fs/usr |
pascal@14702 | 34 cp -a $install/usr/lib $fs/usr |
pascal@1601 | 35 } |