| 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 |
|
|
}
|