From 457dac8491049d82e6146fcd661a1a07033ff92a Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 1 Oct 2010 14:17:09 +0100 Subject: openscad & opencsg --- sci-misc/opencsg/opencsg-1.3.1.ebuild | 41 +++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 sci-misc/opencsg/opencsg-1.3.1.ebuild (limited to 'sci-misc/opencsg/opencsg-1.3.1.ebuild') diff --git a/sci-misc/opencsg/opencsg-1.3.1.ebuild b/sci-misc/opencsg/opencsg-1.3.1.ebuild new file mode 100644 index 0000000..085c6e8 --- /dev/null +++ b/sci-misc/opencsg/opencsg-1.3.1.ebuild @@ -0,0 +1,41 @@ +# + +EAPI="2" + +inherit qt4-r2 + +DESCRIPTION="The Constructive Solid Geometry rendering library" +HOMEPAGE="http://www.opencsg.org/" +SRC_URI="http://www.opencsg.org/OpenCSG-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="media-libs/glew" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/OpenCSG-${PV}" + +src_unpack() { + unpack ${A} + + #Use System glew + rm -Rf ${S}/glew +} + +src_prepare() { + # We actually want to install somthing + cat << EOF >> src/src.pro +include.path=/usr/include +include.files=../include/* +target.path=/usr/lib +INSTALLS += target include +EOF + +} + +src_configure() { + eqmake4 "${S}"/src/src.pro +} -- cgit v1.2.3