Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
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
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
postmarketOS
pmaports
Commits
bb18956a
Unverified
Commit
bb18956a
authored
1 year ago
by
Clayton Craft
Committed by
Oliver Smith
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
cross/musl-x86: new aport (MR 4469)
parent
5fb3d0a4
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
cross/musl-x86/APKBUILD
+62
-0
62 additions, 0 deletions
cross/musl-x86/APKBUILD
with
62 additions
and
0 deletions
cross/musl-x86/APKBUILD
0 → 100644
+
62
−
0
View file @
bb18956a
# Automatically generated aport, do not edit!
# Generator: pmbootstrap aportgen musl-x86
# Stub for apkbuild-lint
if
[
-z
"
$(
type
-t
arch_to_hostspec
)
"
]
;
then
arch_to_hostspec
()
{
:
;
}
fi
pkgname
=
musl-x86
pkgver
=
1.2.4_git20230717
pkgrel
=
3
arch
=
"x86_64"
subpackages
=
"musl-dev-x86:package_dev"
_arch
=
"x86"
_mirror
=
"http://dl-4.alpinelinux.org/alpine/"
url
=
"https://musl-libc.org"
license
=
"MIT"
options
=
"!check !strip"
pkgdesc
=
"the musl library (lib c) implementation for
$_arch
"
_target
=
"
$(
arch_to_hostspec
$_arch
)
"
source
=
"
musl-
$pkgver
-r
$pkgrel
-
$_arch
-edge.apk::
$_mirror
/edge/main/
$_arch
/musl-
$pkgver
-r
$pkgrel
.apk
musl-dev-
$pkgver
-r
$pkgrel
-
$_arch
-edge.apk::
$_mirror
/edge/main/
$_arch
/musl-dev-
$pkgver
-r
$pkgrel
.apk
"
package
()
{
mkdir
-p
"
$pkgdir
/usr/
$_target
"
cd
"
$pkgdir
/usr/
$_target
"
# Use 'busybox tar' to avoid 'tar: Child returned status 141'
# on some machines (builds.sr.ht, gitlab-ci). See pmaports#26.
busybox
tar
-xf
$srcdir
/musl-
$pkgver
-r
$pkgrel
-
$_arch
-edge
.apk
rm
.PKGINFO .SIGN.
*
}
package_dev
()
{
mkdir
-p
"
$subpkgdir
/usr/
$_target
"
cd
"
$subpkgdir
/usr/
$_target
"
# Use 'busybox tar' to avoid 'tar: Child returned status 141'
# on some machines (builds.sr.ht, gitlab-ci). See pmaports#26.
busybox
tar
-xf
$srcdir
/musl-dev-
$pkgver
-r
$pkgrel
-
$_arch
-edge
.apk
rm
.PKGINFO .SIGN.
*
# symlink everything from /usr/$_target/usr/*
# to /usr/$_target/* so the cross-compiler gcc does not fail
# to build.
for
_dir
in
include lib
;
do
mkdir
-p
"
$subpkgdir
/usr/
$_target
/
$_dir
"
cd
"
$subpkgdir
/usr/
$_target
/usr/
$_dir
"
for
i
in
*
;
do
cd
"
$subpkgdir
/usr/
$_target
/
$_dir
"
ln
-s
/usr/
$_target
/usr/
$_dir
/
$i
$i
done
done
}
sha512sums
=
"
19a5b95a805f2df590c656828fcde6a9c9c4aefc5ea0e35a5f75767a5eb328636e86ffcfa59b8172e84f0cd214141284c7b051f15440bc9fd087c1b48cb4cd80 musl-1.2.4_git20230717-r3-x86-edge.apk
fb3c0011aca00c4528e383b0e0ba95fe01a84a7ef8e69ec808c42ecf0527b4bafa0d4762ce327c281d1ec2cb9b6350c96d7bd04ddee6849b2c6a1c596318ed5e musl-dev-1.2.4_git20230717-r3-x86-edge.apk
"
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