/[gentoo-x86]/dev-libs/vdk/vdk-2.5.1.ebuild
Gentoo

Contents of /dev-libs/vdk/vdk-2.5.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Feb 20 09:25:54 2015 UTC (3 years, 8 months ago) by zlogene
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
ppc/x86 stable wrt bug #526746

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xC42EB5D6)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/vdk/vdk-2.5.1.ebuild,v 1.2 2015/01/15 11:27:27 armin76 Exp $
4
5 EAPI=5
6 inherit eutils toolchain-funcs
7
8 DESCRIPTION="A Visual Development Kit for RAD"
9 SRC_URI="mirror://sourceforge/vdklib/${P}.tar.gz"
10 HOMEPAGE="http://www.mariomotta.it/vdklib/"
11
12 SLOT="0"
13 LICENSE="GPL-2"
14 KEYWORDS="~amd64 ~hppa ppc x86"
15 IUSE="doc debug"
16
17 RDEPEND="x11-libs/gtk+:2"
18 DEPEND="${RDEPEND}
19 doc? ( app-doc/doxygen )"
20
21 src_configure() {
22 local myconf=""
23
24 # gnome and sigc USE flags need to be added later
25 # when upstream decides to re-support them - ChrisWhite
26
27 use doc && \
28 myconf="${myconf} --enable-doc-html=yes \
29 --enable-doc-latex=yes \
30 --enable-doc-man=yes" \
31 || myconf="${myconf} --enable-doc-html=no \
32 --enable-doc-latex=no \
33 --enable-doc-man=no"
34
35 use debug && \
36 myconf="${myconf} --enable-debug=yes" \
37 || myconf="${myconf} --enable-debug=no"
38
39 econf \
40 ${myconf} \
41 --enable-testvdk=no \
42 || die "econf failed"
43
44 # die non user custom CFLAGS!
45 sed -e "s/CFLAGS = .*/CFLAGS = ${CFLAGS}/" -i Makefile
46 sed -e "s/CXXFLAGS = .*/CXXFLAGS = ${CXXFLAGS}/" -i Makefile
47 sed -e "s/CFLAGS = .*/CFLAGS = ${CFLAGS}/" -i vdk/Makefile
48 sed -e "s/CXXFLAGS = .*/CXXFLAGS = ${CXXFLAGS}/" -i vdk/Makefile
49 }
50
51 src_install() {
52 make DESTDIR="${D}" install || die
53 dodoc AUTHORS BUGS ChangeLog INSTALL NEWS README TODO
54 }

  ViewVC Help
Powered by ViewVC 1.1.20