# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/iscan-data/iscan-data-1.0.1.ebuild,v 1.1 2010/07/21 22:37:51 sbriesen Exp $ inherit eutils SRC_REV="1" # revision used by upstream DESCRIPTION="Image Scan! for Linux data files" HOMEPAGE="http://avasys.jp/english/linux_e/" SRC_URI="http://linux.avasys.jp/drivers/iscan-data/${PV}/${PN}_${PV}-${SRC_REV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="dev-libs/libxslt" RDEPEND="${DEPEND}" src_install() { emake DESTDIR="${D}" install || die "emake install failed" # create udev rules dodir /etc/udev/rules.d "${D}usr/lib64/iscan-data/make-policy-file" \ --force --quiet --mode udev \ -d "${D}usr/share/iscan-data/epkowa.desc" \ -o "${D}etc/udev/rules.d/99-iscan.rules" # install docs dodoc NEWS SUPPORTED-DEVICES KNOWN-PROBLEMS }