Commit d486e8f2 authored by Manuel's avatar Manuel

New libwww deps

parent 2659ccae
# Platform packages for Chakra
pkgname=perl-file-listing
pkgver=6.04
pkgrel=1
pkgdesc="parse directory listing"
arch=(any)
license=(PerlArtistic GPL)
options=(!emptydirs)
depends=('perl>=5.8.8' 'perl-http-date>=6')
conflicts=('perl-libwww<6')
url="http://search.cpan.org/dist/File-Listing"
source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/File-Listing-${pkgver}.tar.gz")
md5sums=('83f636b477741f3a014585bb9cc079a6')
sha512sums=('a84198bc82003daaf88ed23218e34a7a1552dcd2855a9563e9609ce5df167a8295043501534c31614854fc8dd9c04b4af27b4d7320112c613914f94c86c2eeb2')
_distdir="${srcdir}/File-Listing-${pkgver}"
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "$_distdir"
/usr/bin/perl Makefile.PL
make
)
}
check() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
cd "$_distdir"
make test
)
}
package() {
cd "$_distdir"
make DESTDIR="$pkgdir" install
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
# Platform packages for Chakra
pkgname=perl-http-date
pkgver=6.01
pkgrel=1
pkgdesc="date conversion routines"
arch=(any)
license=(PerlArtistic GPL)
options=('!emptydirs')
depends=('perl>=5.14.2')
makedepends=()
checkdepends=()
conflicts=('perl-libwww<6')
url=http://search.cpan.org/dist/HTTP-Date
source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Date-6.00.tar.gz)
md5sums=('41b875ac89c14d7f66515b52cdd12acd')
sha512sums=('7101f30a8a3ac333d37d1c4120c3202ebeb961e742cbecd6b4af140fe575da09c3a3e5be3a2c96e8e33fa2d1e29b10abea59434c2c227d9b6386c306a377f81c')
_distdir="${srcdir}/HTTP-Date-6.00"
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "$_distdir"
/usr/bin/perl Makefile.PL
make
)
}
check() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
cd "$_distdir"
make test
)
}
package() {
cd "$_distdir"
make DESTDIR="$pkgdir" install
}
......@@ -7,7 +7,7 @@ pkgdesc="The World-Wide Web library for Perl"
arch=(any)
license=(PerlArtistic GPL)
options=(!emptydirs)
depends=('perl>=5.8.1' 'perl-encode-locale' 'perl-file-listing>=6'
depends=('perl>=5.14.2' 'perl-encode-locale' 'perl-file-listing>=6'
'perl-html-parser' 'perl-http-cookies>=6' 'perl-http-daemon>=6'
'perl-http-date>=6' 'perl-http-negotiate>=6' 'perl-lwp-mediatypes>=6'
'perl-net-http>=6' 'perl-uri>=1.10' 'perl-www-robotrules>=6'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment