]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
perl-FCGI: New package.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 6 Jan 2012 16:33:44 +0000 (17:33 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 6 Jan 2012 16:33:44 +0000 (17:33 +0100)
Required by perl-CGI.

perl-FCGI/perl-FCGI.nm [new file with mode: 0644]

diff --git a/perl-FCGI/perl-FCGI.nm b/perl-FCGI/perl-FCGI.nm
new file mode 100644 (file)
index 0000000..439449c
--- /dev/null
@@ -0,0 +1,49 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = perl-FCGI
+version    = 0.74
+release    = 1
+thisapp    = FCGI-%{version}
+
+groups     = Development/Libraries
+url        = http://search.cpan.org/dist/FCGI
+license    = OML
+summary    = FastCGI perl bindings.
+
+description
+       FastCGI perl bindings.
+end
+
+source_dl  = http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/
+
+build
+       requires
+               perl(ExtUtils::MakeMaker)
+       end
+
+       build
+               perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
+               make %{PARALLELISMFLAGS}
+       end
+
+       test
+               make test
+       end
+
+       make_install_targets = pure_install DESTDIR=%{BUILDROOT}
+end
+
+packages
+       package %{name}
+               requires
+                       perl
+               end
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end