milis/talimatname/genel/p/perl-timedate/talimat

24 lines
569 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Tarih biçimlendirme altprogramları
2017-04-10 15:37:12 +02:00
# URL: http://search.cpan.org/dist/TimeDate/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2017-04-10 15:37:12 +02:00
2016-02-24 01:27:23 +01:00
name=perl-timedate
version=2.30
release=1
source=(
http://www.cpan.org/authors/id/G/GB/GBARR/TimeDate-$version.tar.gz)
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
cd TimeDate-$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
}