#Maintainer: George Vlahavas pkgname=libwww-perl pkgver=5.834 pkgrel=1gv source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-$pkgver.tar.gz) docs=("readme*" "install" "copying" "changelog*" "authors" "news" "todo" "license" "maintainers" "copyright.pod") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libwww-perl (The World-Wide Web library for Perl)" "The libwww-perl collection is a set of Perl modules which provides a" "simple and consistent application programming interface (API) to the" "World-Wide Web. The main focus of the library is to provide classes" "and functions that allow you to write WWW clients. The library also" "contain modules that are of more general use and even classes that" "help you implement simple HTTP servers." ) build() { cd $startdir/src/libwww-perl-$pkgver perl Makefile.PL || exit 1 make OPTIMIZE="$CFLAGS" || exit 1 make install INSTALLDIRS=vendor DESTDIR=$startdir/pkg || exit 1 # Remove perllocal.pod and .packlist if present in the package ( for i in perllocal.pod .packlist; do find $startdir/pkg -name "$i" -exec rm -rf {} \; done ) || exit 1 }