22 lines
536 B
Plaintext
22 lines
536 B
Plaintext
# 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
|
||
}
|