From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 89856138ACE for ; Thu, 4 Dec 2014 18:30:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D11BBE0841; Thu, 4 Dec 2014 18:30:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6916CE0850 for ; Thu, 4 Dec 2014 18:30:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 98288340634 for ; Thu, 4 Dec 2014 18:30:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 36DB4B924 for ; Thu, 4 Dec 2014 18:30:21 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1417698572.dc971ae7801a4f66fccae8d641d85b275def6f10.ulm@gentoo> Subject: [gentoo-commits] dev/ulm:master commit in: media-gfx/brscan4/ X-VCS-Repository: dev/ulm X-VCS-Files: media-gfx/brscan4/ChangeLog media-gfx/brscan4/brscan4-0.4.2.4.ebuild X-VCS-Directories: media-gfx/brscan4/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: dc971ae7801a4f66fccae8d641d85b275def6f10 X-VCS-Branch: master Date: Thu, 4 Dec 2014 18:30:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 723ceb92-c438-4899-b972-b723cf8b5e35 X-Archives-Hash: a289c959a6f3f66a1dd844ef50cab7db commit: dc971ae7801a4f66fccae8d641d85b275def6f10 Author: Ulrich Müller gentoo org> AuthorDate: Thu Dec 4 13:09:32 2014 +0000 Commit: Ulrich Müller gentoo 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 brscan4-0.4.2.4.ebuild: + Fix some install locations and permission bits. + 01 Dec 2014; Ulrich Müller 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"