|
Lines 96-102
Link Here
|
| 96 |
$(use_enable usb libusb) \ |
96 |
$(use_enable usb libusb) \ |
| 97 |
$(use_with gphoto2) \ |
97 |
$(use_with gphoto2) \ |
| 98 |
$(use_enable ipv6) \ |
98 |
$(use_enable ipv6) \ |
| 99 |
--with-group=scanner \ |
|
|
| 100 |
${myconf} || die "econf failed" |
99 |
${myconf} || die "econf failed" |
| 101 |
|
100 |
|
| 102 |
emake || die |
101 |
emake || die |
|
Lines 110-116
Link Here
|
| 110 |
|
109 |
|
| 111 |
src_install () { |
110 |
src_install () { |
| 112 |
einstall docdir=${D}/usr/share/doc/${PF} |
111 |
einstall docdir=${D}/usr/share/doc/${PF} |
| 113 |
touch ${D}/var/lib/lock/sane/.keep # don't use keepdir, it changes the permissions |
112 |
keepdir /var/lib/lock/sane |
|
|
113 |
fowners root:scanner /var/lib/lock/sane |
| 114 |
fperms g+w /var/lib/lock/sane |
| 114 |
if use usb; then |
115 |
if use usb; then |
| 115 |
cd tools/hotplug |
116 |
cd tools/hotplug |
| 116 |
insinto /etc/hotplug/usb |
117 |
insinto /etc/hotplug/usb |