ipfire-3.x/perl-WWW-Curl/perl-WWW-Curl.nm

76 lines
1.6 KiB
Plaintext

###############################################################################
# IPFire.org - An Open Source Firewall Solution #
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
###############################################################################
name = perl-WWW-Curl
version = 4.17
release = 4
thisapp = WWW-Curl-%{version}
groups = Development/Libraries
url = http://search.cpan.org/dist/WWW-Curl
license = GPL+
summary = Perl extension interface for libcurl.
description
WWW::Curl is a Perl extension interface for libcurl..
end
source_dl = http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT/
build
requires
libcurl-devel
perl(FindBin)
perl(ExtUtils::MakeMaker)
perl(ExtUtils::ParseXS)
perl(Module::Install)
perl(Test::More)
end
build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
make %{PARALLELISMFLAGS}
end
test
# The following tests requires network connectivity
# Remove them
rm t/01basic.t
rm t/02callbacks.t
rm t/04abort-test.t
rm t/05progress.t
rm t/08ssl.t
rm t/09times.t
rm t/14duphandle.t
rm t/15duphandle-callback.t
rm t/18twinhandles.t
rm t/19multi.t
rm t/21write-to-scalar.t
make test
end
make_install_targets = \
pure_install
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