Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
bcd71172
Commit
bcd71172
authored
7 years ago
by
Leonardo Arena
Browse files
Options
Downloads
Patches
Plain Diff
testing/perl-autobox: upgrade to 2.85, add check(), modernize APKBUILD
parent
d9ef8ec7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/perl-autobox/APKBUILD
+12
-10
12 additions, 10 deletions
testing/perl-autobox/APKBUILD
with
12 additions
and
10 deletions
testing/perl-autobox/APKBUILD
+
12
−
10
View file @
bcd71172
...
...
@@ -3,7 +3,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname
=
perl-autobox
_pkgreal
=
autobox
pkgver
=
2.8
4
pkgver
=
2.8
5
pkgrel
=
0
pkgdesc
=
"call methods on native types"
url
=
"http://search.cpan.org/dist/autobox/"
...
...
@@ -15,27 +15,29 @@ depends="$cpandepends"
makedepends
=
"perl-dev perl-test-pod perl-scope-guard
$cpanmakedepends
"
subpackages
=
"
$pkgname
-doc"
source
=
"http://search.cpan.org/CPAN/authors/id/C/CH/CHOCOLATE/
$_pkgreal
-
$pkgver
.tar.gz"
_builddir
=
"
$srcdir
/
$_pkgreal
-
$pkgver
"
builddir
=
"
$srcdir
/
$_pkgreal
-
$pkgver
"
prepare
()
{
cd
"
$
_
builddir
"
cd
"
$builddir
"
export
CFLAGS
=
`
perl
-MConfig
-E
'say $Config{ccflags}'
`
PERL_MM_USE_DEFAULT
=
1 perl Makefile.PL
INSTALLDIRS
=
vendor
}
build
()
{
cd
"
$
_
builddir
"
cd
"
$builddir
"
export
CFLAGS
=
`
perl
-MConfig
-E
'say $Config{ccflags}'
`
make
&&
make
test
make
}
check
()
{
cd
"
$builddir
"
make
test
}
package
()
{
cd
"
$
_
builddir
"
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
find
"
$pkgdir
"
\(
-name
perllocal.pod
-o
-name
.packlist
\)
-delete
}
md5sums
=
"d2c2945a9605058366a5173975bab4db autobox-2.84.tar.gz"
sha256sums
=
"98dd2754f226684a72ccba3a95956b7eaff2871568e4dd9746e6fb6daae0b96b autobox-2.84.tar.gz"
sha512sums
=
"d2115d04080f146e95e8cb09fc77e3fe7dce53b75d4940633eaf92a88ca61b2d55b9dae67f7934d918c6befaf43743c17be183ac2423a19950548b076c0cfccf autobox-2.84.tar.gz"
sha512sums
=
"2f9c0ef556655eb19a2e50aa2ec47769ef2fd7bb15806a7f22320be9d79178811c418dbe58cf792fdc48dc3e7b80b70c1882956559373cc6eb152c0b94d52081 autobox-2.85.tar.gz"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment