summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.14.30-r1.ebuild')
-rw-r--r--dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.14.30-r1.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.14.30-r1.ebuild b/dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.14.30-r1.ebuild
new file mode 100644
index 000000000000..1169eb0ff00c
--- /dev/null
+++ b/dev-perl/Tk-JPEG-Lite/Tk-JPEG-Lite-2.14.30-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MODULE_AUTHOR=SREZIC
+MODULE_VERSION=2.01403
+inherit perl-module
+
+DESCRIPTION="lite JPEG loader for Tk::Photo"
+
+SLOT="0"
+KEYWORDS="amd64 ia64 ~ppc sparc x86"
+IUSE=""
+
+RDEPEND="virtual/jpeg
+ dev-perl/perl-tk"
+DEPEND="${RDEPEND}"
+
+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() {
+ elog
+ elog "To avoid collisions, the command line program has been renamed from tkjpeg to tkjpeg-lite"
+ elog
+}