# Automatically generated aport, do not edit! # Generator: pmbootstrap aportgen musl-aarch64 pkgname="musl-aarch64" pkgver="1.1.19" pkgrel=9 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="106f0f17cf49fc872587ffc26c3b605d1e57d2b68994884724584b64a76177187044be8f081dd7fad596b831a146442e673df6fbb9e920b314da59b5c50b4ace musl-1.1.19-r9-aarch64.apk 052c70c44c7a33fd55922d416f96d85092beb747a380345fe40a5a128c173c18f1cb7f6508fd325d12021a1d6b1c554479f07318e156da3784cc37e3c781c70d musl-dev-1.1.19-r9-aarch64.apk"