void-packages/srcpkgs/musl-bootstrap/template
2013-11-30 09:40:09 +01:00

30 lines
876 B
Plaintext

# Template file for 'musl-bootstrap'.
pkgname=musl-bootstrap
version=0.9.14
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=982e9de1287cf95f9aa526adba008660d8885bfccc41faf5c613ea47f1922872
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
}
musl-bootstrap_package() {
pkg_install() {
vmove all
}
}