net-print/ptouch-driver - 1.6 (zyrenth)

Search

Package Information

Description:
Driver for the Brother P-touch series of label printers.
Homepage:
https://github.com/philpem/printer-driver-ptouch
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
1.6 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="Driver for the Brother P-touch series of label printers."
HOMEPAGE="https://github.com/philpem/printer-driver-ptouch"

SRC_URI="https://github.com/philpem/printer-driver-ptouch/archive/v${PV}.tar.gz -> ${P}.tar.gz"

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

RDEPEND="
	net-print/cups
	net-print/foomatic-db-engine"

DEPEND="${RDEPEND} "

S="${WORKDIR}/printer-driver-ptouch-${PV}"

src_prepare() {
	# Make sure we write the filter to the correct directory
	sed -i -e 's/\$(libdir)\/cups\/filter/\$(libexecdir)\/cups\/filter/' "${S}/Makefile.am" || die "Sed failed!"
	eautoreconf
	default
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc AUTHORS ChangeLog NEWS README
}

Dependencies

DEPEND

	net-print/cups
	net-print/foomatic-db-engine 

RDEPEND

	net-print/cups
	net-print/foomatic-db-engine

Manifest for 1.6

Type File Size Source URLs
DIST ptouch-driver-1.6.tar.gz 147191 bytes https://github.com/philpem/printer-driver-ptouch/archive/v1.6.tar.gz