summaryrefslogblamecommitdiff
path: root/net-print/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2-1.1.39.ebuild
blob: 38633eba7f5a77da2548f00abd97e82f39a953ba (plain) (tree)
1
2
3
4
5
6
7
8
9
                                    

                                                                  
      




                                                                     
                                                                                                                            


               
                 






















                                                                                    
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit rpm

DESCRIPTION="Epson Inkjet Printer Driver (ESC/P-R) 2"
HOMEPAGE="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
SRC_URI="https://download3.ebz.epson.net/dsc/f/03/00/12/97/37/56099ae17308140c0f4c0b5e5186ee74a8b83a40/${P}-1lsb3.2.src.rpm"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RDEPEND="net-print/cups"
DEPEND="${RDEPEND}"

PATCHES=(
	"${FILESDIR}/bug_x86_64.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
}