blob: 38ac5d2d18970ba9280e51b8f679747794412ffa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2011 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.14.30.ebuild,v 1.2 2011/09/03 21:05:23 tove Exp $
EAPI=4
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
}
|