/[gentoo-x86]/media-gfx/opencsg/opencsg-1.3.2.ebuild
Gentoo

Contents of /media-gfx/opencsg/opencsg-1.3.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat Aug 4 14:12:50 2012 UTC (9 months, 2 weeks ago) by kensington
Branch: MAIN
Changes since 1.1: +2 -2 lines
Add missing slot dependencies on Qt.

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 mattm 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 kensington 1.2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/opencsg/opencsg-1.3.2.ebuild,v 1.1 2012/08/02 02:06:34 mattm Exp $
4 mattm 1.1
5     EAPI="2"
6    
7     inherit qt4-r2
8    
9     DESCRIPTION="The Constructive Solid Geometry rendering library"
10     HOMEPAGE="http://www.opencsg.org/"
11     SRC_URI="http://www.opencsg.org/OpenCSG-${PV}.tar.gz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15     KEYWORDS=""
16     IUSE=""
17    
18 kensington 1.2 CDEPEND="media-libs/glew x11-libs/qt-core:4"
19 mattm 1.1 DEPEND="${CDEPEND} sys-devel/gcc"
20     RDEPEND="${CDEPEND}"
21    
22     S="${WORKDIR}/OpenCSG-${PV}"
23    
24     src_unpack() {
25     unpack ${A}
26    
27     /bin/rm -Rf "${S}"/glew
28     }
29    
30     src_prepare() {
31     # We actually want to install somthing
32     cat << EOF >> src/src.pro
33     include.path=/usr/include
34     include.files=../include/*
35     target.path=/usr/lib
36     INSTALLS += target include
37     EOF
38    
39     }
40    
41     src_configure() {
42     eqmake4 "${S}"/src/src.pro
43     }

  ViewVC Help
Powered by ViewVC 1.1.13