milis/talimatname/genel/p/perl-extutils-makemaker/talimat

29 lines
841 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Bu yardımcı program, bir Makefile'den bir uzantı modülü için bir Makefile yazmak üzere tasarlanmıştır.
# URL: http://search.cpan.org/~bingos/ExtUtils-MakeMaker-6.98/lib/ExtUtils/MakeMaker.pm
# Paketçi: milisarge
# Gerekler:
# Grup: sistem
isim=perl-extutils-makemaker
surum=6.98
devir=1
kaynak=(http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-$surum.tar.gz)
derle() {
cd ExtUtils-MakeMaker-$surum
perl Makefile.PL
make OPTIMIZE="$CFLAGS" || exit 1
make test
make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1
# Remove duplicated man pages
rm -r $PKG/usr/share/man
# 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
rm $PKG/usr/bin/instmodsh
}