2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Dosyalardaki POD hatalarını kontrol etme
|
2017-04-10 15:33:02 +02:00
|
|
|
|
# URL: http://search.cpan.org/dist/Test-Pod/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: alihan-ozturk28@hotmail.com
|
|
|
|
|
# Gerekler:
|
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
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-02-24 01:27:23 +01:00
|
|
|
|
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
|
|
|
|
|
}
|