From ccce8a49d502cc0a6d0c1b9d2e6ee165dfbd0f5a Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Sun, 5 Jun 2011 20:57:22 +0000 Subject: Version bump, keyworded amd64 (Portage version: 2.1.9.50/cvs/Linux x86_64) --- net-print/apsfilter/ChangeLog | 8 +++++- net-print/apsfilter/apsfilter-7.2.7.ebuild | 42 ++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 net-print/apsfilter/apsfilter-7.2.7.ebuild (limited to 'net-print/apsfilter') diff --git a/net-print/apsfilter/ChangeLog b/net-print/apsfilter/ChangeLog index e0ddccbed6c1..2d27bd3dec6c 100644 --- a/net-print/apsfilter/ChangeLog +++ b/net-print/apsfilter/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-print/apsfilter # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/apsfilter/ChangeLog,v 1.18 2011/06/02 18:19:23 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/apsfilter/ChangeLog,v 1.19 2011/06/05 20:57:22 dilfridge Exp $ + +*apsfilter-7.2.7 (05 Jun 2011) + + 05 Jun 2011; Andreas K. Huettel + +apsfilter-7.2.7.ebuild: + Version bump, keyworded amd64 02 Jun 2011; Andreas K. Huettel apsfilter-7.2.6.ebuild: diff --git a/net-print/apsfilter/apsfilter-7.2.7.ebuild b/net-print/apsfilter/apsfilter-7.2.7.ebuild new file mode 100644 index 000000000000..ce4f29f8497b --- /dev/null +++ b/net-print/apsfilter/apsfilter-7.2.7.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/apsfilter/apsfilter-7.2.7.ebuild,v 1.1 2011/06/05 20:57:22 dilfridge Exp $ + +EAPI=4 + +DESCRIPTION="Apsfilter Prints So Fine, It Leads To Extraordinary Results" +HOMEPAGE="http://www.apsfilter.org" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="cups" +SLOT="0" +LICENSE="GPL-2" + +RDEPEND="|| ( net-print/cups net-print/lprng ) + app-text/ghostscript-gpl + >=app-text/psutils-1.17 + >=media-gfx/imagemagick-5.4.5 + >=app-text/a2ps-4.13b-r4 + >=sys-apps/gawk-3.1.0-r1 + virtual/mta" +DEPEND="${RDEPEND}" + +SRC_URI="http://www.apsfilter.org/download/${P}.tar.bz2" +S=${WORKDIR}/apsfilter + +src_configure() { + # assume thet lprng is installed if cups isn't USEd + use cups && \ + myconf="--with-printcap=/etc/cups/printcap --with-spooldir=/var/spool/cups" || \ + myconf="--with-printcap=/etc/lprng/printcap" + + ./configure --prefix=/usr --mandir=/usr/share/man --docdir=/usr/share/doc/${PF} ${myconf} || die + # econf dont work here :( +} + +src_install () { + emake DESTDIR="${D}" install + dosym /usr/share/apsfilter/SETUP /usr/bin/apsfilter + use cups && \ + dosym /etc/cups/printcap /etc/printcap || \ + dosym /etc/lprng/printcap /etc/printcap +} -- cgit v1.2.3-65-gdbad