# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A high-quality proprietary alternative to SANE (Scanner Access Now Easy)" HOMEPAGE="http://www.hamrick.com/" SRC_URI="http://www.hamrick.com/files/vuesca80.tgz" LICENSE="vuescan" SLOT="0" KEYWORDS="~x86" IUSE="" S=${WORKDIR} DEPEND="" RDEPEND="sys-libs/lib-compat virtual/x11 >=x11-libs/gtk+-1.2.10-r11 dev-libs/libusb sys-libs/glibc sys-devel/gcc net-www/mozilla media-gfx/gimp" src_install() { dodir /opt/vuescan cp -r ${S}/* ${D}/opt/vuescan || die "Failed to copy files." } pkg_postinst() { einfo "If you have gimp-2.0.xx, you need to make a symlink from /usr/bin/gimp-2.0 to /usr/bin/gimp" einfo "Otherwise VueScan won't be able to find gimp when you try to run it from VueScan." }