Jeff Bilyk: 1 testing/perl-dbd-sqlite: new aport 1 files changed, 32 insertions(+), 0 deletions(-)
Copy & paste the following snippet into your terminal to import this patchset into git:
curl -s https://lists.alpinelinux.org/~alpine/devel/patches/255/mbox | git am -3Learn more about email & git
new aport
Timo Teräs <timo.teras@iki.fi>Applied. Thanks. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---
--- testing/perl-dbd-sqlite/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 testing/perl-dbd-sqlite/APKBUILD diff --git a/testing/perl-dbd-sqlite/APKBUILD b/testing/perl-dbd-sqlite/APKBUILD new file mode 100644 index 0000000..72f8ef4 --- /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" -- 1.7.3.5
Leonardo Arena <rnalrd@gmail.com>I've applied those fixes, and took maintainership. Thanks! - leo --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---
--- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---
Leonardo Arena <rnalrd@gmail.com>> new aport > --- > �testing/perl-dbd-sqlite/APKBUILD | � 32 ++++++++++++++++++++++++++++++++ > �1 files changed, 32 insertions(+), 0 deletions(-) > �create mode 100644 testing/perl-dbd-sqlite/APKBUILD > > diff --git a/testing/perl-dbd-sqlite/APKBUILD b/testing/perl-dbd-sqlite/APKBUILD > new file mode 100644 > index 0000000..72f8ef4 > --- /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 It would be better to set variable PERL_MM_USE_DEFAULT to 1, so that ExtUtils::MakeMaker should not ask any question. It would be better to add a "|| return 1" at the end. > + � � � make || return 1 > +} > + > +package() { > + � � � cd "$_builddir" > + � � � make DESTDIR="$pkgdir" install "Make" should have a "|| return 1". After installing, you should search for perlocal.pod file and delete it. It creates file collisions among perl packages. # creates file collision among perl modules find "$pkgdir" -name perllocal.pod -delete