# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/yanc/yanc-0.2.1-r1.ebuild,v 1.4 2006/01/19 00:58:44 spyderous Exp $ inherit eutils DESCRIPTION="YanC is a GUI configuration tool for the NVIDIA Accelerated Linux Driver Set." HOMEPAGE="http://yanc.sourceforge.net/" SRC_URI="mirror://sourceforge/yanc/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" # As the downloaded package seems to be pre-compiled, # the dependances are not clear. # TODO: Emerge the real compilable yanc's code DEPEND=">=sys-apps/sed-4" RDEPEND="|| ( x11-libs/libX11 virtual/x11 )" src_unpack() { unpack ${A} epatch ${FILESDIR}/${P}-xorg-x11-compat.patch } src_compile() { einfo "nothing to compile" } src_install() { dodir /usr/share/yanc dodir /usr/lib dodir /usr/bin cp -r src ${D}/usr/share/yanc cp -r lang ${D}/usr/share/yanc dolib lib/libborqt-6.9.0-qt2.3.so dosym libborqt-6.9.0-qt2.3.so /usr/lib/libborqt-6.9-qt2.3.so insinto /usr/share/yanc doins logo.jpg gpl.jpg loeschen.xpm nachunten.xpm nachoben.xpm yanc.xpm doins LICENSE exeinto /usr/share/yanc doexe yanc into /usr dobin script/yanc dosed "s:local:share:" /usr/bin/yanc dodoc README* dohtml doc } pkg_postinst() { einfo '-> Please create a copy of your X config before you use YanC for the' einfo 'first time, because it is possible that it will be damaged because of' einfo 'the use of YanC. Then a restart of X would be impossible.' }