mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/perl-regexp-trie: new aport
This commit is contained in:
parent
1d76ecdcac
commit
57e21f0c9b
1 changed files with 37 additions and 0 deletions
37
testing/perl-regexp-trie/APKBUILD
Normal file
37
testing/perl-regexp-trie/APKBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
|
||||
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
|
||||
pkgname=perl-regexp-trie
|
||||
pkgver=0.02
|
||||
pkgrel=0
|
||||
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Regexp-Trie
|
||||
pkgdesc="Perl module for Regexp-Trie"
|
||||
url="https://metacpan.org/release/Regexp-Trie/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/Regexp-Trie-$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="
|
||||
49aac4f9d49f71a2cf7111e549da0f3dfa77679d313080095188e8172e5fea0fdb256b8d784949716813d51c03fe9fdfe097e394bba34016fa61bd82c4c20995 Regexp-Trie-0.02.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue