wok-next diff perl-dbd-sqlite/receipt @ rev 19709

Up at-spi2-atk, libpcap, nettle, readline, tiff, xcb-util* and 220 Perl packages (there are still about 20 left)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 11 02:23:02 2017 +0300 (2017-05-11)
parents 2d12ebd38be4
children dfb3d7f1daed
line diff
     1.1 --- a/perl-dbd-sqlite/receipt	Fri Jun 07 18:46:07 2013 +0200
     1.2 +++ b/perl-dbd-sqlite/receipt	Thu May 11 02:23:02 2017 +0300
     1.3 @@ -1,31 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-dbd-sqlite"
     1.7 -VERSION="1.37"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="DBD::SQLite module is a Perl extension."
    1.10 +VERSION="1.54"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="DBD::SQLite - Self-contained RDBMS in a DBI Driver"
    1.13  MAINTAINER="admin@trixarian.net"
    1.14  LICENSE="GPL"
    1.15 -SOURCE="DBD-SQLite"
    1.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://cpan.org/"
    1.18 -WGET_URL="http://cpan.org/authors/id/A/AD/ADAMK/$TARBALL"
    1.19 -DEPENDS="perl perl-dbi-dbd libsqlite"
    1.20 -BUILD_DEPENDS="perl perl-dbi-dbd sqlite-dev"
    1.21 +WEB_SITE="https://metacpan.org/release/DBD-SQLite"
    1.22 +
    1.23 +TARBALL="DBD-SQLite-$VERSION.tar.gz"
    1.24 +WGET_URL="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/$TARBALL"
    1.25 +
    1.26 +# FIXME: sqlite-dev and libsqlite aren't detected as (b)deps
    1.27 +DEPENDS="perl-dbi libsqlite"
    1.28 +BUILD_DEPENDS="$DEPENDS sqlite-dev"
    1.29  
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	cd $src
    1.34 -	perl Makefile.PL
    1.35 -	make
    1.36 -	make DESTDIR=$DESTDIR install
    1.37 +	perl Makefile.PL &&
    1.38 +	make && make DESTDIR=$install install &&
    1.39 +
    1.40 +	chmod -R u+w $install
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	mkdir -p $fs/usr
    1.47 -	cp -a $install/usr/lib $fs/usr
    1.48 +	copy @std @dev
    1.49  }
    1.50 -