|
Lines 4-10
Link Here
|
| 4 |
inherit eutils |
4 |
inherit eutils |
| 5 |
IUSE="usb" |
5 |
IUSE="usb gphoto2" |
| 6 |
DESCRIPTION="Scanner Access Now Easy - Backends" |
6 |
DESCRIPTION="Scanner Access Now Easy - Backends" |
| 7 |
HOMEPAGE="http://www.mostang.com/sane/" |
7 |
HOMEPAGE="http://www.mostang.com/sane/" |
|
Lines 12-18
HOMEPAGE="http://www.mostang.com/sane/"
Link Here
|
| 12 |
DEPEND=">=media-libs/jpeg-6b |
12 |
DEPEND=">=media-libs/jpeg-6b |
| 13 |
x86? ( sys-libs/libieee1284 ) |
13 |
x86? ( sys-libs/libieee1284 ) |
| 14 |
=sys-apps/sed-4* |
14 |
=sys-apps/sed-4* |
| 15 |
usb? ( dev-libs/libusb )" |
15 |
usb? ( dev-libs/libusb ) |
|
|
16 |
gphoto2? ( media-gfx/gphoto2 )" |
| 16 |
BROTHERMFCDRIVER="sane-backends-1.0.13-brothermfc-r1.patch" |
17 |
BROTHERMFCDRIVER="sane-backends-1.0.13-brothermfc-r1.patch" |
|
Lines 41-47
src_unpack() {
Link Here
|
| 41 |
src_compile() { |
42 |
src_compile() { |
| 42 |
local myconf |
43 |
local myconf |
| 43 |
myconf="$(use_enable usb libusb)" |
44 |
myconf="$(use_enable usb libusb) $(use_with gphoto2)" |
| 44 |
./configure --prefix=/usr \ |
45 |
./configure --prefix=/usr \ |
| 45 |
--sysconfdir=/etc \ |
46 |
--sysconfdir=/etc \ |
| 46 |
--mandir=/usr/share/man \ |
47 |
--mandir=/usr/share/man \ |