# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="5" inherit eutils toolchain-funcs DESCRIPTION="p910nd is a small printer daemon intended for diskless platforms that does not spool to disk but passes the job directly to the printer." SRC_URI="mirror://sourceforge/${PN}/${PN}-${PV}.tar.bz2" HOMEPAGE="http://p910nd.sourceforge.net/" LICENSE="GPLv2" KEYWORDS="~arm" IUSE="" DEPEND="virtual/logger" SLOT="0" src_prepare() { epatch "${FILESDIR}/${PN}-${PV}-makefile.patch" } src_compile() { emake CC="$(tc-getCC)" } src_install() { dosbin ${PN} doman ${PN}.8 newinitd "${FILESDIR}/${PN}.init" ${PN} newconfd "${FILESDIR}/${PN}.conf" ${PN} }