wok-6.x annotate perl-dbd-sqlite/receipt @ rev 24952
nagios-plugins: new patch
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 14:39:05 2022 +0100 (2022-04-23) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
admin@13715 | 1 # SliTaz package receipt. |
admin@13715 | 2 |
admin@13715 | 3 PACKAGE="perl-dbd-sqlite" |
Hans-G?nter@24199 | 4 VERSION="1.70" |
admin@13715 | 5 CATEGORY="development" |
Hans-G?nter@23316 | 6 SHORT_DESC="Perl extension DBD::SQLite." |
admin@13715 | 7 MAINTAINER="admin@trixarian.net" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24199 | 9 WEB_SITE="https://metacpan.org/pod/DBD::SQLite" |
Hans-G?nter@24199 | 10 REPOLOGY="perl:dbd-sqlite" |
Hans-G?nter@23316 | 11 |
admin@13715 | 12 SOURCE="DBD-SQLite" |
admin@13715 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23316 | 14 WGET_URL="https://www.cpan.org/modules/by-module/DBD/$TARBALL" |
pascal@20488 | 15 |
Hans-G?nter@23316 | 16 DEPENDS="libsqlite perl perl-dbi-dbd" |
admin@13715 | 17 BUILD_DEPENDS="perl perl-dbi-dbd sqlite-dev" |
admin@13715 | 18 |
pascal@24102 | 19 current_version() |
pascal@24102 | 20 { |
pascal@24102 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 23 } |
pascal@24102 | 24 |
admin@13715 | 25 # Rules to configure and make the package. |
admin@13715 | 26 compile_rules() |
admin@13715 | 27 { |
Hans-G?nter@23316 | 28 perl Makefile.PL && |
Hans-G?nter@23316 | 29 make && |
Hans-G?nter@24199 | 30 make install DESTDIR=$DESTDIR |
admin@13715 | 31 } |
admin@13715 | 32 |
admin@13715 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
admin@13715 | 34 genpkg_rules() |
admin@13715 | 35 { |
Hans-G?nter@24199 | 36 cook_copy_folders lib |
admin@13715 | 37 } |