Skip to content
Snippets Groups Projects
Commit 01df7c1d authored by Wen Heping's avatar Wen Heping Committed by Celeste
Browse files

testing/perl-uri-ws: new aport

parent 6dbe868f
No related branches found
No related tags found
1 merge request!81453Catalyst
# Contributor: Wen Heping <wenheping2000@hotmail.com>
# Maintainer: Wen Heping <wenheping2000@hotmail.com>
pkgname=perl-uri-ws
pkgver=0.03
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=URI-ws
pkgdesc="WebSocket support for URI package"
url="https://metacpan.org/release/URI-ws/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-uri"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/URI-ws-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
INSTALLDIRS=vendor \
NO_PACKLIST=1 \
NO_PERLLOCAL=1
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
138f6605a4cf83d90a2b0b4238ee5112e8b3aa422fa9cdfc98e7d99767c1993200cd4a2487bae982c1adfd0e8574cc866249166ab64afdb2b7631ca220c0fa5a URI-ws-0.03.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment