]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
perl-IO-AIO: New package.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 22 Apr 2012 19:26:01 +0000 (21:26 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 22 Apr 2012 19:26:01 +0000 (21:26 +0200)
perl-IO-AIO/perl-IO-AIO.nm [new file with mode: 0644]

diff --git a/perl-IO-AIO/perl-IO-AIO.nm b/perl-IO-AIO/perl-IO-AIO.nm
new file mode 100644 (file)
index 0000000..2565f49
--- /dev/null
@@ -0,0 +1,58 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = perl-IO-AIO
+version    = 4.15
+release    = 1
+thisapp    = IO-AIO-%{version}
+
+groups     = Development/Libraries
+url        = http://search.cpan.org/dist/IO-AIO/
+license    = GPL+ or Artistic
+summary    = Perl module for Asynchronous Input/Output.
+
+description
+       This module implements asynchronous I/O using whatever means your operating
+       system supports.
+end
+
+source_dl  = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
+
+build
+       requires
+               perl(ExtUtils::MakeMaker)
+               perl(ExtUtils::ParseXS)
+               perl(Carp)
+               perl(common::sense)
+       end
+
+       build
+               perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
+               make %{PARALLELISMFLAGS}
+       end
+
+       test
+               make test
+       end
+
+       make_install_targets = pure_install DESTDIR=%{BUILDROOT}
+
+       install_cmds
+               # Remove script we don't want packaged
+               rm -rvf %{BUILDROOT}%{bindir}/treescan
+       end
+end
+
+packages
+       package %{name}
+               requires
+                       perl
+               end
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end