void-packages/srcpkgs/musl/template
2013-12-08 16:24:35 +01:00

31 lines
850 B
Text

# Template file for 'musl'.
pkgname=musl
version=0.9.12
revision=1
build_style=gnu-configure
configure_args="--prefix=/usr --disable-gcc-wrapper"
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=72353f9e1f2fdaf5e88223dcd1cfa5555f5a364eb5e4a9967de1fd44cc4c6d3e
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."
do_install() {
# Move everything to /usr.
vmkdir usr/lib
ln -sfr ${DESTDIR}/usr/lib ${DESTDIR}/lib
make DESTDIR=${DESTDIR} install
rm ${DESTDIR}/lib
}
musl_package() {
conflicts="glibc>=0"
pkg_install() {
vmove all
}
}