Add missing dep and update

This commit is contained in:
Manuel 2012-05-10 22:13:44 +00:00
parent 7c9d365c48
commit 932f008f4d
5 changed files with 65 additions and 36 deletions

View File

@ -1,13 +1,9 @@
#
# Platform Packages for Chakra, part of chakra-project.org # Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=perl-test-pod pkgname=perl-test-pod
_realname=Test-Pod _realname=Test-Pod
pkgver=1.45 pkgver=1.45
pkgrel=2 pkgrel=3
pkgdesc="Check for POD errors in files" pkgdesc="Check for POD errors in files"
arch=(any) arch=(any)
license=('GPL' 'PerlArtistic') license=('GPL' 'PerlArtistic')

View File

@ -0,0 +1,32 @@
# Core packages for Chakra
pkgname=perl-xml-sax-base
pkgver=1.08
pkgrel=1
pkgdesc="Base class SAX Drivers and Filters"
arch=('any')
url="http://search.cpan.org/dist/XML-SAX-Base"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-$pkgver.tar.gz")
md5sums=('38c8c3247dfd080712596118d70dbe32')
build() {
cd $srcdir/XML-SAX-Base-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd $srcdir/XML-SAX-Base-$pkgver
make test
}
package() {
cd $srcdir/XML-SAX-Base-$pkgver
make install DESTDIR=$pkgdir
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}

View File

@ -1,29 +1,29 @@
# Chakra Packages for Chakra, part of chakra-project.org # Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=perl-xml-sax pkgname=perl-xml-sax
pkgver=0.96 pkgver=0.99
pkgrel=2 pkgrel=1
pkgdesc="Simple API for XML" pkgdesc="Simple API for XML"
arch=('any') arch=('any')
url="http://search.cpan.org/dist/XML-SAX" url="http://search.cpan.org/dist/XML-SAX"
license=('GPL' 'PerlArtistic') license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'perl-xml-namespacesupport>=0.03') depends=('perl' 'perl-xml-sax-base' 'perl-xml-namespacesupport')
options=('!emptydirs') options=('!emptydirs')
install=perl-xml-sax.install install=perl-xml-sax.install
source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz" 'perl-xml-sax.patch') source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz"
md5sums=('bdcd4119a62505184e211e9dfaef0ab1' 'perl-xml-sax.patch')
'b8ad2da4195ac0eede28dfaed4d874c3') md5sums=('290f5375ae87fdebfdb5bc3854019f24'
'f114c4aad3221d3e7d8314d13b84a869')
build() { build() {
cd $srcdir
patch -p0 < perl-xml-sax.patch
cd $srcdir/XML-SAX-$pkgver cd $srcdir/XML-SAX-$pkgver
patch -Np1 -i "${srcdir}/perl-xml-sax.patch"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make make
}
check() {
cd $srcdir/XML-SAX-$pkgver
make test make test
} }

View File

@ -1,9 +1,10 @@
--- XML-SAX-0.96/Makefile.PL.orig 2008-08-04 23:07:21.000000000 +0200 --- a/Makefile.PL 2011-09-04 23:37:48.000000000 +0200
+++ XML-SAX-0.96/Makefile.PL 2008-12-09 11:52:24.806540909 +0100 +++ b/Makefile.PL 2011-10-07 18:12:50.000000000 +0200
@@ -12,42 +12,3 @@ @@ -12,43 +12,3 @@
'XML::NamespaceSupport' => 0.03,
}, },
); );
-
-sub MY::install { -sub MY::install {
- package MY; - package MY;
- my $script = shift->SUPER::install(@_); - my $script = shift->SUPER::install(@_);

View File

@ -1,39 +1,39 @@
#
# Platform Packages for Chakra, part of chakra-project.org # Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=perl-yaml-syck pkgname=perl-yaml-syck
_realname=YAML-Syck _realname=YAML-Syck
pkgver=1.17 pkgver=1.20
pkgrel=2 pkgrel=1
pkgdesc="Fast, lightweight YAML loader and dumper" pkgdesc="Fast, lightweight YAML loader and dumper"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
license=('custom') license=('custom')
url="http://search.cpan.org/dist/${_realname}/" url="http://search.cpan.org/dist/${_realname}/"
depends=('perl>=5.10.0') depends=('perl>=5.10.0')
options=('!emptydirs') options=('!emptydirs')
source=(http://www.cpan.org/authors/id/A/AV/AVAR/${_realname}-$pkgver.tar.gz) source=(http://www.cpan.org/authors/id/T/TO/TODDR/${_realname}-$pkgver.tar.gz)
md5sums=('f788529ad4b2c2fd037ccdfd5e7a88ab') md5sums=('8f6d04ee5817b8479e1234264a8d458d')
build() { build() {
cd ${srcdir}/${_realname}-$pkgver cd "${srcdir}/${_realname}-$pkgver"
# install module in vendor directories. # install module in vendor directories.
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
make make
}
check() {
cd "${srcdir}/${_realname}-$pkgver"
make test make test
} }
package() { package() {
cd ${srcdir}/${_realname}-$pkgver cd "${srcdir}/${_realname}-$pkgver"
make install DESTDIR=${pkgdir} make install DESTDIR="${pkgdir}"
# remove perllocal.pod and .packlist # remove perllocal.pod and .packlist
find ${pkgdir} -name perllocal.pod -delete find "${pkgdir}" -name perllocal.pod -delete
find ${pkgdir} -name .packlist -delete find "${pkgdir}" -name .packlist -delete
# license. # license.
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
} }