summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/sane-backends/sane-backends_1.0.15.bb19
1 files changed, 18 insertions, 1 deletions
diff --git a/packages/sane-backends/sane-backends_1.0.15.bb b/packages/sane-backends/sane-backends_1.0.15.bb
index 6897aef141..2e45e4cbd6 100644
--- a/packages/sane-backends/sane-backends_1.0.15.bb
+++ b/packages/sane-backends/sane-backends_1.0.15.bb
@@ -1,6 +1,6 @@
MAINTAINER="Oyvind Repvik <nail@nslu2-linux.org>"
DESCRIPTION="Scanner drivers for SANE"
-PR="r0"
+PR="r1"
DEPENDS="jpeg libusb"
SRC_URI="ftp://ftp.sane-project.org/pub/sane/sane-backends-${PV}/sane-backends-${PV}.tar.gz \
@@ -11,4 +11,21 @@ EXTRA_OECONF="--prefix=/usr --sysconfdir=/etc --disable-translations"
inherit autotools
+do_install_append() {
+ install -m 755 "${S}/tools/.libs/sane-find-scanner" "${D}/${bindir}"
+}
+
+PACKAGES = "libsane saned sane-utils"
+
+FILES_libsane = "/usr/lib/sane/*.so.* /usr/lib/lib*.so.* /etc"
+PKG_libsane = "libsane"
+RCONFLICTS = "sane-backends"
+RRECOMMENDS_libsane = "saned sane-utils"
+
+RDEPENDS_saned = "libsane"
+FILES_saned = "/usr/sbin/saned"
+
+RDEPENDS_sane-utils = "libsane"
+FILES_sane-utils = "/usr/bin"
+