diff options
author | Nicolas Kaiser <nikai@nikai.net> | 2010-07-23 15:05:12 +0200 |
---|---|---|
committer | Nicolas Kaiser <nikai@nikai.net> | 2010-07-23 15:05:12 +0200 |
commit | 1d6b3e5434854a9b371162ed6b72cf2bd5dea9d3 (patch) | |
tree | b988f86dfbf58f11130f27a710069317e2a81062 | |
parent | vs: removed USE no-sound, added USE ffmpeg (diff) | |
download | nikai-1d6b3e5434854a9b371162ed6b72cf2bd5dea9d3.tar.gz nikai-1d6b3e5434854a9b371162ed6b72cf2bd5dea9d3.tar.bz2 nikai-1d6b3e5434854a9b371162ed6b72cf2bd5dea9d3.zip |
nvtt: use cmake-utils
-rw-r--r-- | dev-util/nvidia-texture-tools/Manifest | 2 | ||||
-rw-r--r-- | dev-util/nvidia-texture-tools/nvidia-texture-tools-2.0.8.ebuild | 27 |
2 files changed, 18 insertions, 11 deletions
diff --git a/dev-util/nvidia-texture-tools/Manifest b/dev-util/nvidia-texture-tools/Manifest index 3285c2d..36e6567 100644 --- a/dev-util/nvidia-texture-tools/Manifest +++ b/dev-util/nvidia-texture-tools/Manifest @@ -1,3 +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 998 RMD160 7efcf3156f0b405605ce7a32f141286a595a4053 SHA1 7d7b299caada38edaa8e067fa89b2c09d737154f SHA256 4f80257caf2da5f43f984cd4847b326fe009f53fc469dd323e10bfe1c4587a56 +EBUILD nvidia-texture-tools-2.0.8.ebuild 908 RMD160 054b2455a0745c774c34a5cad4147bc6a38b272d SHA1 cc1281e7233347573e3d3c00e4ebe897121d6a97 SHA256 91c752fdb3541b802db8679bec3b2268afa4654f29a15eb8619090dd438d3a34 MISC metadata.xml 467 RMD160 fe425c11b037b06ac39934d65f470b8821badd15 SHA1 09c14d5f9fb8d26f8b3996728b47610478109b0b SHA256 e3826bc733fec0af8e3ab296dccba37b313740391f218a5dc84abf8d2cecda2a 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 index 49421c3..16fd75b 100644 --- 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 @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit eutils +EAPI=2 +inherit cmake-utils eutils DESCRIPTION="a set of cuda-enabled texture tools and compressors" HOMEPAGE="http://developer.nvidia.com/object/texture_tools.html" @@ -27,22 +28,28 @@ RDEPEND="${DEPEND}" S="${WORKDIR}/${PN}" -src_compile() { - local conf_opts="${conf_opts} --prefix=/usr" +src_configure() { + mycmakeargs=( + "--prefix=/usr" + ) if use debug; then - conf_opts="${conf_opts} --debug" + mycmakeargs+=( + "--debug" + ) else - conf_opts="${conf_opts} --release" + mycmakeargs+=( + "--release" + ) fi - CONFIGURE_OPTIONS=" - ${conf_opts}" + cmake-utils_src_configure +} - ./configure $CONFIGURE_OPTIONS || die "./configure failed" - emake -j1 || die "emake failed" +src_compile() { + cmake-utils_src_make } src_install() { - emake -j1 DESTDIR="${D}" install || die "emake install failed" + cmake-utils_src_install } |