]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - perl-Tk/perl-Tk.nm
paxctl: Update to 0.8.
[people/ms/ipfire-3.x.git] / perl-Tk / perl-Tk.nm
CommitLineData
f9cf2899
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = perl-Tk
7version = 804.029
ecb2f3fa 8release = 2
f9cf2899
MT
9thisapp = Tk-%{version}
10
11groups = Development/Libraries
12url = http://search.cpan.org/dist/Tk/
13license = GPL+ or Artistic
14summary = Perl Graphical User Interface ToolKit.
15
16description
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.
24end
25
26source_dl = http://cpan.org/modules/by-module/Tk/
27
28build
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}
ecb2f3fa
MT
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}
f9cf2899
MT
50 end
51end
52
53packages
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
69end