#!/bin/sh -ue
NAME=musl
VERSION=git
RELEASE=1
SOURCE="git://git.musl-libc.org/musl"

build() {
	msg "configuring musl..."
	./configure \
		--prefix="$PREFIX" \
		--enable-static \
		CC="${CC:-cc}" || die "configure failed"

	msg "building musl..."
	gmake -j"$NPROC" || die "gmake failed"

	msg "installing musl..."
	gmake DESTDIR="$PKG" install || die "gmake install failed"
}

. ${0%/*}/../../libsh/libdmake.sh
