net-print/c2esp: drop old

Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
Aaron Bauman
2020-11-28 11:44:48 -05:00
parent 05fc0b68e9
commit 32e023d44e
2 changed files with 0 additions and 53 deletions
-1
View File
@@ -1,2 +1 @@
DIST c2esp-27.tar.gz 143551 BLAKE2B 7cc80fd72eed24c24cb153d7395a692849c51249ca40a563f94bedbb82c6d976bce6b44d47dbe21c36ec40f26571178f562b175485f404d356724b4bc3f611bf SHA512 d3ff9dc6de7cf692e4be4f4b316f862d271bff06181f0000daf1ce2fb6921f1b24efe88ec24f7b811d78cb9dca18fcba3f17dd5273ac84ceb9f6bfcecedeecce
DIST c2esp26.tar.gz 127593 BLAKE2B 84e6ff61fc5af225526a569861bf316a2b7b1aa8f2bf4d7af15a04042f9dd2da7726d34b66d12dea8748532a54d5ae3a1b0bbfafdccccbea192725751cf3416e SHA512 aa1ca61f895de4892e1058b349fcf1830da78455ffbd0d9989b7ac4e922076e184de91a2b79f285d946d29ece7a6d8159f62c900ed8d6c76859a4261c92da359
-52
View File
@@ -1,52 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils toolchain-funcs
MY_P=${PN}${PV}
DESCRIPTION="A cups filter for Kodak ESP printers"
HOMEPAGE="http://cupsdriverkodak.sf.net/"
SRC_URI="mirror://sourceforge/cupsdriverkodak/files/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
S=${WORKDIR}/${MY_P}
DEPEND=">=media-libs/jbigkit-2.0-r1
>=net-print/cups-1.4"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}-ldflags-cppflags.patch
# Remove embedded media-libs/jbigkit
rm -f *jbig* || die
# Remove the embedded jbig files from the Makefile's dependencies:
sed -i \
-e '/^[a-z0-9.]*:/s/\$(LIBJBG[[:digit:]]*)//g' \
-e '/^[a-z0-9.]*:/s/jbig[^ ]*\.h//g' \
-e '/\$(INSTALL).*COPYING/d' \
Makefile || die
# Use Gentoo-style cups paths
sed -i -e s,/usr/lib/cups/filter,/usr/libexec/cups/filter,g ppd/*.ppd || die
}
src_compile() {
emake -j1 CC="$(tc-getCC)" LIBJBG=-ljbig LIBJBG85=-ljbig85
}
src_install() {
emake \
DESTDIR="${D}" \
FILTERBIN="${D}"/usr/libexec/cups/filter \
DOCDIR="${ED}"/usr/share/doc/${PF} \
install
}