Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
650
Issues
650
List
Boards
Labels
Service Desk
Milestones
Merge Requests
216
Merge Requests
216
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
829c2984
Commit
829c2984
authored
Mar 08, 2017
by
Leonardo Arena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/perl-test-requiresinternet: new aport
parent
f32c3853
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
main/perl-test-requiresinternet/APKBUILD
main/perl-test-requiresinternet/APKBUILD
+48
-0
No files found.
main/perl-test-requiresinternet/APKBUILD
0 → 100644
View file @
829c2984
# Automatically generated by apkbuild-cpan, template 2
# Contributor:
# Maintainer:
pkgname
=
perl-test-requiresinternet
_pkgreal
=
Test-RequiresInternet
pkgver
=
0.05
pkgrel
=
0
pkgdesc
=
"Easily test network connectivity"
url
=
"http://search.cpan.org/dist/Test-RequiresInternet/"
arch
=
"noarch"
license
=
"GPL PerlArtistic"
cpandepends
=
""
cpanmakedepends
=
""
cpancheckdepends
=
""
depends
=
"
$cpandepends
"
makedepends
=
"perl-dev
$cpanmakedepends
"
checkdepends
=
"
$cpancheckdepends
"
subpackages
=
"
$pkgname
-doc"
source
=
"http://search.cpan.org/CPAN/authors/id/M/MA/MALLEN/
$_pkgreal
-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/
$_pkgreal
-
$pkgver
"
prepare
()
{
default_prepare
||
return
1
cd
"
$builddir
"
export
CFLAGS
=
$(
perl
-MConfig
-E
'say $Config{ccflags}'
)
PERL_MM_USE_DEFAULT
=
1 perl Makefile.PL
INSTALLDIRS
=
vendor
}
build
()
{
cd
"
$builddir
"
export
CFLAGS
=
$(
perl
-MConfig
-E
'say $Config{ccflags}'
)
make
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
find
"
$pkgdir
"
\(
-name
perllocal.pod
-o
-name
.packlist
\)
-delete
}
check
()
{
cd
"
$builddir
"
export
CFLAGS
=
$(
perl
-MConfig
-E
'say $Config{ccflags}'
)
make
test
}
sha512sums
=
"572af3e6fdfb90df3a58ba6eaf571717b294a54fff4b3f597fd177f1eb91fb1c929cb808f8d219f692314a944cf41dc1afab41f5a0dd2185054c08fec69e66c3 Test-RequiresInternet-0.05.tar.gz"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment