#!/bin/bash # perl # # Douglas Thrift # # $Id$ name=perl version=5.8.8 revision=0 categories=(base devel lang) description='Practical Extraction and Report Language' url='http://www.perl.org/' depends=('base/glibc') sources=(`site_cpan src/$name-$version.tar.bz2`) function build() { cd $source/$sourcedir || return $? ./Configure -des -Dprefix=/usr -Dinstallprefix=$package/usr -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dusethreads || return $? gmake && gmake install }