From 86f89509f43fed9caa5627bda0c1be5e8faa7490 Mon Sep 17 00:00:00 2001 From: Manuel Rüger Date: Fri, 16 Aug 2013 09:38:53 +0000 Subject: Various ebuild fixes (Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key ) --- net-print/lm1100/ChangeLog | 7 ++++- net-print/lm1100/lm1100-1.0.2a-r1.ebuild | 46 ++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 net-print/lm1100/lm1100-1.0.2a-r1.ebuild (limited to 'net-print') diff --git a/net-print/lm1100/ChangeLog b/net-print/lm1100/ChangeLog index aac5ab4f5a5b..d1b941eb14f0 100644 --- a/net-print/lm1100/ChangeLog +++ b/net-print/lm1100/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-print/lm1100 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/lm1100/ChangeLog,v 1.3 2013/06/01 12:51:19 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/lm1100/ChangeLog,v 1.4 2013/08/16 09:38:53 mrueg Exp $ + +*lm1100-1.0.2a-r1 (16 Aug 2013) + + 16 Aug 2013; Manuel Rüger +lm1100-1.0.2a-r1.ebuild: + Various ebuild fixes 01 Jun 2013; Pacho Ramos metadata.xml: Cleanup due bug #151880 diff --git a/net-print/lm1100/lm1100-1.0.2a-r1.ebuild b/net-print/lm1100/lm1100-1.0.2a-r1.ebuild new file mode 100644 index 000000000000..de5e56e849a7 --- /dev/null +++ b/net-print/lm1100/lm1100-1.0.2a-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/lm1100/lm1100-1.0.2a-r1.ebuild,v 1.1 2013/08/16 09:38:53 mrueg Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="The Tim Engler's Lexmark 1100 driver" +HOMEPAGE="http://www.linuxprinting.org/show_driver.cgi?driver=lm1100" +MY_P=${P/lm1100-/lm1100.} +SRC_URI="mirror://gentoo/${MY_P}.tar.gz + mirror://gentoo/${PN}maint.tar.gz" +#http://www.linuxprinting.org/download/printing/${PN}/${PN}maint.tar.gz +#http://www.linuxprinting.org/download/printing/${PN}/${MY_P}.tar.gz + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND="" +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}/${P}-fix-compile-gcc-3.4.patch"\ + "${FILESDIR}/${P}-fix-compile-gcc-4.1.patch"\ + "${FILESDIR}/${P}-class.patch"\ + "${FILESDIR}/${P}-makefile.patch" + cd "${WORKDIR}/${PN}maint" || die + epatch "${FILESDIR}/${PN}maint-firmware.patch" +} + +src_compile() { + emake CXX="$(tc-getCXX)" +} + +src_install() { + dobin lm1100 + dodoc README RELEASE.txt + + cd "${WORKDIR}/${PN}maint" || die + dobin lm1100back lm1100change + insinto "/usr/share/${PN}" + doins lexmarkback lexmarkchange + newdoc README README.maint +} -- cgit v1.2.3-65-gdbad