summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2011-06-02 15:15:55 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2011-06-02 15:15:55 +0000
commitc5207be0d84a9b6fab756ddcbc1e5c8ac77851c4 (patch)
tree02c7def51fb24b43c27cbf3577d3de096649d1f6 /net-print/foo2zjs
parentversion bump (diff)
downloadgentoo-2-c5207be0d84a9b6fab756ddcbc1e5c8ac77851c4.tar.gz
gentoo-2-c5207be0d84a9b6fab756ddcbc1e5c8ac77851c4.tar.bz2
gentoo-2-c5207be0d84a9b6fab756ddcbc1e5c8ac77851c4.zip
Install missing ppd files, bug #356695 comment #5 by Mads <mads@ab3.no>. Bump to EAPI 4.
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'net-print/foo2zjs')
-rw-r--r--net-print/foo2zjs/ChangeLog6
-rw-r--r--net-print/foo2zjs/foo2zjs-99999999.ebuild25
2 files changed, 19 insertions, 12 deletions
diff --git a/net-print/foo2zjs/ChangeLog b/net-print/foo2zjs/ChangeLog
index 5c4d23441723..71b13c7b8f1f 100644
--- a/net-print/foo2zjs/ChangeLog
+++ b/net-print/foo2zjs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-print/foo2zjs
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/ChangeLog,v 1.41 2011/06/02 10:36:52 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/ChangeLog,v 1.42 2011/06/02 15:15:55 phajdan.jr Exp $
+
+ 02 Jun 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> foo2zjs-99999999.ebuild:
+ Install missing ppd files, bug #356695 comment #5 by Mads <mads@ab3.no>. Bump
+ to EAPI 4.
02 Jun 2011; Andreas K. Huettel <dilfridge@gentoo.org>
foo2zjs-20080225.ebuild, foo2zjs-20081129.ebuild, foo2zjs-99999999.ebuild:
diff --git a/net-print/foo2zjs/foo2zjs-99999999.ebuild b/net-print/foo2zjs/foo2zjs-99999999.ebuild
index 82047023d359..ac7522f31035 100644
--- a/net-print/foo2zjs/foo2zjs-99999999.ebuild
+++ b/net-print/foo2zjs/foo2zjs-99999999.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/foo2zjs-99999999.ebuild,v 1.2 2011/06/02 10:36:52 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/foo2zjs-99999999.ebuild,v 1.3 2011/06/02 15:15:55 phajdan.jr Exp $
-EAPI="3"
+EAPI="4"
inherit eutils
@@ -21,7 +21,6 @@ RDEPEND="net-print/cups
net-print/foomatic-filters
sys-fs/udev"
DEPEND="${RDEPEND}
- app-text/ghostscript-gpl
app-arch/unzip
net-misc/wget
sys-devel/bc"
@@ -30,26 +29,30 @@ S="${WORKDIR}/${PN}"
src_unpack() {
einfo "Fetching ${PN} tarball"
- wget "http://foo2zjs.rkkda.com/${PN}.tar.gz" || die
- tar zxf "${WORKDIR}/${PN}.tar.gz" || die
+ wget "http://foo2zjs.rkkda.com/${PN}.tar.gz"
+ tar zxf "${WORKDIR}/${PN}.tar.gz"
- cd "${S}" || die
+ cd "${S}"
einfo "Fetching additional files (firmware, etc)"
- emake getweb || die
+ emake getweb
# Display wget output, downloading takes some time.
- sed -e '/^WGETOPTS/s/-q//g' -i getweb || die
+ sed -e '/^WGETOPTS/s/-q//g' -i getweb
- ./getweb all || die
+ ./getweb all
}
src_prepare() {
# Prevent an access violation, do not create symlinks on live file system
# during installation.
- sed -e 's/ install-filter / /g' -i Makefile || die
+ sed -e 's/ install-filter / /g' -i Makefile
}
src_install() {
- emake DESTDIR="${D}" install || die
+ # ppd files are installed automagically. We have to create a directory
+ # for them.
+ mkdir -p "${D}/usr/share/ppd"
+
+ emake DESTDIR="${D}" install
}