]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - perl-Tk/perl-Tk.nm
perl-Tk: New package.
[ipfire-3.x.git] / perl-Tk / perl-Tk.nm
diff --git a/perl-Tk/perl-Tk.nm b/perl-Tk/perl-Tk.nm
new file mode 100644 (file)
index 0000000..f73502e
--- /dev/null
@@ -0,0 +1,65 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = perl-Tk
+version    = 804.029
+release    = 1
+thisapp    = Tk-%{version}
+
+groups     = Development/Libraries
+url        = http://search.cpan.org/dist/Tk/
+license    = GPL+ or Artistic
+summary    = Perl Graphical User Interface ToolKit.
+
+description
+       This a re-port of a perl interface to Tk8.4.
+       C code is derived from Tcl/Tk8.4.5.
+       It also includes all the C code parts of Tix8.1.4 from SourceForge.
+       The perl code corresponding to Tix's Tcl code is not fully implemented.
+
+       Perl API is essentially the same as Tk800 series Tk800.025 but has not
+       been verified as compliant. There ARE differences see pod/804delta.pod.
+end
+
+source_dl  = http://cpan.org/modules/by-module/Tk/
+
+build
+       requires
+               perl(ExtUtils::ParseXS)
+               perl(ExtUtils::MakeMaker)
+               perl-devel
+               libjpeg-devel
+               libpng-devel
+               libX11-devel
+               libXft-devel
+       end
+
+       build
+               perl Makefile.PL INSTALLDIRS=vendor X11LIB=%{libdir} XFT=1
+               make %{PARALLELISMFLAGS}
+       end
+
+       install
+               make pure_install PERL_INSTALL_ROOT=%{BUILDROOT}
+       end
+end
+
+packages
+       package %{name}
+               provides
+                       perl(Tk::LabRadio) = 4.004
+                       perl(Tk::TextReindex)
+                       perl(Tk) = %{version}
+               end
+       end
+
+       package %{name}-devel
+               template DEVEL
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end