aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-net-server/APKBUILD
blob: 555071e5fe320a9ff6718106c05cc5c0439d2959 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:  Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-net-server
_realname=Net-Server
pkgver=2.008
pkgrel=0
pkgdesc="Extensible, general Perl server engine"
url="http://search.cpan.org/dist/Net-Server/"
arch="noarch"
license="unknown"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/$_realname-$pkgver.tar.gz"

build() {
	cd "$srcdir/$_realname-$pkgver"

	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

package() {
	cd "$srcdir/$_realname-$pkgver"
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

md5sums="85d488bc800f582839dd924ffa3f0d26  Net-Server-2.008.tar.gz"
sha256sums="0921056aedc871a59c4b76f58764f0e0a16c1816b58c366a9d80e46367744fa0  Net-Server-2.008.tar.gz"
sha512sums="cbc7697f598db10931a10701a23aa5e98a6eba377bbc6c17d3d77baf26e0e83cf4e9c163e954faca3d3145b33264fd5a10cc2f7c6e219a7d6425ed3cc73f254a  Net-Server-2.008.tar.gz"