summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2009-07-12 19:07:10 +0000
committerMark Loeser <halcy0n@gentoo.org>2009-07-12 19:07:10 +0000
commitf7007d79f9c17ea6ffbaefa5f8b3c36f837092c7 (patch)
tree58fbb0b3be3c5359f3752c8ef773255063c4b89f /dev-libs/libprelude/libprelude-0.9.24.ebuild
parentReplace -O[3-9] with -O2 wrt #275437. Include cstdio for printf function, tha... (diff)
downloadgentoo-2-f7007d79f9c17ea6ffbaefa5f8b3c36f837092c7.tar.gz
gentoo-2-f7007d79f9c17ea6ffbaefa5f8b3c36f837092c7.tar.bz2
gentoo-2-f7007d79f9c17ea6ffbaefa5f8b3c36f837092c7.zip
Version bump and remove old
(Portage version: 2.2_rc33-r1/cvs/Linux i686)
Diffstat (limited to 'dev-libs/libprelude/libprelude-0.9.24.ebuild')
-rw-r--r--dev-libs/libprelude/libprelude-0.9.24.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/libprelude/libprelude-0.9.24.ebuild b/dev-libs/libprelude/libprelude-0.9.24.ebuild
new file mode 100644
index 000000000000..200762479d38
--- /dev/null
+++ b/dev-libs/libprelude/libprelude-0.9.24.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libprelude/libprelude-0.9.24.ebuild,v 1.1 2009/07/12 19:07:10 halcy0n Exp $
+
+inherit perl-module flag-o-matic eutils
+
+DESCRIPTION="Prelude-IDS Framework Library"
+HOMEPAGE="http://www.prelude-ids.org/"
+SRC_URI="http://www.prelude-ids.org/download/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
+IUSE="doc perl python swig"
+
+RDEPEND=">=net-libs/gnutls-1.0.17
+ !net-analyzer/prelude-nids"
+
+DEPEND="${RDEPEND}
+ sys-devel/flex"
+
+pkg_setup() {
+ use perl && perl-module_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ filter-lfs-flags
+}
+
+src_compile() {
+ econf \
+ $(use_enable doc gtk-doc) \
+ $(use_with swig) \
+ $(use_with perl) \
+ $(use_with python) \
+ || die "econf failed"
+
+ emake OTHERLDFLAGS="${LDFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ use perl && fixlocalpod
+}
+
+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 ; }