diff options
author | Nicolas Kaiser <nikai@nikai.net> | 2010-07-22 18:32:25 +0200 |
---|---|---|
committer | Nicolas Kaiser <nikai@nikai.net> | 2010-07-22 18:32:25 +0200 |
commit | 91813c4fb44da8f0bf5165e96a33222439ff55ef (patch) | |
tree | 8635e84aa3d8d2f2493469aa300da05c924e4b35 /dev-util/nvidia-texture-tools | |
parent | vs-data: nothing to compile (diff) | |
download | nikai-91813c4fb44da8f0bf5165e96a33222439ff55ef.tar.gz nikai-91813c4fb44da8f0bf5165e96a33222439ff55ef.tar.bz2 nikai-91813c4fb44da8f0bf5165e96a33222439ff55ef.zip |
nvtt: initial commit
Diffstat (limited to 'dev-util/nvidia-texture-tools')
-rw-r--r-- | dev-util/nvidia-texture-tools/Manifest | 3 | ||||
-rw-r--r-- | dev-util/nvidia-texture-tools/metadata.xml | 9 | ||||
-rw-r--r-- | dev-util/nvidia-texture-tools/nvidia-texture-tools-2.0.8.ebuild | 39 |
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-util/nvidia-texture-tools/Manifest b/dev-util/nvidia-texture-tools/Manifest new file mode 100644 index 0000000..3c7ff8e --- /dev/null +++ b/dev-util/nvidia-texture-tools/Manifest @@ -0,0 +1,3 @@ +DIST nvidia-texture-tools-2.0.8-1.tar.gz 935227 RMD160 dbb2a1ea4bef259af8520d881ab414d69ee0dea2 SHA1 3eaa578acc35159684748055aeb4bacdeaef12d1 SHA256 6b3c83500b420ee976f61eeae16e5727e2401e133f543baeac76c66c381eed2e +EBUILD nvidia-texture-tools-2.0.8.ebuild 829 RMD160 b3e2516dcd101173c6d05ac0bbf6f94b5431584b SHA1 46789b4fd1f13c517449dfc21b316e1c3fd7c2cb SHA256 07246e280a5734e045d2fb22943df8b0fb9059a933071913cc98d994f5eeb550 +MISC metadata.xml 401 RMD160 e3598528da07ed463d4f985cc93d8c44a693aede SHA1 c66d8119e11b418bdddd72c1c48d827d55b35df3 SHA256 221ef2fcf74998b05448385f63cf09213cd552ddf778af480c35eb0543d1d7db diff --git a/dev-util/nvidia-texture-tools/metadata.xml b/dev-util/nvidia-texture-tools/metadata.xml new file mode 100644 index 0000000..0201e82 --- /dev/null +++ b/dev-util/nvidia-texture-tools/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>nikai@nikai.net</email> +</maintainer> +<longdescription>The NVIDIA Texture Tools are a set of CUDA-enabled texture tools and compressors. The texture tools also contain a CPU texture compression path.</longdescription> +</pkgmetadata> 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" +} |