void-packages/srcpkgs/musl-bootstrap/template

21 lines
625 B
Plaintext

# Template file for 'musl-bootstrap'.
pkgname=musl-bootstrap
version=1.0.0
revision=1
lib32disabled=yes
wrksrc="musl-${version}"
build_style=configure
configure_args="--prefix=/usr/lib/musl"
short_desc="The musl C library (bootstrap pkg)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.musl-libc.org/"
distfiles="http://www.musl-libc.org/releases/musl-${version}.tar.gz"
checksum=1ad7f45d2972daff19c9e6a92714e6d70f4aad003cd8c3d1e6113432114c1a32
post_install() {
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib/
vmkdir usr/bin
ln -sfr ${DESTDIR}/usr/lib/musl/bin/musl-gcc ${DESTDIR}/usr/bin/musl-gcc
}