diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-11-10 22:03:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-11-10 22:03:02 +0000 |
commit | 48d6a1b10679959e7981acac91836dd9becdc7bc (patch) | |
tree | 74956561a63c8e68233b668a59bccff68498fa3a /media-video/nvoption/nvoption-0_alpha-r1.ebuild | |
parent | Fixed compile problem for sparc64 with wrong syscall numbers being used (diff) | |
download | gentoo-2-48d6a1b10679959e7981acac91836dd9becdc7bc.tar.gz gentoo-2-48d6a1b10679959e7981acac91836dd9becdc7bc.tar.bz2 gentoo-2-48d6a1b10679959e7981acac91836dd9becdc7bc.zip |
png fix per #5467
Diffstat (limited to 'media-video/nvoption/nvoption-0_alpha-r1.ebuild')
-rw-r--r-- | media-video/nvoption/nvoption-0_alpha-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/media-video/nvoption/nvoption-0_alpha-r1.ebuild b/media-video/nvoption/nvoption-0_alpha-r1.ebuild new file mode 100644 index 000000000000..4077b150ea13 --- /dev/null +++ b/media-video/nvoption/nvoption-0_alpha-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/nvoption/nvoption-0_alpha-r1.ebuild,v 1.1 2002/11/10 22:03:02 vapier Exp $ + +MY_P="${P/-0/}" +DESCRIPTION="grapich front-end to change NVIDIA options in X mode" +HOMEPAGE="http://www.sorgonet.com/linux/nvoption/" +SRC_URI="http://www.sorgonet.com/linux/nvoption/${MY_P}.tar.gz" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="~x86" +IUSE="nls" + +DEPEND="gnome-base/gnome-libs + gnome-base/ORBit + =x11-libs/gtk+-1.2*" +RDEPEND="nls? ( sys-devel/gettext )" +S="${WORKDIR}/${PN}" + +src_compile() { + local myconf="--with-gnome" + use nls \ + && myconf="${myconf} --disable-nls" \ + || myconf="${myconf} --enable-nls" + rm -rf config.cache + econf ${myconf} + + cp Makefile Makefile.old + sed -e 's:intl po macros src:src:' Makefile.old > Makefile + emake || die "make failed" +} + +src_install() { + einstall + dodoc AUTHORS ChangeLog NEWS README + insinto /usr/share/pixmaps/${PN} + newins ${FILESDIR}/nvidiaok.png nvidiaok.pix +} |