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/libprelude-1.0.0-r1.ebuild
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/libprelude-1.0.0-r1.ebuild')
-rw-r--r--dev-libs/libprelude/libprelude-1.0.0-r1.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/libprelude/libprelude-1.0.0-r1.ebuild b/dev-libs/libprelude/libprelude-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..7019813a684d
--- /dev/null
+++ b/dev-libs/libprelude/libprelude-1.0.0-r1.ebuild
@@ -0,0 +1,44 @@
+# 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-r1.ebuild,v 1.1 2010/05/27 15:57:24 jer Exp $
+
+EAPI=2
+
+inherit perl-module flag-o-matic eutils
+
+DESCRIPTION="Prelude-IDS Framework Library"
+HOMEPAGE="http://www.prelude-technologies.com"
+SRC_URI="${HOMEPAGE}/download/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
+IUSE="doc easy-bindings perl python swig"
+
+RDEPEND=">=net-libs/gnutls-1.0.17
+ !net-analyzer/prelude-nids"
+
+DEPEND="${RDEPEND}
+ sys-devel/flex"
+
+src_configure() {
+ filter-lfs-flags
+ econf \
+ $(use_enable doc gtk-doc) \
+ $(use_with swig) \
+ $(use_with perl) \
+ $(use_with python) \
+ $(use_enable easy-bindings)
+}
+
+src_compile() {
+ emake OTHERLDFLAGS="${LDFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" INSTALLDIRS=vendor install || die "make install failed"
+ if use perl ; then
+ perl_delete_localpod
+ perl_delete_packlist
+ fi
+}