diff options
author | Jeff Bilyk <jbilyk@gmail.com> | 2011-01-23 05:15:01 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-01-24 08:12:51 +0200 |
commit | b501371f5219d92af1194f29fd1cc2a85896bfab (patch) | |
tree | 8cc079f78bd99798001a1116288aa663e66625b9 /testing | |
parent | 7889a8fbe8a6738d492c93017eb989979c3159f6 (diff) | |
download | aports-b501371f5219d92af1194f29fd1cc2a85896bfab.tar.bz2 aports-b501371f5219d92af1194f29fd1cc2a85896bfab.tar.xz |
testing/perl-dbd-sqlite: new aport
new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-dbd-sqlite/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
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 <jbilyk at gmail> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +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" |