public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/ulm:master commit in: media-gfx/brscan4/
Date: Thu,  4 Dec 2014 18:30:21 +0000 (UTC)	[thread overview]
Message-ID: <1417698572.dc971ae7801a4f66fccae8d641d85b275def6f10.ulm@gentoo> (raw)

commit:     dc971ae7801a4f66fccae8d641d85b275def6f10
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  4 13:09:32 2014 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Dec  4 13:09:32 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/ulm.git;a=commit;h=dc971ae7

media-gfx/brscan4: Fix some install locations and permission bits.

Package-Manager: portage-2.2.14

---
 media-gfx/brscan4/ChangeLog              |  3 +++
 media-gfx/brscan4/brscan4-0.4.2.4.ebuild | 22 +++++++++++++---------
 2 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/media-gfx/brscan4/ChangeLog b/media-gfx/brscan4/ChangeLog
index 8d74e7e..38785a3 100644
--- a/media-gfx/brscan4/ChangeLog
+++ b/media-gfx/brscan4/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  04 Dec 2014; Ulrich Müller <ulm@gentoo.org> brscan4-0.4.2.4.ebuild:
+  Fix some install locations and permission bits.
+
   01 Dec 2014; Ulrich Müller <ulm@gentoo.org> brscan4-0.4.2.4.ebuild:
   Add configuration for sane.
 

diff --git a/media-gfx/brscan4/brscan4-0.4.2.4.ebuild b/media-gfx/brscan4/brscan4-0.4.2.4.ebuild
index c676d53..77c05be 100644
--- a/media-gfx/brscan4/brscan4-0.4.2.4.ebuild
+++ b/media-gfx/brscan4/brscan4-0.4.2.4.ebuild
@@ -20,24 +20,28 @@ RESTRICT="strip"
 
 RDEPEND="media-gfx/sane-backends"
 
-S="${WORKDIR}"
+S="${WORKDIR}/opt/brother/scanner/${PN}"
 
 src_install() {
 	local lib=$(get_libdir)
-	local dest="/opt/brother/scanner/${PN}"
+	local dest=/opt/brother/scanner/${PN}
 
-	cp -r opt "${D}" || die
+	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}
-	dolib.so usr/lib*/sane/libsane-brother4.so.1.0.7
+	dobin brsaneconfig4
+	dosym ${dest}/bin/brsaneconfig4 /usr/bin/brsaneconfig4
 
-	dosym {../../..${dest}/${lib},/usr/${lib}/sane}/libsane-brother4.so.1.0.7
+	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
-	dosym {../..${dest},/usr/bin}/brsaneconfig4
-	dosym {../../../../..,/etc}${dest}/Brsane4.ini
-	dosym {../../../../..,/etc}${dest}/brsanenetdevice4.cfg
-	dosym {../../../../..,/etc}${dest}/models4
 
 	insinto /etc/sane.d/dll.d
 	newins - ${PN} <<< "brother4"


             reply	other threads:[~2014-12-04 18:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-04 18:30 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-07-18 17:32 [gentoo-commits] dev/ulm:master commit in: media-gfx/brscan4/ Ulrich Müller
2015-07-18 13:35 Ulrich Müller
2015-03-04 19:12 Ulrich Müller
2014-12-04 18:30 Ulrich Müller
2014-12-02  0:25 Ulrich Müller
2014-12-01 23:44 Ulrich Müller
2014-12-01 21:37 Ulrich Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1417698572.dc971ae7801a4f66fccae8d641d85b275def6f10.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox