You are not logged in.

#1 2004-11-10 02:47:24

miasma
Member
From: Boulder, CO
Registered: 2004-11-09
Posts: 39
Website

[new] perl-config-general

Perl Module Conig::General

this is a perl module that is required for my wlan-config package
uploaded to incoming as perl-config-general-2.27-1.pkg.tar.gz

PKGBUILD

# Maintainer: Joshua Rubin <joshua@cybertron.cc>
pkgname=perl-config-general
pkgver=2.27
pkgrel=1
pkgdesc="Config::General - Generic Config Module"
url="http://search.cpan.org/~tlinden/Config-General-$pkgver/General.pm"
depends=('perl')
source=("http://www.cpan.org/modules/by-module/Config/Config-General-$pkgver.tar.gz")
md5sums=('dba34b94789fe68f19e97016b6c2194c')

build() {
  cd $startdir/src/Config-General-$pkgver
  /usr/bin/perl Makefile.PL
  # ugly hack to make install location
  # compatible with newer versions of perl.
  # NOTE: if the perl version changes from 5.8.5, change sed line too
  /bin/sed -i "s:5.8.5:current:g" Makefile
  /usr/bin/make || return 1
  /usr/bin/make install DESTDIR=$startdir/pkg
  /bin/rm $startdir/pkg/usr/lib/perl5/current/${CARCH}-linux-thread-multi/perllocal.pod
  /bin/rm $startdir/pkg/usr/lib/perl5/site_perl/current/${CARCH}-linux-thread-multi/auto/Config/General/.packlist
}
# vim: ts=2 sw=2 et ft=sh

Offline

Board footer

Powered by FluxBB