diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/openctm/openctm-1.0.3.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/openctm/openctm-1.0.3.ebuild')
-rw-r--r-- | media-libs/openctm/openctm-1.0.3.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/media-libs/openctm/openctm-1.0.3.ebuild b/media-libs/openctm/openctm-1.0.3.ebuild new file mode 100644 index 000000000000..ca73f7094d6c --- /dev/null +++ b/media-libs/openctm/openctm-1.0.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib versionator flag-o-matic + +MY_PV=OpenCTM-${PV} + +DESCRIPTION="OpenCTM - the Open Compressed Triangle Mesh." +HOMEPAGE="http://openctm.sourceforge.net" +SRC_URI="mirror://debian/pool/main/o/${PN}/${PN}_${PV}+dfsg1.orig.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-libs/tinyxml + media-libs/freeglut + media-libs/glew + media-libs/pnglite + virtual/opengl + x11-libs/gtk+:2" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PV}" + +src_prepare() { + epatch \ + "${FILESDIR}"/openctm-fix-makefiles.patch \ + "${FILESDIR}"/openctm-no-strip.patch + mv Makefile.linux Makefile || die + sed \ + -e "s:@GENTOO_LIBDIR@:$(get_libdir):g" \ + -i Makefile || die +} + +src_compile() { + emake CC=$(tc-getCC) CXX=$(tc-getCXX) +} + +src_install() { + emake DESTDIR="${ED}" install +} |