diff options
author | Torsten Veller <tove@gentoo.org> | 2010-09-03 07:20:49 +0000 |
---|---|---|
committer | Torsten Veller <tove@gentoo.org> | 2010-09-03 07:20:49 +0000 |
commit | 186d22531dc00fb19e4675a68bb567d4dc2ae7b7 (patch) | |
tree | 75901f00bc009cf92c659d369d98c199982a2be3 /dev-perl/Tk-JPEG-Lite | |
parent | Version bump. (diff) | |
download | gentoo-2-186d22531dc00fb19e4675a68bb567d4dc2ae7b7.tar.gz gentoo-2-186d22531dc00fb19e4675a68bb567d4dc2ae7b7.tar.bz2 gentoo-2-186d22531dc00fb19e4675a68bb567d4dc2ae7b7.zip |
Maintenance: fix license and quoting, EAPI bump
(Portage version: 2.2_rc74_p2/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/Tk-JPEG-Lite')
-rw-r--r-- | dev-perl/Tk-JPEG-Lite/ChangeLog | 7 | ||||
-rw-r--r-- | dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.01403.ebuild | 31 |
2 files changed, 18 insertions, 20 deletions
diff --git a/dev-perl/Tk-JPEG-Lite/ChangeLog b/dev-perl/Tk-JPEG-Lite/ChangeLog index d45d97079133..d1ba1408bd86 100644 --- a/dev-perl/Tk-JPEG-Lite/ChangeLog +++ b/dev-perl/Tk-JPEG-Lite/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-perl/Tk-JPEG-Lite -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Tk-JPEG-Lite/ChangeLog,v 1.11 2006/10/24 22:05:32 mcummings Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Tk-JPEG-Lite/ChangeLog,v 1.12 2010/09/03 07:20:49 tove Exp $ + + 03 Sep 2010; Torsten Veller <tove@gentoo.org> Tk-JPEG-Lite-2.01403.ebuild: + Maintenance: fix license and quoting, EAPI bump 24 Oct 2006; Michael Cummings <mcummings@gentoo.org> Tk-JPEG-Lite-2.01403.ebuild: diff --git a/dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.01403.ebuild b/dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.01403.ebuild index 072ca1193e6a..0d1c04912d0b 100644 --- a/dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.01403.ebuild +++ b/dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.01403.ebuild @@ -1,31 +1,26 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.01403.ebuild,v 1.11 2006/10/24 22:05:32 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.01403.ebuild,v 1.12 2010/09/03 07:20:49 tove Exp $ -inherit perl-module +EAPI=3 -IUSE="" +MODULE_AUTHOR=SREZIC +inherit perl-module DESCRIPTION="lite JPEG loader for Tk::Photo" -SRC_URI="mirror://cpan/authors/id/S/SR/SREZIC/${P}.tar.gz" -HOMEPAGE="http://www.cpan.org/modules/by-authors/id/S/SR/SREZIC/" SLOT="0" -LICENSE="Artistic GPL-2" KEYWORDS="amd64 ia64 ~ppc sparc x86" +IUSE="" -DEPEND="media-libs/jpeg - dev-perl/perl-tk - dev-lang/perl" +RDEPEND="media-libs/jpeg + dev-perl/perl-tk" +DEPEND="${RDEPEND}" -src_unpack() { - unpack ${A} - cd ${S} - for i in Makefile.PL tkjpeg MANIFEST; do - sed -e 's:tkjpeg:tkjpeg-lite:' ${i} > ${i}.new \ - && mv ${i}.new ${i} || die "sed on ${i} failed!" - done - mv tkjpeg tkjpeg-lite +src_prepare() { + perl-module_src_prepare + sed -i -e 's:tkjpeg:tkjpeg-lite:' Makefile.PL tkjpeg MANIFEST || die + mv tkjpeg tkjpeg-lite || die } pkg_postinst() { |