/[gentoo-x86]/dev-perl/DBD-SQLite/DBD-SQLite-1.370.0-r1.ebuild
Gentoo

Contents of /dev-perl/DBD-SQLite/DBD-SQLite-1.370.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Aug 20 21:34:11 2014 UTC (4 years, 1 month ago) by axs
Branch: MAIN
CVS Tags: HEAD
bumped EAPI to 5; committed 1.350.0 bump directly to stable as no other changes present and revbump helps stable systems to keep from dieing on perl-5.18 upgrade

(Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 2B6559ED)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-perl/DBD-SQLite/DBD-SQLite-1.370.0.ebuild,v 1.4 2014/01/20 23:09:50 vapier Exp $
4
5 EAPI=5
6
7 MODULE_AUTHOR=ADAMK
8 MODULE_VERSION=1.37
9 inherit perl-module
10
11 DESCRIPTION="Self Contained RDBMS in a DBI Driver"
12
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
15 IUSE="test"
16
17 RDEPEND="
18 >=dev-db/sqlite-3.6.22[extensions(+)]
19 >=dev-perl/DBI-1.57
20 !<dev-perl/DBD-SQLite-1
21 "
22 DEPEND="${RDEPEND}
23 test? (
24 >=virtual/perl-Test-Simple-0.86
25 )
26 "
27
28 SRC_TEST="do"
29
30 src_prepare() {
31 perl-module_src_prepare
32 sed -i 's/^if ( 0 )/if ( 1 )/' "${S}"/Makefile.PL || die
33 # remove bundled sqlite (rt.cpan#61361)
34 for i in sqlite3{.c,.h,ext.h} ; do
35 rm ${i} || die
36 sed -i -e "/^${i}\$/d" MANIFEST || die
37 done
38
39 myconf="SQLITE_LOCATION=${EPREFIX}/usr"
40 }

  ViewVC Help
Powered by ViewVC 1.1.20