diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2012-06-09 21:09:24 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2012-06-09 21:09:24 +0000 |
commit | c1d06a81bedbb2e56d2735aa7da6fc99db49553b (patch) | |
tree | 53403d99ce3bbc8f4c253366828374d6f221ac56 /net-print/cups-filters | |
parent | Drop redundant append-flags (already done in qt4-build.eclass). (diff) | |
download | gentoo-2-c1d06a81bedbb2e56d2735aa7da6fc99db49553b.tar.gz gentoo-2-c1d06a81bedbb2e56d2735aa7da6fc99db49553b.tar.bz2 gentoo-2-c1d06a81bedbb2e56d2735aa7da6fc99db49553b.zip |
Introduce also perl useflag.
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'net-print/cups-filters')
-rw-r--r-- | net-print/cups-filters/ChangeLog | 5 | ||||
-rw-r--r-- | net-print/cups-filters/cups-filters-9999.ebuild | 25 |
2 files changed, 26 insertions, 4 deletions
diff --git a/net-print/cups-filters/ChangeLog b/net-print/cups-filters/ChangeLog index a14b750c56fc..f8357894a80c 100644 --- a/net-print/cups-filters/ChangeLog +++ b/net-print/cups-filters/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-print/cups-filters # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/cups-filters/ChangeLog,v 1.11 2012/06/08 22:33:42 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/cups-filters/ChangeLog,v 1.12 2012/06/09 21:09:24 scarabeus Exp $ + + 09 Jun 2012; Tomáš Chvátal <scarabeus@gentoo.org> cups-filters-9999.ebuild: + Introduce also perl useflag. 08 Jun 2012; Andreas K. Huettel <dilfridge@gentoo.org> cups-filters-9999.ebuild, -files/cups-filters-9999-beta.patch, diff --git a/net-print/cups-filters/cups-filters-9999.ebuild b/net-print/cups-filters/cups-filters-9999.ebuild index 390c82a76a39..f07cf5572223 100644 --- a/net-print/cups-filters/cups-filters-9999.ebuild +++ b/net-print/cups-filters/cups-filters-9999.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/cups-filters/cups-filters-9999.ebuild,v 1.7 2012/06/08 22:33:42 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/cups-filters/cups-filters-9999.ebuild,v 1.8 2012/06/09 21:09:24 scarabeus Exp $ EAPI=4 -inherit base +inherit base perl-module if [[ "${PV}"=="9999" ]] ; then inherit autotools bzr @@ -19,7 +19,7 @@ HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdf LICENSE="GPL-2" SLOT="0" -IUSE="jpeg png static-libs tiff" +IUSE="jpeg perl png static-libs tiff" RDEPEND=" app-text/ghostscript-gpl @@ -30,6 +30,7 @@ RDEPEND=" >net-print/cups-1.5.9999 sys-libs/zlib jpeg? ( virtual/jpeg ) + perl? ( dev-lang/perl ) png? ( media-libs/libpng ) tiff? ( media-libs/tiff ) " @@ -60,8 +61,26 @@ src_configure() { --without-php } +src_compile() { + default + + if use perl; then + pushd "${S}/scripting/perl" > /dev/null + perl-module_src_prep + perl-module_src_compile + popd > /dev/null + fi +} + src_install() { default + if use perl; then + pushd "${S}/scripting/perl" > /dev/null + perl-module_src_install + fixlocalpod + popd > /dev/null + fi + find "${ED}" -name '*.la' -exec rm -f {} + } |