From: Stefan Schantl Date: Sun, 22 Apr 2012 19:26:01 +0000 (+0200) Subject: perl-IO-AIO: New package. X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Fipfire-3.x.git;a=commitdiff_plain;h=6af1d2c6411f63ff79629ec72c5ca3a1158d2e83 perl-IO-AIO: New package. --- diff --git a/perl-IO-AIO/perl-IO-AIO.nm b/perl-IO-AIO/perl-IO-AIO.nm new file mode 100644 index 000000000..2565f4919 --- /dev/null +++ b/perl-IO-AIO/perl-IO-AIO.nm @@ -0,0 +1,58 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +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