From b501371f5219d92af1194f29fd1cc2a85896bfab Mon Sep 17 00:00:00 2001 From: Jeff Bilyk Date: Sun, 23 Jan 2011 05:15:01 +0000 Subject: testing/perl-dbd-sqlite: new aport new aport --- testing/perl-dbd-sqlite/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 testing/perl-dbd-sqlite/APKBUILD (limited to 'testing') diff --git a/testing/perl-dbd-sqlite/APKBUILD b/testing/perl-dbd-sqlite/APKBUILD new file mode 100644 index 000000000..7da98e6ca --- /dev/null +++ b/testing/perl-dbd-sqlite/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Jeff Bilyk +# Maintainer: Natanael Copa +pkgname=perl-dbd-sqlite +_realpkgname=DBD-SQLite +pkgver=0.31 +pkgrel=0 +pkgdesc="Perl CPAN DBD::SQLite module" +url="http://search.cpan.org/dist/${_realpkgname}" +arch="all" +license="GPL PerlArtistic" +depends="perl-dbi" +makedepends="perl perl-dev" +source="http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/${_realpkgname}-$pkgver.tar.gz" + +_builddir="$srcdir"/${_realpkgname}-$pkgver + +prepare() { + return 0 +} + +build() { + cd "$_builddir" + perl Makefile.PL INSTALLDIRS=vendor + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="4aa99c39104b7cd39129aec548e7d3e4 DBD-SQLite-0.31.tar.gz" -- cgit v1.2.3