/[gentoo-x86]/dev-perl/perl-tk/perl-tk-804.30.0.ebuild
Gentoo

Contents of /dev-perl/perl-tk/perl-tk-804.30.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed May 9 13:22:13 2012 UTC (23 months, 1 week ago) by aballier
Branch: MAIN
Changes since 1.1: +2 -2 lines
keyword ~amd64-fbsd

(Portage version: 2.2.0_alpha102/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-perl/perl-tk/perl-tk-804.30.0.ebuild,v 1.1 2012/04/11 18:03:55 tove Exp $
4
5 EAPI=4
6
7 MY_PN=Tk
8 MODULE_AUTHOR=SREZIC
9 MODULE_VERSION=804.030
10 inherit multilib perl-module
11
12 DESCRIPTION="A Perl Module for Tk"
13
14 LICENSE+=" BSD"
15 SLOT="0"
16 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
17 IUSE=""
18
19 DEPEND="x11-libs/libX11
20 x11-libs/libXft
21 media-libs/freetype
22 >=media-libs/libpng-1.4
23 virtual/jpeg"
24 RDEPEND="${DEPEND}"
25
26 # No test running here, requires an X server, and fails lots anyway.
27 SRC_TEST="skip"
28 PATCHES=( "${FILESDIR}"/xorg.patch )
29
30 src_prepare() {
31 MAKEOPTS+=" -j1" #333049
32 myconf=( X11ROOT=${EPREFIX}/usr XFT=1 -I${EPREFIX}/usr/include/ -l${EPREFIX}/usr/$(get_libdir) )
33 mydoc="ToDo VERSIONS"
34
35 perl-module_src_prepare
36 # fix detection logic for Prefix, bug #385621
37 sed -i -e "s:/usr:${EPREFIX}/usr:g" myConfig || die
38 # having this around breaks with perl-module and a case-IN-sensitive fs
39 rm build || die
40 }

  ViewVC Help
Powered by ViewVC 1.1.20