wok-current annotate perl-dbd-sqlite/receipt @ rev 24053
Up slitaz-boot-script (471)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 27 13:42:59 2021 +0000 (2021-05-27) |
parents | 34787ac3a77e |
children | 15650f5d595b |
rev | line source |
---|---|
admin@13715 | 1 # SliTaz package receipt. |
admin@13715 | 2 |
admin@13715 | 3 PACKAGE="perl-dbd-sqlite" |
Hans-G?nter@23316 | 4 VERSION="1.64" |
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@23316 | 9 WEB_SITE="https://metacpan.org/release/DBD-SQLite" |
Hans-G?nter@23316 | 10 |
admin@13715 | 11 SOURCE="DBD-SQLite" |
admin@13715 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23316 | 13 WGET_URL="https://www.cpan.org/modules/by-module/DBD/$TARBALL" |
pascal@20488 | 14 |
Hans-G?nter@23316 | 15 DEPENDS="libsqlite perl perl-dbi-dbd" |
admin@13715 | 16 BUILD_DEPENDS="perl perl-dbi-dbd sqlite-dev" |
admin@13715 | 17 |
admin@13715 | 18 # Rules to configure and make the package. |
admin@13715 | 19 compile_rules() |
admin@13715 | 20 { |
Hans-G?nter@23316 | 21 perl Makefile.PL && |
Hans-G?nter@23316 | 22 make && |
admin@13715 | 23 make DESTDIR=$DESTDIR install |
admin@13715 | 24 } |
admin@13715 | 25 |
admin@13715 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
admin@13715 | 27 genpkg_rules() |
admin@13715 | 28 { |
admin@13715 | 29 mkdir -p $fs/usr |
Hans-G?nter@23316 | 30 cp -a $install/usr/lib $fs/usr |
admin@13715 | 31 } |