# 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 
# Grup: sistem

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
}
