28 lines
715 B
Plaintext
28 lines
715 B
Plaintext
# Description: Check for POD errors in files
|
|
# URL: URL: http://search.cpan.org/dist/Test-Pod/
|
|
# NuTyX package info file (http://nutyx.org)
|
|
# Packager: # NuTyX package info file (http://nutyx.org)
|
|
# Depends on:
|
|
run=( perl )
|
|
name=perl-test-pod
|
|
version=1.48
|
|
release=1
|
|
|
|
source=(http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/Test-Pod-$version.tar.gz)
|
|
|
|
build() {
|
|
cd Test-Pod-$version
|
|
perl Makefile.PL
|
|
make OPTIMIZE="$CFLAGS" || exit 1
|
|
make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1
|
|
|
|
# Remove perllocal.pod and .packlist if present in the package
|
|
for i in perllocal.pod .packlist; do
|
|
find $PKG -name "$i" -exec rm -rf {} \;
|
|
done
|
|
}
|
|
|
|
|
|
|
|
# NuTyX Pkgfile (http://nutyx.org)
|