# 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/vuesca83.tgz" RESTRICT="primaryuri" 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" src_install() { insinto /opt/vuescan doins vuescan.bmp vuescan.dat *htm dodir /opt/vuescan/html insinto /opt/vuescan/html doins html/* exeinto /opt/vuescan doexe vuescan } pkg_postinst() { einfo "If you have gimp-2.x, you need to make a symlink from" einfo "/usr/bin/gimp-2.x to /usr/bin/gimp." einfo "If you don't have mozilla installed you should also have a script" einfo "or symlink named /usr/bin/mozilla starting your preferred browser." einfo "Otherwise you won't be eable to edit files in the GIMP or read the" einfo "HTML documentation." }