2017-04-10 10:19:25 +02:00
|
|
|
|
# Description: Basit bir http sunucusu sınıfı
|
|
|
|
|
# URL: https://metacpan.org/pod/HTTP::Daemon
|
|
|
|
|
# Packager: milisarge
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# Depends on: perl perl-http-date perl-http-message perl-lwp-mediatypes
|
2017-04-10 10:19:25 +02:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
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
|
|
|
|
|
}
|