blob: 9bf1319e1e62908887a5f7084c5771c9d7a7c99b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils versionator udev multilib
MY_PV="$(get_version_component_range 1-3)"
MY_PVR="$(replace_version_separator 3 -)"
DESCRIPTION="Image Scan! for Linux data files"
HOMEPAGE="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
SRC_URI="http://dev.gentoo.org/~flameeyes/avasys/${PN}_${MY_PVR}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="udev"
DEPEND="udev? (
dev-libs/libxslt
media-gfx/sane-backends
)"
RDEPEND=""
S="${WORKDIR}/${PN}-${MY_PV}"
DOCS=( NEWS SUPPORTED-DEVICES KNOWN-PROBLEMS )
src_install() {
default
if use udev; then
# create udev rules
local rulesdir=$(get_udevdir)/rules.d
dodir ${rulesdir}
"${D}usr/$(get_libdir)/iscan-data/make-policy-file" \
--force --quiet --mode udev \
-d "${D}usr/share/iscan-data/epkowa.desc" \
-o "${D}${rulesdir}/99-iscan.rules" || die
fi
}
|