2017-05-26 20:26:25 +00:00
|
|
|
# Automatically generated aport, do not edit!
|
|
|
|
# Generator: pmbootstrap aportgen musl-armhf
|
|
|
|
|
|
|
|
pkgname=musl-armhf
|
|
|
|
pkgver=1.1.16
|
2017-08-30 23:14:08 +00:00
|
|
|
pkgrel=19
|
2017-05-26 20:26:25 +00:00
|
|
|
subpackages="musl-dev-armhf:package_dev"
|
|
|
|
|
|
|
|
_arch="armhf"
|
2017-05-29 17:30:33 +00:00
|
|
|
_mirror="https://nl.alpinelinux.org/alpine/"
|
2017-05-26 20:26:25 +00:00
|
|
|
|
|
|
|
url="https://musl-libc.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="all"
|
|
|
|
options="!check !strip"
|
|
|
|
pkgdesc="the musl library (lib c) implementation for $_arch"
|
|
|
|
|
|
|
|
_target="$(arch_to_hostspec $_arch)"
|
|
|
|
|
|
|
|
source="
|
|
|
|
musl-$pkgver-r$pkgrel-$_arch.apk::$_mirror/edge/main/$_arch/musl-$pkgver-r$pkgrel.apk
|
|
|
|
musl-dev-$pkgver-r$pkgrel-$_arch.apk::$_mirror/edge/main/$_arch/musl-dev-$pkgver-r$pkgrel.apk
|
|
|
|
"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir/usr/$_target"
|
|
|
|
cd "$pkgdir/usr/$_target"
|
|
|
|
tar -xf $srcdir/musl-$pkgver-r$pkgrel-$_arch.apk
|
|
|
|
rm .PKGINFO .SIGN.*
|
|
|
|
}
|
|
|
|
package_dev() {
|
|
|
|
mkdir -p "$subpkgdir/usr/$_target"
|
|
|
|
cd "$subpkgdir/usr/$_target"
|
|
|
|
tar -xf $srcdir/musl-dev-$pkgver-r$pkgrel-$_arch.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
|
|
|
|
}
|
|
|
|
|
2017-08-30 23:14:08 +00:00
|
|
|
sha512sums="6c1bb22ca2d84fc5f1843c8d044decdbbfe7bb1fa4d79a0cfd597d98ab45c8be082073cf219631de3ef9a30dcfcbbd0207d7901982adf56f9104dbed63195c7d musl-1.1.16-r19-armhf.apk
|
|
|
|
9e43c6efc774698ee453e96361219432a44d4c31d328130756418ae51b382dc4c2252e3b285edf75ef8a4322da83cc158582965165c912d8ccab5d1ca6ad8e4a musl-dev-1.1.16-r19-armhf.apk"
|