summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-05-27 15:57:24 +0000
committerJeroen Roovers <jer@gentoo.org>2010-05-27 15:57:24 +0000
commite63e69da9a73d4d704f3f61ecbf53b38d87036ba (patch)
tree9791cd21a54eb062a15f373e3c44899cb92da347 /dev-libs/libprelude
parentConvert to ruby-ng. Removed old revision. (diff)
downloadhistorical-e63e69da9a73d4d704f3f61ecbf53b38d87036ba.tar.gz
historical-e63e69da9a73d4d704f3f61ecbf53b38d87036ba.tar.bz2
historical-e63e69da9a73d4d704f3f61ecbf53b38d87036ba.zip
Install Perl modules into vendor-dir (bug #298455).
Package-Manager: portage-2.2_rc67/cvs/Linux i686
Diffstat (limited to 'dev-libs/libprelude')
-rw-r--r--dev-libs/libprelude/ChangeLog8
-rw-r--r--dev-libs/libprelude/libprelude-1.0.0-r1.ebuild (renamed from dev-libs/libprelude/libprelude-1.0.0.ebuild)32
2 files changed, 19 insertions, 21 deletions
diff --git a/dev-libs/libprelude/ChangeLog b/dev-libs/libprelude/ChangeLog
index 29e94be49bec..d37287e38c03 100644
--- a/dev-libs/libprelude/ChangeLog
+++ b/dev-libs/libprelude/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libprelude
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libprelude/ChangeLog,v 1.70 2010/05/27 04:54:46 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libprelude/ChangeLog,v 1.71 2010/05/27 15:57:24 jer Exp $
+
+*libprelude-1.0.0-r1 (27 May 2010)
+
+ 27 May 2010; Jeroen Roovers <jer@gentoo.org> -libprelude-1.0.0.ebuild,
+ +libprelude-1.0.0-r1.ebuild:
+ Install Perl modules into vendor-dir (bug #298455).
*libprelude-1.0.0 (27 May 2010)
diff --git a/dev-libs/libprelude/libprelude-1.0.0.ebuild b/dev-libs/libprelude/libprelude-1.0.0-r1.ebuild
index 31d100a78cdf..7019813a684d 100644
--- a/dev-libs/libprelude/libprelude-1.0.0.ebuild
+++ b/dev-libs/libprelude/libprelude-1.0.0-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libprelude/libprelude-1.0.0.ebuild,v 1.1 2010/05/27 04:54:46 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libprelude/libprelude-1.0.0-r1.ebuild,v 1.1 2010/05/27 15:57:24 jer Exp $
+
+EAPI=2
inherit perl-module flag-o-matic eutils
@@ -19,34 +21,24 @@ RDEPEND=">=net-libs/gnutls-1.0.17
DEPEND="${RDEPEND}
sys-devel/flex"
-pkg_setup() {
- use perl && perl-module_pkg_setup
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_configure() {
filter-lfs-flags
-}
-
-src_compile() {
econf \
$(use_enable doc gtk-doc) \
$(use_with swig) \
$(use_with perl) \
$(use_with python) \
- $(use_enable easy-bindings) \
- || die "econf failed"
+ $(use_enable easy-bindings)
+}
+src_compile() {
emake OTHERLDFLAGS="${LDFLAGS}" || die "emake failed"
}
src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
- use perl && fixlocalpod
+ emake DESTDIR="${D}" INSTALLDIRS=vendor install || die "make install failed"
+ if use perl ; then
+ perl_delete_localpod
+ perl_delete_packlist
+ fi
}
-
-pkg_preinst() { use perl && perl-module_pkg_preinst ; }
-pkg_postinst() { use perl && perl-module_pkg_postinst ; }
-pkg_prerm() { use perl && perl-module_pkg_prerm ; }
-pkg_postrm() { use perl && perl-module_pkg_postrm ; }