2018-12-12 17:14:55 +00:00
|
|
|
# Automatically generated aport, do not edit!
|
|
|
|
# Generator: pmbootstrap aportgen musl-armv7
|
|
|
|
|
|
|
|
pkgname="musl-armv7"
|
|
|
|
pkgver="1.1.20"
|
2019-01-04 20:07:23 +00:00
|
|
|
pkgrel=3
|
2018-12-12 17:14:55 +00:00
|
|
|
arch="armhf aarch64 x86_64 x86"
|
|
|
|
subpackages="musl-dev-armv7:package_dev"
|
|
|
|
|
|
|
|
_arch="armv7"
|
|
|
|
_mirror="http://dl-cdn.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.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
|
|
|
|
}
|
|
|
|
|
2019-01-04 20:07:23 +00:00
|
|
|
sha512sums="59fe36cca89bee6e1bdcd4183c4f490f68599351fdfaa1f5f4275dbb1bdd7c84e6dcf8e6c362641a5a54407a199a0f70e21c81aad1ab4c7c4728fccf7ff63b41 musl-1.1.20-r3-armv7.apk
|
|
|
|
115dcd4ebab49254e3c8ab55b844c40c47d3b0fef04bf2ec8fdbae0af67f3a7e2112990987c1c2aad482a282773d1fd7f84f8baeb5e42b151f26a337bda52ae0 musl-dev-1.1.20-r3-armv7.apk"
|