# Template file for 'musl'.
pkgname=musl
version=0.9.15
revision=1
build_style=gnu-configure
configure_args="--prefix=/usr --disable-gcc-wrapper"
conflicts="glibc>=0"
short_desc="The musl C library"
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

do_install() {
	# Move everything to /usr.
	vmkdir usr/lib
	ln -sfr ${DESTDIR}/usr/lib ${DESTDIR}/lib
	make DESTDIR=${DESTDIR} install
	rm ${DESTDIR}/lib
}
