#Packager: Frédéric Galusik pkgname=perl-dbd-sqlite pkgver=1.37 pkgrel=1fg #arch=noarch source=(http://www.cpan.org/authors/id/A/AD/ADAMK/DBD-SQLite-$pkgver.tar.gz) sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver/ docs=("readme" "changes" "license" "manifest") url=http://search.cpan.org/dist/DBD-SQLite slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "perl-dbd-sqlite (perl DBD-SQLite module)" "Self-contained RDBMS in a DBI Driver" ) build() { cd $startdir/src/DBD-SQLite-$pkgver perl Makefile.PL || exit 1 make OPTIMIZE="$CFLAGS" || exit 1 make install INSTALLDIRS=vendor DESTDIR=$startdir/pkg || exit 1 # Remove perllocal.pod and .packlist if present in the package ( for i in perllocal.pod .packlist; do find $startdir/pkg -name "$i" -exec rm -rf {} \; done ) || exit 1 }