milis/talimatname/genel/p/perl-test-pod/talimat

23 lines
607 B
Plaintext
Raw Normal View History

2017-04-10 15:33:02 +02:00
# Description: Dosyalardaki POD hatalarını kontrol etme
# URL: http://search.cpan.org/dist/Test-Pod/
2016-11-13 01:08:33 +01:00
# Packager: alihan-ozturk28@hotmail.com
2017-04-13 19:15:35 +02:00
# Depends on:
2016-11-13 01:08:33 +01:00
2016-02-24 01:27:23 +01:00
name=perl-test-pod
2016-11-13 01:08:33 +01:00
version=1.51
2016-02-24 01:27:23 +01:00
release=1
2016-11-13 01:08:33 +01:00
source=(http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Pod-$version.tar.gz)
2016-02-24 01:27:23 +01:00
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
}