diff options
author | Ulrich Müller <ulm@gentoo.org> | 2016-03-08 15:45:57 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2016-03-08 15:45:57 +0100 |
commit | a89901ef1bbd7379a9fa6bb578c54283d23edb5a (patch) | |
tree | c7c5575c6b7edd971aa4f38e2eeaf03c540147c8 /media-gfx/brscan4/brscan4-0.4.3.3.ebuild | |
parent | skel.ChangeLog: Sync from portage tree. (diff) | |
download | ulm-a89901ef1bbd7379a9fa6bb578c54283d23edb5a.tar.gz ulm-a89901ef1bbd7379a9fa6bb578c54283d23edb5a.tar.bz2 ulm-a89901ef1bbd7379a9fa6bb578c54283d23edb5a.zip |
media-gfx/brscan4: Version bump.
Diffstat (limited to 'media-gfx/brscan4/brscan4-0.4.3.3.ebuild')
-rw-r--r-- | media-gfx/brscan4/brscan4-0.4.3.3.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
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" +} |