summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-02-02 09:10:27 +0000
committerPatrick Lauer <patrick@gentoo.org>2013-02-02 09:10:27 +0000
commitfee04fd1bec9fcaf1b502e1ab177e3b60e013d35 (patch)
treef3fe52d565f1219e134a34be201860a3e9f46dd5 /dev-libs/vdk/vdk-2.5.1.ebuild
parentBump (diff)
downloadgentoo-2-fee04fd1bec9fcaf1b502e1ab177e3b60e013d35.tar.gz
gentoo-2-fee04fd1bec9fcaf1b502e1ab177e3b60e013d35.tar.bz2
gentoo-2-fee04fd1bec9fcaf1b502e1ab177e3b60e013d35.zip
Bump
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-libs/vdk/vdk-2.5.1.ebuild')
-rw-r--r--dev-libs/vdk/vdk-2.5.1.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/vdk/vdk-2.5.1.ebuild b/dev-libs/vdk/vdk-2.5.1.ebuild
new file mode 100644
index 000000000000..c3d5f3d2ef67
--- /dev/null
+++ b/dev-libs/vdk/vdk-2.5.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/vdk/vdk-2.5.1.ebuild,v 1.1 2013/02/02 09:10:27 patrick Exp $
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A Visual Development Kit for RAD"
+SRC_URI="mirror://sourceforge/vdklib/${P}.tar.gz"
+HOMEPAGE="http://www.mariomotta.it/vdklib/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="doc debug"
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+src_configure() {
+ local myconf=""
+
+ # gnome and sigc USE flags need to be added later
+ # when upstream decides to re-support them - ChrisWhite
+
+ use doc && \
+ myconf="${myconf} --enable-doc-html=yes \
+ --enable-doc-latex=yes \
+ --enable-doc-man=yes" \
+ || myconf="${myconf} --enable-doc-html=no \
+ --enable-doc-latex=no \
+ --enable-doc-man=no"
+
+ use debug && \
+ myconf="${myconf} --enable-debug=yes" \
+ || myconf="${myconf} --enable-debug=no"
+
+ econf \
+ ${myconf} \
+ --enable-testvdk=no \
+ || die "econf failed"
+
+ # die non user custom CFLAGS!
+ sed -e "s/CFLAGS = .*/CFLAGS = ${CFLAGS}/" -i Makefile
+ sed -e "s/CXXFLAGS = .*/CXXFLAGS = ${CXXFLAGS}/" -i Makefile
+ sed -e "s/CFLAGS = .*/CFLAGS = ${CFLAGS}/" -i vdk/Makefile
+ sed -e "s/CXXFLAGS = .*/CXXFLAGS = ${CXXFLAGS}/" -i vdk/Makefile
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc AUTHORS BUGS ChangeLog INSTALL NEWS README TODO
+}