diff options
Diffstat (limited to 'apps/net-print/brother-cups/brother-cups-2.0.1.ebuild')
-rw-r--r-- | apps/net-print/brother-cups/brother-cups-2.0.1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/apps/net-print/brother-cups/brother-cups-2.0.1.ebuild b/apps/net-print/brother-cups/brother-cups-2.0.1.ebuild new file mode 100644 index 0000000..9a8167d --- /dev/null +++ b/apps/net-print/brother-cups/brother-cups-2.0.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +LPR_BASEURI="http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_others" +CUPS_BASEURI="http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper" + +inherit rpm + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Brother MFC-8860DN CUPS printer driver." +HOMEPAGE="http://solutions.brother.com/linux/en_us/index.html" +SRC_URI="${LPR_BASEURI}/brmfc8860dnlpr-${PV}-1.i386.rpm + ${CUPS_BASEURI}/cupswrapperMFC8860DN-${PV}-1.i386.rpm" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND=">=net-print/cups-1.3" + +src_unpack() { + rpm_src_unpack +} + +src_compile() { + sed -e "s|/usr/lib/cups/|/usr/libexec/cups/|g" -i usr/local/Brother/cupswrapper/cupswrapperMFC8860DN-${PV} + sed -e "s|/usr/lib64/cups/|/usr/libexec/cups/|g" -i usr/local/Brother/cupswrapper/cupswrapperMFC8860DN-${PV} +} + +src_install() { + cp -Rf "./" "${D}/" +} + +pkg_postinst() { + ${ROOT}usr/local/Brother/cupswrapper/cupswrapperMFC8860DN-${PV} +} |