void-packages/srcpkgs/musl-bootstrap/template
2014-01-07 18:12:13 +01:00

19 lines
608 B
Text

# Template file for 'musl-bootstrap'.
pkgname=musl-bootstrap
version=0.9.15
revision=1
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=4a7baab8f295511196dee48d33b8b82a159a81233facb89433707c792033cbe7
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
}