]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - perl-Tk/perl-Tk.nm
dosfstools: Update to 3.0.26.
[people/ms/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.029
8 release = 2
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 end
38
39 build
40 perl Makefile.PL INSTALLDIRS=vendor X11LIB=%{libdir} XFT=1
41 make %{PARALLELISMFLAGS}
42 end
43
44 install
45 make pure_install PERL_INSTALL_ROOT=%{BUILDROOT}
46
47 # Remove interpreter in /usr/local...
48 sed -e "s@#!.*@#!/usr/bin/perl -w@g" \
49 -i %{BUILDROOT}%{libdir}/perl5/vendor_perl/Tk/pTk/{Tcl-pTk,mkVFunc}
50 end
51 end
52
53 packages
54 package %{name}
55 provides
56 perl(Tk::LabRadio) = 4.004
57 perl(Tk::TextReindex)
58 perl(Tk) = %{version}
59 end
60 end
61
62 package %{name}-devel
63 template DEVEL
64 end
65
66 package %{name}-debuginfo
67 template DEBUGINFO
68 end
69 end