ipfire-3.x/perl-FCGI/perl-FCGI.nm

59 lines
1.2 KiB
Plaintext

###############################################################################
# IPFire.org - An Open Source Firewall Solution #
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
###############################################################################
name = perl-FCGI
version = 0.77
release = 3
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/E/ET/ETHER/
build
requires
perl(ExtUtils::MakeMaker)
perl(ExtUtils::ParseXS)
perl(Test::More)
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
# Set correct library permissions.
find %{BUILDROOT}%{libdir} -type f -iname "*.so" \
-exec chmod 755 {} \;
end
end
packages
package %{name}
requires
perl(:MODULE_COMPAT_%{perl_version})
end
end
package %{name}-debuginfo
template DEBUGINFO
end
end