commit:     1fa1cdf735f3becf86763fdc4e4b24a42d67a501
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  1 00:02:26 2014 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Dec  1 00:07:43 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/ulm.git;a=commit;h=1fa1cdf7

net-print/brother-dcpj925dw-bin: Initial import. Ebuild contributed by me.

Package-Manager: portage-2.2.14

---
 net-print/brother-dcpj925dw-bin/ChangeLog          | 10 ++++++
 net-print/brother-dcpj925dw-bin/Manifest           |  2 ++
 .../brother-dcpj925dw-bin-20131010.ebuild          | 36 ++++++++++++++++++++++
 net-print/brother-dcpj925dw-bin/metadata.xml       |  7 +++++
 4 files changed, 55 insertions(+)

diff --git a/net-print/brother-dcpj925dw-bin/ChangeLog 
b/net-print/brother-dcpj925dw-bin/ChangeLog
new file mode 100644
index 0000000..865a252
--- /dev/null
+++ b/net-print/brother-dcpj925dw-bin/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-print/brother-dcpj925dw-bin
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*brother-dcpj925dw-bin-20131010 (30 Nov 2014)
+
+  30 Nov 2014; Ulrich Müller <u...@gentoo.org>
+  +brother-dcpj925dw-bin-20131010.ebuild, +metadata.xml:
+  Initial import. Ebuild contributed by me.
+

diff --git a/net-print/brother-dcpj925dw-bin/Manifest 
b/net-print/brother-dcpj925dw-bin/Manifest
new file mode 100644
index 0000000..e72abb1
--- /dev/null
+++ b/net-print/brother-dcpj925dw-bin/Manifest
@@ -0,0 +1,2 @@
+DIST dcpj925dwcupswrapper-3.0.0-1.i386.rpm 17395 SHA256 
348fbb24b2feb4a4adba2be4c73d70fa5d267b92783e05d8321f55caa4b6e654 SHA512 
fd7cf0526e05e82f659ee1c158e5108ee4c67e689d77c19d0d59cbded921888b597eee68c3e18d12fe6a0ec93daff5095ac8f3d8c9f8a471002987b87646fc8e
 WHIRLPOOL 
e4ace7d3b67e7ba0a3cfdabe24e0d309f3a602f0929659f4b8aaad7801914400cbcddf373b5073ec5a05dbd6fcdc7400121e036de6886b7010b9f075bc159410
+DIST dcpj925dwlpr-3.0.1-1.i386.rpm 3430885 SHA256 
20777cd07aef4e271c389b107487efe0ba9c0fb07750295082f24232bb3c28a0 SHA512 
11973cbca305e14266772bc428db05504e794bd2f862778e6fb1dd917144502348685f241f21b5fc8bbba3d487a36938ef6e148b1f74ef1e5d5825bb7ed2cd23
 WHIRLPOOL 
49ff4c9d080add35c5a26322f37ef772e2f2a45d5633f6cacd6b100b819b0206080c433c68e59f427b5f9b7373ee640c3f541ff1aa759727dcc71070ebcd8d41

diff --git 
a/net-print/brother-dcpj925dw-bin/brother-dcpj925dw-bin-20131010.ebuild 
b/net-print/brother-dcpj925dw-bin/brother-dcpj925dw-bin-20131010.ebuild
new file mode 100644
index 0000000..be79b2f
--- /dev/null
+++ b/net-print/brother-dcpj925dw-bin/brother-dcpj925dw-bin-20131010.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit rpm
+
+MODEL="${PN%-bin}"; MODEL="${MODEL#*-}"
+PV_LPR="3.0.1-1"
+PV_CUPSWRAPPER="3.0.0-1"
+
+DESCRIPTION="Brother printer driver for DCP-J925DW"
+HOMEPAGE="http://www.brother.com/";
+SRC_URI="http://download.brother.com/welcome/dlf005614/${MODEL}lpr-${PV_LPR}.i386.rpm
 
http://download.brother.com/welcome/dlf005616/${MODEL}cupswrapper-${PV_CUPSWRAPPER}.i386.rpm";
+
+LICENSE="Brother-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="mirror strip"
+
+RDEPEND="net-print/cups"
+
+S="${WORKDIR}"
+
+src_install() {
+       cp -r opt "${D}" || die
+
+       exeinto /opt/bin
+       doexe usr/bin/brprintconf_${MODEL}
+
+       dosym ../../../../opt/brother/Printers/${MODEL}/lpd/filter${MODEL} \
+                 /usr/libexec/cups/filter/brother_lpdwrapper_${MODEL}
+       dosym 
../../../../opt/brother/Printers/dcpj925dw/cupswrapper/brother_${MODEL}_printer_en.ppd
 \
+                 /usr/share/cups/model/brother_${MODEL}_printer_en.ppd
+}

diff --git a/net-print/brother-dcpj925dw-bin/metadata.xml 
b/net-print/brother-dcpj925dw-bin/metadata.xml
new file mode 100644
index 0000000..e153d85
--- /dev/null
+++ b/net-print/brother-dcpj925dw-bin/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+<maintainer>
+  <email>u...@gentoo.org</email>
+</maintainer>
+</pkgmetadata>

Reply via email to