diff options
author | Horst G. Burkhardt <horst@adelielinux.org> | 2018-06-26 21:22:14 +0000 |
---|---|---|
committer | Horst G. Burkhardt <horst@adelielinux.org> | 2018-06-26 21:22:14 +0000 |
commit | 96c6e51ae6627ba4683d4462a5662c3dd2d3c24f (patch) | |
tree | 72d16d07608c8916ae057944e248414688f8ba53 /system | |
parent | 8d91add99a801cda01281f6ff59e66e64cc4369b (diff) | |
parent | 8383cc1d37ec51152d4c1004e002f0340bdf3786 (diff) | |
download | packages-96c6e51ae6627ba4683d4462a5662c3dd2d3c24f.tar.gz packages-96c6e51ae6627ba4683d4462a5662c3dd2d3c24f.tar.bz2 packages-96c6e51ae6627ba4683d4462a5662c3dd2d3c24f.tar.xz packages-96c6e51ae6627ba4683d4462a5662c3dd2d3c24f.zip |
Merge branch 'master' of code.foxkit.us:adelie/packages
Diffstat (limited to 'system')
-rw-r--r-- | system/perl-libwww/APKBUILD | 39 | ||||
-rw-r--r-- | system/perl-test-fatal/APKBUILD | 41 | ||||
-rw-r--r-- | system/perl-test-requiresinternet/APKBUILD | 42 | ||||
-rw-r--r-- | system/perl-www-robotrules/APKBUILD | 35 |
4 files changed, 157 insertions, 0 deletions
diff --git a/system/perl-libwww/APKBUILD b/system/perl-libwww/APKBUILD new file mode 100644 index 000000000..ee7012f8a --- /dev/null +++ b/system/perl-libwww/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-libwww +_realname=libwww-perl +pkgver=6.31 +pkgrel=0 +pkgdesc="Perl module - World Wide Web library" +url="http://search.cpan.org/~mschilli" +arch="noarch" +license="GPL-2.0-only OR Artistic-1.0-Perl" +depends="perl-http-date perl-http-cookies perl-net-http perl-http-daemon + perl-html-parser perl-file-listing perl-www-robotrules + perl-http-negotiate perl-uri perl-http-message + perl-lwp-mediatypes perl-encode-locale perl-try-tiny" +makedepends="perl-dev perl-test-fatal perl-test-requiresinternet" +install= +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/libwww-perl/libwww-perl/archive/v$pkgver.tar.gz" +builddir="$srcdir/$_realname-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + # creates file collision among perl modules + find "$pkgdir" -name perllocal.pod -delete +} + +sha512sums="884612d01d0d5dd47f74c7e9fd44ec17f6f08069521710c84912cd11643097a5456e91c9339b888307c629199721aa20c449cf8f7e4ef6fd7be719ab637b3cf2 perl-libwww-6.31.tar.gz" diff --git a/system/perl-test-fatal/APKBUILD b/system/perl-test-fatal/APKBUILD new file mode 100644 index 000000000..3cb20afdd --- /dev/null +++ b/system/perl-test-fatal/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-test-fatal +_pkgreal=Test-Fatal +pkgver=0.014 +pkgrel=1 +pkgdesc="incredibly simple helpers for testing code with exceptions" +url="http://search.cpan.org/dist/Test-Fatal/" +arch="noarch" +license="GPL-2.0-only OR Artistic-1.0-Perl" +cpandepends="perl-try-tiny" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="339d9b33231f8c8d93c0f9374a51458d004568a2f3e28471976e954c35d27efd348f68fb56e3cabd11dc47d37e7ce46282eba967c156ba5081811d221c6a7523 Test-Fatal-0.014.tar.gz" diff --git a/system/perl-test-requiresinternet/APKBUILD b/system/perl-test-requiresinternet/APKBUILD new file mode 100644 index 000000000..db7b419a5 --- /dev/null +++ b/system/perl-test-requiresinternet/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-test-requiresinternet +_pkgreal=Test-RequiresInternet +pkgver=0.05 +pkgrel=1 +pkgdesc="Easily test network connectivity" +url="http://search.cpan.org/dist/Test-RequiresInternet/" +arch="noarch" +license="GPL-2.0-only OR Artistic-1.0-Perl" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/M/MA/MALLEN/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + default_prepare + + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +check() { + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + make test +} + +sha512sums="572af3e6fdfb90df3a58ba6eaf571717b294a54fff4b3f597fd177f1eb91fb1c929cb808f8d219f692314a944cf41dc1afab41f5a0dd2185054c08fec69e66c3 Test-RequiresInternet-0.05.tar.gz" diff --git a/system/perl-www-robotrules/APKBUILD b/system/perl-www-robotrules/APKBUILD new file mode 100644 index 000000000..f2add4a41 --- /dev/null +++ b/system/perl-www-robotrules/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-www-robotrules +pkgver=6.02 +pkgrel=2 +pkgdesc="Perl module for parsing /robots.txt files on HTTP servers" +url="http://search.cpan.org/dist/WWW-RobotRules/" +arch="noarch" +license="GPL-2.0-only OR Artistic-1.0-Perl" +depends="perl perl-uri" +makedepends="perl-dev" +install="" +replaces="perl-libwww" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/WWW-RobotRules-$pkgver.tar.gz" +builddir="$srcdir"/WWW-RobotRules-$pkgver + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="781a2fc90e4efed901a91ecf4f2aaac2684409c6a75a8434ff140654838bb05d11f8fa760642e20eee96450d3ced6815a4dab11a4245bc8120c69ca68ab49e44 WWW-RobotRules-6.02.tar.gz" |