milis/talimatname/genel/perl-http-daemon/talimat

22 lines
536 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.

# Description: Basit bir http sunucusu sınıfı
# URL: https://metacpan.org/pod/HTTP::Daemon
# Packager: milisarge
# Depends on: perl-http-date perl-http-message perl-lwp-mediatypes
name=perl-http-daemon
version=6.01
release=1
source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Daemon-$version.tar.gz)
build() {
cd HTTP-Daemon-$version
perl Makefile.PL INSTALLDIRS=vendor
make
make DESTDIR=$PKG install
find $PKG \
-name '*.bs' -or \
-name '.packlist' -or \
-name 'perllocal.pod' | xargs rm
}