2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: Yuvarlak veya kesin İngilizce sürelerin ifadesi
|
|
|
|
|
# URL: http://search.cpan.org/dist/Time-Duration
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: perl-test-pod perl-test-pod-coverage
|
2018-07-31 09:27:34 +02:00
|
|
|
|
# Grup: sistem
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=perl-time-duration
|
|
|
|
|
surum=1.1
|
|
|
|
|
devir=1
|
|
|
|
|
|
|
|
|
|
kaynak=(
|
|
|
|
|
http://www.cpan.org/authors/id/A/AV/AVIF/Time-Duration-$surum.tar.gz)
|
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
cd Time-Duration-$surum
|
|
|
|
|
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
|
|
|
|
|
}
|