diff --git a/net-print/epson-inkjet-printer-escpr2/Manifest b/net-print/epson-inkjet-printer-escpr2/Manifest new file mode 100644 index 0000000..6f203d9 --- /dev/null +++ b/net-print/epson-inkjet-printer-escpr2/Manifest @@ -0,0 +1,2 @@ +DIST epson-inkjet-printer-escpr2-1.2.9-1.tar.gz 5367737 BLAKE2B 6868569a6bed622e2f50619a36ffb0a0f7e834fd8a794ae3bc906d971db26b0c86386c9545190ec384027d0b8e8f62ddda6cb24f1e3f60b9c535a1eeddff4332 SHA512 70ff744d42fac4c79d2994648763b0b3970ee5463a7a310a0721a63735d536cb9a0499c894289d946b30e6f564f9bf60aa61801580ab6635af211d50867921a1 +EBUILD epson-inkjet-printer-escpr2-1.2.9.ebuild 1084 BLAKE2B 30e3c32e28d17482616b1a06d323521127c8b5eedcbe7b37d7ee5077804d93cfa3881ac069766481a44e3ca8e83176e4ca1c8190a5f4c485bed38d0f5a97b2b8 SHA512 fd27955640cd75b56c5b95038837eef879c32bc19070b7ba4a6bb17625aecf6c0b3b6a412e84ee0619faaf568f33e9c8da5fa1334a2efae14b14416f19909f31 diff --git a/net-print/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2-1.2.9.ebuild b/net-print/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2-1.2.9.ebuild new file mode 100644 index 0000000..badb3ac --- /dev/null +++ b/net-print/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2-1.2.9.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Epson Inkjet Printer Driver (ESC/P-R)" +HOMEPAGE="https://download.ebz.epson.net/dsc/search/01/search/?OSC=LX" + +# https://support.epson.net/linux/Printer/LSB_distribution_pages/en/escpr.php +# Use the "source package for arm CPU" to get a tarball instead of an srpm. +SRC_URI="https://download3.ebz.epson.net/dsc/f/03/00/15/33/96/607198a4f064daa9e7931913eaf27f3a58125f2b/${P}-1.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc64" + +DEPEND="net-print/cups" +RDEPEND="${DEPEND}" + +#PATCHES=( +# "${FILESDIR}/1.6.5-warnings.patch" +# "${FILESDIR}/${PN}-1.7.7-fnocommon.patch" +# "${FILESDIR}/${PN}-1.8-missing-include.patch" +#) + +src_configure() { + econf --disable-shared + + # Makefile calls ls to generate a file list which is included in Makefile.am + # Set the collation to C to avoid automake being called automatically + unset LC_ALL + export LC_COLLATE=C +} + +src_install() { + emake -C ppd DESTDIR="${D}" install + emake -C src DESTDIR="${D}" install + einstalldocs +} diff --git a/net-print/epson-inkjet-printer-escpr2/netcat b/net-print/epson-inkjet-printer-escpr2/netcat new file mode 100644 index 0000000..e0d3787 --- /dev/null +++ b/net-print/epson-inkjet-printer-escpr2/netcat @@ -0,0 +1 @@ +test test test -w 1 192.168.1.181:631/ipp/print