summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/gcam/gcam-2010.07.27-r1.ebuild')
-rw-r--r--sci-misc/gcam/gcam-2010.07.27-r1.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/sci-misc/gcam/gcam-2010.07.27-r1.ebuild b/sci-misc/gcam/gcam-2010.07.27-r1.ebuild
new file mode 100644
index 000000000000..189da6e019da
--- /dev/null
+++ b/sci-misc/gcam/gcam-2010.07.27-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/gcam/gcam-2010.07.27-r1.ebuild,v 1.1 2012/11/19 15:51:40 kensington Exp $
+
+EAPI=5
+
+inherit autotools base
+
+DESCRIPTION="GNU Computer Aided Manufacturing"
+HOMEPAGE="http://gcam.js.cx"
+SRC_URI="http://gcam.js.cx/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/expat
+ dev-libs/glib:2
+ >=media-libs/libpng-1.5
+ virtual/opengl
+ virtual/glu
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:2
+ x11-libs/gtkglext
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${P}-cflags.patch"
+ "${FILESDIR}/${P}-libpng15.patch"
+)
+
+src_prepare() {
+ base_src_prepare
+ eautoreconf
+}
+
+src_configure() {
+ econf --enable-static=no
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}