milis/talimatname/genel/p/perl-http-message/talimat

28 lines
729 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: HTTP stili mesajlar.
# URL: http://search.cpan.org/
# Paketçi: milisarge
# Gerekler: perl-encode-locale perl-html-parser perl-http-date perl-lwp-mediatypes perl-uri
name=perl-http-message
version=6.06
release=1
source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Message-$version.tar.gz)
derle() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor" \
PERL_MB_OPT="--installdirs vendor" \
MODULEBUILDRC=/dev/null)
cd HTTP-Message-$version
perl Makefile.PL
make
make DESTDIR=$PKG install
find $PKG \
-name '*.bs' -or \
-name '.packlist' -or \
-name 'perllocal.pod' | xargs rm
}