diff options
Diffstat (limited to 'net-print/mfcj6910dwcupswrapper-bin/mfcj6910dwcupswrapper-bin-3.0.0_p1.ebuild')
-rw-r--r-- | net-print/mfcj6910dwcupswrapper-bin/mfcj6910dwcupswrapper-bin-3.0.0_p1.ebuild | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/net-print/mfcj6910dwcupswrapper-bin/mfcj6910dwcupswrapper-bin-3.0.0_p1.ebuild b/net-print/mfcj6910dwcupswrapper-bin/mfcj6910dwcupswrapper-bin-3.0.0_p1.ebuild deleted file mode 100644 index 055c9eb..0000000 --- a/net-print/mfcj6910dwcupswrapper-bin/mfcj6910dwcupswrapper-bin-3.0.0_p1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -inherit unpacker eutils - -MY_PV="${PV/_p/-}" - -DESCRIPTION="CUPS wrapper for the Brother MFC-J6910DW LPR drivers" -HOMEPAGE="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html" -SRC_URI="http://www.brother.com/pub/bsc/linux/dlf/${PN/-bin/}-${MY_PV}.i386.deb" - -RESTRICT="mirror" -QA_PREBUILT=".*" - -LICENSE="metapackage" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -DEPEND="" -RDEPEND=" - net-print/cups[filters] - net-print/mfcj6910dwlpr-bin" - -S="${WORKDIR}" - -src_unpack() { - unpack_deb ${A} -} - -src_prepare() { - epatch "${FILESDIR}/mfcj6910dwcupswrapper-3.0.0_p1-gentoo.patch" -} - -src_install() { - cp -pPR opt "${ED}/opt/" || die -} - -pkg_postinst() { - einfo "Installing CUPS wrapper script..." - /opt/brother/Printers/mfcj6910dw/cupswrapper/cupswrappermfcj6910dw -} - -pkg_postrm() { - einfo "Cleaning up live-installed files." - local printer_model="mfcj6910dw" - rm -f /usr/share/cups/model/Brother/brother_${printer_model}_printer_en.ppd - rmdir --ignore-fail-on-non-empty /usr/share/cups/model/Brother - rm -f /usr/share/ppd/Brother/brother_${printer_model}_printer_en.ppd - rmdir --ignore-fail-on-non-empty /usr/share/ppd/Brother - rm -f /usr/libexec/cups/filter/brother_lpdwrapper_${printer_model} -} |