diff options
Diffstat (limited to 'dev-util/nvidia-texture-tools/nvidia-texture-tools-2.0.8.ebuild')
-rw-r--r-- | dev-util/nvidia-texture-tools/nvidia-texture-tools-2.0.8.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-util/nvidia-texture-tools/nvidia-texture-tools-2.0.8.ebuild b/dev-util/nvidia-texture-tools/nvidia-texture-tools-2.0.8.ebuild new file mode 100644 index 0000000..3e56f1a --- /dev/null +++ b/dev-util/nvidia-texture-tools/nvidia-texture-tools-2.0.8.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="a set of cuda-enabled texture tools and compressors" +HOMEPAGE="http://developer.nvidia.com/object/texture_tools.html" +SRC_URI="http://nvidia-texture-tools.googlecode.com/files/${P}-1.tar.gz" +LICENSE="MIT" + +SLOT="0" + +KEYWORDS="~amd64 ~x86" + +IUSE="" + +DEPEND="x11-libs/libX11 + media-libs/jpeg + media-libs/libpng + media-libs/tiff" +# optional: +# media-gfx/nvidia-cg-toolkit +# dev-util/nvidia-cuda-toolkit +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +src_compile() { + ./configure \ + --prefix=/usr \ + --release \ + --libdir="$(get_libdir)" || die "./configure failed" + emake -j1 || die "emake failed" +} + +src_install() { + emake -j1 DESTDIR="${D}" install || die "emake install failed" +} |