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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Dominika Liberda
aports
Commits
6896ed31
Commit
6896ed31
authored
8 years ago
by
Jakub Jirutka
Browse files
Options
Downloads
Patches
Plain Diff
testing/R: fix -mathlib and remove -mathlib-dev
parent
9757f8ec
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/R/APKBUILD
+4
-20
4 additions, 20 deletions
testing/R/APKBUILD
with
4 additions
and
20 deletions
testing/R/APKBUILD
+
4
−
20
View file @
6896ed31
...
...
@@ -3,7 +3,7 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname
=
R
pkgver
=
3.3.1
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Language and environment for statistical computing"
url
=
"https://www.r-project.org"
arch
=
"x86_64 x86"
...
...
@@ -16,12 +16,7 @@ makedepends="$depends_dev bzip2-dev cairo-dev curl-dev>=7.28 libxmu-dev
openjdk8-jre-base pango-dev perl tiff-dev tk-dev
"
install
=
"
$pkgname
.post-install"
subpackages
=
"
$pkgname
-mathlib
$pkgname
-mathlib-dev:mathlib_dev
$pkgname
-dev
$pkgname
-doc
"
subpackages
=
"
$pkgname
-mathlib
$pkgname
-dev
$pkgname
-doc"
source
=
"https://cran.r-project.org/src/base/R-
${
pkgver
%%.*
}
/
$pkgname
-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
...
...
@@ -97,19 +92,8 @@ package() {
mathlib
()
{
pkgdesc
=
"
$pkgdesc
(libRmath)"
install
-D
"
$pkgdir
"
/usr/lib/libRmath.so
\
"
$subpkgdir
"
/usr/lib/libRmath.so
}
mathlib_dev
()
{
pkgdesc
=
"
$pkgdesc
(libRmath, development files)"
depends
=
"
$pkgname
-mathlib"
local
path
for
path
in
usr/lib/libRmath.so usr/lib/pkgconfig/libRmath.pc
;
do
mkdir
-p
"
$subpkgdir
"
/
$(
dirname
$path
)
mv
"
$pkgdir
"
/
$path
"
$subpkgdir
"
/
$path
||
return
1
done
mkdir
-p
"
$subpkgdir
"
/usr/lib
mv
"
$pkgdir
"
/usr/lib/libRmath.so
*
"
$subpkgdir
"
/usr/lib
}
md5sums
=
"f50a659738b73036e2f5635adbd229c5 R-3.3.1.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