# Automatically generated aport, do not edit! # Generator: pmbootstrap aportgen musl-aarch64 pkgname="musl-aarch64" pkgver="1.1.19" pkgrel=8 arch="armhf x86_64 x86" subpackages="musl-dev-aarch64:package_dev" _arch="aarch64" _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 } sha512sums="00bd5daca429f4c71c22e705413544dbfa6078d2fd614ed325e018d991c79c9d48199589a4127a185e9b7d3d5cb9785640a67682acb93406e7a951afa2aed34c musl-1.1.19-r8-aarch64.apk 6c67c7bee749c44519a3aa5a472dcc29fc4c9cb656b987a648a351f097da16453d91d3433b0c5b8edbba913f8aa70bcb66308d6807bcce623bf7f449633cd764 musl-dev-1.1.19-r8-aarch64.apk"