]> git.ipfire.org Git - ipfire-3.x.git/blob - perl-Tk/perl-Tk.nm
Mass rebuild of perl and perl modules.
[ipfire-3.x.git] / perl-Tk / perl-Tk.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = perl-Tk
7 version = 804.033
8 release = 1.1
9 thisapp = Tk-%{version}
10
11 groups = Development/Libraries
12 url = http://search.cpan.org/dist/Tk/
13 license = GPL+ or Artistic
14 summary = Perl Graphical User Interface ToolKit.
15
16 description
17 This a re-port of a perl interface to Tk8.4.
18 C code is derived from Tcl/Tk8.4.5.
19 It also includes all the C code parts of Tix8.1.4 from SourceForge.
20 The perl code corresponding to Tix's Tcl code is not fully implemented.
21
22 Perl API is essentially the same as Tk800 series Tk800.025 but has not
23 been verified as compliant. There ARE differences see pod/804delta.pod.
24 end
25
26 source_dl = http://cpan.org/modules/by-module/Tk/
27
28 build
29 requires
30 perl(ExtUtils::ParseXS)
31 perl(ExtUtils::MakeMaker)
32 perl-devel
33 libjpeg-devel
34 libpng-devel
35 libX11-devel
36 libXft-devel
37 pakfire >= 0.9.26-3.1
38 end
39
40 build
41 perl Makefile.PL INSTALLDIRS=vendor X11LIB=%{libdir} XFT=1
42 make %{PARALLELISMFLAGS}
43 end
44
45 install
46 make pure_install PERL_INSTALL_ROOT=%{BUILDROOT}
47
48 # Remove interpreter in /usr/local...
49 sed -e "s@#!.*@#!/usr/bin/perl -w@g" \
50 -i %{BUILDROOT}%{libdir}/perl5/vendor_perl/Tk/pTk/{Tcl-pTk,mkVFunc}
51 end
52 end
53
54 packages
55 package %{name}
56 provides
57 perl(Tk::LabRadio) = 4.004
58 perl(Tk::TextReindex)
59 perl(Tk) = %{version}
60 end
61
62 requires
63 perl(:MODULE_COMPAT_%{perl_version})
64 end
65 end
66
67 package %{name}-devel
68 template DEVEL
69 end
70
71 package %{name}-debuginfo
72 template DEBUGINFO
73 end
74 end