summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2018-06-21 19:33:38 +0200
committerDaniel Pielmeier <billie@gentoo.org>2018-06-21 19:33:38 +0200
commit8934883094ed83f2ef8e165b19d3ad12ae0e9518 (patch)
tree4d65a520ca99cabd8d803a52c4b5b7a09477689d /net-print/hplip-plugin/hplip-plugin-3.18.4.ebuild
parentdev-db/redis-4.0.10: arm64 stable (bug #658066) (diff)
downloadgentoo-8934883094ed83f2ef8e165b19d3ad12ae0e9518.tar.gz
gentoo-8934883094ed83f2ef8e165b19d3ad12ae0e9518.tar.bz2
gentoo-8934883094ed83f2ef8e165b19d3ad12ae0e9518.zip
net-print/hplip-plugin: Remove old.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'net-print/hplip-plugin/hplip-plugin-3.18.4.ebuild')
-rw-r--r--net-print/hplip-plugin/hplip-plugin-3.18.4.ebuild69
1 files changed, 0 insertions, 69 deletions
diff --git a/net-print/hplip-plugin/hplip-plugin-3.18.4.ebuild b/net-print/hplip-plugin/hplip-plugin-3.18.4.ebuild
deleted file mode 100644
index 906e4c9f061b..000000000000
--- a/net-print/hplip-plugin/hplip-plugin-3.18.4.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit udev unpacker
-
-DESCRIPTION="Proprietary plugins and firmware for HPLIP"
-HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing"
-SRC_URI="http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run"
-
-LICENSE="hplip-plugin"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- ~net-print/hplip-${PV}
- virtual/udev
-"
-DEPEND=""
-
-S=${WORKDIR}
-
-HPLIP_HOME=/usr/share/hplip
-
-# Binary prebuilt package
-QA_PRESTRIPPED="
- /usr/share/hplip/fax/plugins/fax_marvell.so
- /usr/share/hplip/prnt/plugins/hbpl1.so
- /usr/share/hplip/prnt/plugins/lj.so
- /usr/share/hplip/scan/plugins/bb_escl.so
- /usr/share/hplip/scan/plugins/bb_marvell.so
- /usr/share/hplip/scan/plugins/bb_soapht.so
- /usr/share/hplip/scan/plugins/bb_soap.so
-"
-
-# License does not allow us to redistribute the "source" package
-RESTRICT="mirror"
-
-src_unpack() {
- unpack_makeself "hplip-${PV}-plugin.run"
-}
-
-src_install() {
- local hplip_arch=$(use amd64 && echo 'x86_64' || echo 'x86_32')
-
- insinto "${HPLIP_HOME}"/data/firmware
- doins *.fw.gz
-
- for plugin in *-${hplip_arch}.so; do
- local plugin_type=prnt
- case "${plugin}" in
- fax_*) plugin_type=fax ;;
- bb_*) plugin_type=scan ;;
- esac
-
- exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
- newexe ${plugin} ${plugin/-${hplip_arch}}
- done
-
- mkdir -p "${ED}/var/lib/hp/"
- cat >> "${ED}/var/lib/hp/hplip.state" <<-_EOF_
- [plugin]
- installed = 1
- eula = 1
- version = ${PV}
- _EOF_
-}