[arch-commits] Commit in mod_perl/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Jun 14 15:45:33 UTC 2015
Date: Sunday, June 14, 2015 @ 17:45:33
Author: foutrelis
Revision: 135301
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
mod_perl/repos/community-staging-i686/
mod_perl/repos/community-staging-i686/PKGBUILD
(from rev 135300, mod_perl/trunk/PKGBUILD)
mod_perl/repos/community-staging-x86_64/
mod_perl/repos/community-staging-x86_64/PKGBUILD
(from rev 135300, mod_perl/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
Copied: mod_perl/repos/community-staging-i686/PKGBUILD (from rev 135300, mod_perl/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-06-14 15:45:33 UTC (rev 135301)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer:
+# Contributor: Firmicus <francois.archlinux.org>
+# Contributor: Tom K <tomk at runbox.com>
+
+pkgname=mod_perl
+pkgver=2.0.8
+pkgrel=5
+pkgdesc='Apache module that embeds the Perl interpreter within the server'
+arch=(i686 x86_64)
+url='http://perl.apache.org/'
+license=(APACHE)
+depends=(perl apache db apr-util perl-linux-pid)
+makedepends=(subversion)
+options=(!emptydirs)
+# upstream from http://apache.org/dist/perl/$pkgname-$pkgver.tar.gz is not ready for apache 2.4 yet
+# See the discussion http://mail-archives.apache.org/mod_mbox/perl-modperl/201402.mbox/thread
+# But trunk seems almost ready for Apache 2.4
+# http://mail-archives.apache.org/mod_mbox/perl-modperl/201408.mbox/browser
+source=(mod_perl::svn+http://svn.apache.org/repos/asf/perl/modperl/trunk#revision=1654615)
+sha256sums=('SKIP')
+
+build() {
+ cd mod_perl
+ perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/bin/apxs
+ make
+}
+
+check() {
+ cd mod_perl
+ # tests are very flaky
+ # make test
+}
+
+package() {
+ cd mod_perl
+ make install DESTDIR="$pkgdir"
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
Copied: mod_perl/repos/community-staging-x86_64/PKGBUILD (from rev 135300, mod_perl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-06-14 15:45:33 UTC (rev 135301)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer:
+# Contributor: Firmicus <francois.archlinux.org>
+# Contributor: Tom K <tomk at runbox.com>
+
+pkgname=mod_perl
+pkgver=2.0.8
+pkgrel=5
+pkgdesc='Apache module that embeds the Perl interpreter within the server'
+arch=(i686 x86_64)
+url='http://perl.apache.org/'
+license=(APACHE)
+depends=(perl apache db apr-util perl-linux-pid)
+makedepends=(subversion)
+options=(!emptydirs)
+# upstream from http://apache.org/dist/perl/$pkgname-$pkgver.tar.gz is not ready for apache 2.4 yet
+# See the discussion http://mail-archives.apache.org/mod_mbox/perl-modperl/201402.mbox/thread
+# But trunk seems almost ready for Apache 2.4
+# http://mail-archives.apache.org/mod_mbox/perl-modperl/201408.mbox/browser
+source=(mod_perl::svn+http://svn.apache.org/repos/asf/perl/modperl/trunk#revision=1654615)
+sha256sums=('SKIP')
+
+build() {
+ cd mod_perl
+ perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/bin/apxs
+ make
+}
+
+check() {
+ cd mod_perl
+ # tests are very flaky
+ # make test
+}
+
+package() {
+ cd mod_perl
+ make install DESTDIR="$pkgdir"
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
More information about the arch-commits
mailing list