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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat Mar 2 21:37:49 2013 UTC (6 years, 11 months ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Move Qt dependencies to the new category

(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)

1 mattm 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 hwoarang 1.2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/opencsg/opencsg-1.3.2-r1.ebuild,v 1.1 2013/02/11 03:56:07 mattm Exp $
4 mattm 1.1
5     EAPI=4
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="~amd64 ~x86"
16     IUSE=""
17    
18 hwoarang 1.2 CDEPEND="media-libs/glew dev-qt/qtcore:4"
19 mattm 1.1 DEPEND="${CDEPEND} sys-devel/gcc"
20     RDEPEND="${CDEPEND}"
21    
22     S="${WORKDIR}/OpenCSG-${PV}"
23    
24     src_prepare() {
25     # removes duplicated headers
26     rm -r "${S}"/glew || die
27    
28     # We actually want to install something
29     cat << EOF >> src/src.pro
30     include.path=/usr/include
31     include.files=../include/*
32     target.path=/usr/$(get_libdir)
33     INSTALLS += target include
34     EOF
35    
36     }
37    
38     src_configure() {
39     eqmake4 "${S}"/src/src.pro
40     }

  ViewVC Help
Powered by ViewVC 1.1.20