commit:     a89901ef1bbd7379a9fa6bb578c54283d23edb5a
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  8 14:45:57 2016 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Mar  8 14:45:57 2016 +0000
URL:        https://gitweb.gentoo.org/repo/dev/ulm.git/commit/?id=a89901ef

media-gfx/brscan4: Version bump.

 media-gfx/brscan4/Manifest               |  2 ++
 media-gfx/brscan4/brscan4-0.4.3.3.ebuild | 49 ++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/media-gfx/brscan4/Manifest b/media-gfx/brscan4/Manifest
index 2643d44..61ff1f0 100644
--- a/media-gfx/brscan4/Manifest
+++ b/media-gfx/brscan4/Manifest
@@ -1,2 +1,4 @@
 DIST brscan4-0.4.3-1.i386.rpm 67665 SHA256 
9129658520ce69041eb2730230d2906fe24dfa66732e75c3913eb59fa7b11ab7 SHA512 
e6a3b30109e68b9cc91440236ea5bd04da2b4378b55e49130c01727b8af33d171cfa4a2c11f16ab9729d7233ebced4b4e4ee5b22ca99a4362744e74af3bad371
 WHIRLPOOL 
13d79e5eb2537a8fe37ba4c4338be2698aabbea80059b15af0bf449a8165eb9ea24eaf0e26217016d189758b51b6c2cb54c56f144eb66bb3adca4c72a17c021d
 DIST brscan4-0.4.3-1.x86_64.rpm 79615 SHA256 
3f137dca71d8469a2621c04e5f8cf79182db619c7583c4e0385254c579501d25 SHA512 
cd97cef75e6ea113a5bf2f9cc8394c8cd63a8ce02f58a6820b9c9d048d294d763b1b550173933d71bf31de020c531b8572879b6fc856fc4c590f0ecab53cc64b
 WHIRLPOOL 
fe4924551cf3855ae9e11aca8bb1eba056e1d1458987d6471395882dcd852adc7d951f686c6ee4a19ea04ec4024f5ff7ed36e906a649d8f0a0267ef29a26429d
+DIST brscan4-0.4.3-3.i386.rpm 68521 SHA256 
5c8937c5edd2cf8afd014a66e9bf2b19cede2052f43bc9fb630d5010f8d6b8f7 SHA512 
9517f81cb3ffede5abba655de3ec304cbebd6807a59bc49cabf771b0bdbd13bbd1c4820874af05cbf90d760a50c4afa6958d27e923f7b8fcc62f640c52d72430
 WHIRLPOOL 
9a44d16c64e0ea084366c19d6d71eb141b6574be5be6149f461a18ca54c2a0c50267293de0d590212ccaf719b9e7aee23771af5b62a86a2de790cb50b05612ed
+DIST brscan4-0.4.3-3.x86_64.rpm 79980 SHA256 
713f3bde6649c110367669b53c6c7dcc9a974ae594ca4854c95a531f938b6ab9 SHA512 
8dc3fccf200cbad4e803918bd663d31c66c84e3b40b9c974a1b0e002e134ba24d92f923939868af150dc00f75a5db8ec672909b54d500f841a2efdbd45b045d5
 WHIRLPOOL 
80701015bda7dccbf4ecf6145e599295c6ad63063a26807e0b8b87bc640fbc110be8ee370bf61730d6c0827c9ecf6feaa8fb759d1638c0bc33004c7972f80bc2

diff --git a/media-gfx/brscan4/brscan4-0.4.3.3.ebuild 
b/media-gfx/brscan4/brscan4-0.4.3.3.ebuild
new file mode 100644
index 0000000..23c5edd
--- /dev/null
+++ b/media-gfx/brscan4/brscan4-0.4.3.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit multilib rpm
+
+MY_P="${PN}-${PV%.*}-${PV##*.}"
+DESCRIPTION="Brother scanner driver"
+HOMEPAGE="http://www.brother.com/";
+SRC_URI="
+       amd64? ( 
http://download.brother.com/welcome/dlf006648/${MY_P}.x86_64.rpm )
+       x86? ( http://download.brother.com/welcome/dlf006647/${MY_P}.i386.rpm )"
+
+LICENSE="Brother-lpr no-source-code"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="strip"
+
+RDEPEND="media-gfx/sane-backends
+       virtual/libusb:0"
+
+S="${WORKDIR}/opt/brother/scanner/${PN}"
+
+src_install() {
+       local lib=$(get_libdir)
+       local dest=/opt/brother/scanner/${PN}
+
+       insinto /etc${dest}
+       doins Brsane4.ini brsanenetdevice4.cfg
+       doins -r models4
+       dosym /etc${dest}/Brsane4.ini ${dest}/Brsane4.ini
+       dosym /etc${dest}/brsanenetdevice4.cfg ${dest}/brsanenetdevice4.cfg
+       dosym /etc${dest}/models4 ${dest}/models4
+
+       into ${dest}
+       dobin brsaneconfig4
+       dosym ${dest}/bin/brsaneconfig4 /usr/bin/brsaneconfig4
+
+       dolib.so "${WORKDIR}"/usr/lib*/sane/libsane-brother4.so*
+       dosym ${dest}/${lib}/libsane-brother4.so.1.0.7 \
+                 /usr/${lib}/sane/libsane-brother4.so.1.0.7
+       dosym libsane-brother4.so.1.0.7 /usr/${lib}/sane/libsane-brother4.so.1
+       dosym libsane-brother4.so.1.0.7 /usr/${lib}/sane/libsane-brother4.so
+
+       insinto /etc/sane.d/dll.d
+       newins - ${PN} <<< "brother4"
+}

Reply via email to