net-print/c2esp: Drop old 25c

Package-Manager: Portage-2.3.48, Repoman-2.3.10
This commit is contained in:
James Le Cuirot
2018-08-27 20:44:11 +01:00
parent 3496e0734a
commit 6187a8a72f
3 changed files with 0 additions and 85 deletions

View File

@@ -1,3 +1,2 @@
DIST c2esp-27.tar.gz 143551 BLAKE2B 7cc80fd72eed24c24cb153d7395a692849c51249ca40a563f94bedbb82c6d976bce6b44d47dbe21c36ec40f26571178f562b175485f404d356724b4bc3f611bf SHA512 d3ff9dc6de7cf692e4be4f4b316f862d271bff06181f0000daf1ce2fb6921f1b24efe88ec24f7b811d78cb9dca18fcba3f17dd5273ac84ceb9f6bfcecedeecce
DIST c2esp25c.tar.gz 338047 BLAKE2B 645127bdd61f478d519a7d17a1f621357e0c80ac6b313832ddcaba6744cb7f4a62a592c1140293e78a3a63447ad7295bd3fcda0f6f18f0d33b1cca0cca162803 SHA512 788da75c0049c1aa445890d67a7088bc4e7aa5c4e3e67689677fa5bee0e17e29fbb6e7ba9397aaec99f43ba79043aca7d147b6c510e3dd472d238ce6e2636b12
DIST c2esp26.tar.gz 127593 BLAKE2B 84e6ff61fc5af225526a569861bf316a2b7b1aa8f2bf4d7af15a04042f9dd2da7726d34b66d12dea8748532a54d5ae3a1b0bbfafdccccbea192725751cf3416e SHA512 aa1ca61f895de4892e1058b349fcf1830da78455ffbd0d9989b7ac4e922076e184de91a2b79f285d946d29ece7a6d8159f62c900ed8d6c76859a4261c92da359

View File

@@ -1,52 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
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 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
}

View File

@@ -1,32 +0,0 @@
--- a/Makefile
+++ b/Makefile
@@ -166,16 +166,16 @@
@echo
c2esp: c2esp.o c2espcommon.o $(LIBJBG85)
- $(CC) $(CFLAGS) -o $@ c2esp.o c2espcommon.o -lcupsimage -lcups -lcupsdriver $(LIBJBG85)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ c2esp.o c2espcommon.o -lcupsimage -lcups -lcupsdriver $(LIBJBG85)
c2espC: c2espC.o c2espcommon.o
- $(CC) $(CFLAGS) -o $@ c2espC.o c2espcommon.o -lcupsimage -lcups -lcupsdriver -lz
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ c2espC.o c2espcommon.o -lcupsimage -lcups -lcupsdriver -lz
command2esp: command2esp.o c2espcommon.o
- $(CC) $(CFLAGS) -o $@ command2esp.o c2espcommon.o -lcups -lcupsdriver
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ command2esp.o c2espcommon.o -lcups -lcupsdriver
myopldecode: myopldecode.o $(LIBJBG)
- $(CC) $(CFLAGS) -o $@ $@.o $(LIBJBG) -lz
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $@.o $(LIBJBG) -lz
#
# Installation rules
@@ -351,3 +326,8 @@
command2esp.o: c2espcommon.h
c2espcommon.o: c2espcommon.h
+
+# Respect CPPFLAGS.
+.SUFFIXES: .c .o
+.c.o:
+ $(CC) -c $(CFLAGS) $(CPPFLAGS) -o '$@' '$<'