diff --git a/srcpkgs/musl-bootstrap/template b/srcpkgs/musl-bootstrap/template new file mode 100644 index 0000000000..75d73ad38c --- /dev/null +++ b/srcpkgs/musl-bootstrap/template @@ -0,0 +1,23 @@ +# Template file for 'musl-bootstrap'. +pkgname=musl-bootstrap +version=0.9.8 +revision=1 +wrksrc="musl-${version}" +build_style=gnu-configure +configure_args="--prefix=/usr/lib/musl" +short_desc="The musl libc (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=f4d3b85639b8ab23065dde9173e7e151e735943d2d2d6deb39b2dfc9bd05a6ed +long_desc=" + A new standard library to power a new generation of Linux-based devices. + musl is lightweight, fast, simple, free, and strives to be correct in the + sense of standards-conformance and safety." + +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 +}