From ac65a5f9e0195240301ecfa5b65c5fc2e370bc9f Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Fri, 12 Jun 2009 07:45:43 +0000 Subject: extra/perl-db_file: moved to extra --- extra/perl-db_file/APKBUILD | 26 ++++++++++++++++++++++++++ testing/perl-db_file/APKBUILD | 26 -------------------------- 2 files changed, 26 insertions(+), 26 deletions(-) create mode 100644 extra/perl-db_file/APKBUILD delete mode 100644 testing/perl-db_file/APKBUILD diff --git a/extra/perl-db_file/APKBUILD b/extra/perl-db_file/APKBUILD new file mode 100644 index 0000000000..7d3edc3ab1 --- /dev/null +++ b/extra/perl-db_file/APKBUILD @@ -0,0 +1,26 @@ +# Contributor: Leonardo Arena +# Maintainer: Leonardo Arena +pkgname=perl-db_file +_realname=DB_File +pkgver=1.820 +pkgrel=0 +pkgdesc="Perl5 access to Berkeley DB" +url="http://search.cpan.org/~pmqs/DB_File-1.820/" +license="GPL PerlArtistic" +depends="perl db" +makedepends="perl-dev db-dev" +install= +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/$_realname-$pkgver.tar.gz" + +build() { + cd "$srcdir/$_realname-$pkgver" + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make DESTDIR="$pkgdir" install + # creates file collision among perl modules + rm $pkgdir/usr/lib/perl5/5.10.0/i686-linux/perllocal.pod +} + +md5sums="28979bee29d8075b0dffab02fe29df6e DB_File-1.820.tar.gz" diff --git a/testing/perl-db_file/APKBUILD b/testing/perl-db_file/APKBUILD deleted file mode 100644 index 7d3edc3ab1..0000000000 --- a/testing/perl-db_file/APKBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Contributor: Leonardo Arena -# Maintainer: Leonardo Arena -pkgname=perl-db_file -_realname=DB_File -pkgver=1.820 -pkgrel=0 -pkgdesc="Perl5 access to Berkeley DB" -url="http://search.cpan.org/~pmqs/DB_File-1.820/" -license="GPL PerlArtistic" -depends="perl db" -makedepends="perl-dev db-dev" -install= -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/$_realname-$pkgver.tar.gz" - -build() { - cd "$srcdir/$_realname-$pkgver" - - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make DESTDIR="$pkgdir" install - # creates file collision among perl modules - rm $pkgdir/usr/lib/perl5/5.10.0/i686-linux/perllocal.pod -} - -md5sums="28979bee29d8075b0dffab02fe29df6e DB_File-1.820.tar.gz" -- cgit v1.2.3