void-packages/srcpkgs/musl/template

32 lines
850 B
Plaintext
Raw Normal View History

2013-03-02 09:27:35 +01:00
# Template file for 'musl'.
pkgname=musl
2013-12-08 16:24:35 +01:00
version=0.9.12
2013-03-02 09:27:35 +01:00
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"
2013-12-08 16:24:35 +01:00
checksum=72353f9e1f2fdaf5e88223dcd1cfa5555f5a364eb5e4a9967de1fd44cc4c6d3e
2013-03-02 09:27:35 +01:00
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."
2013-12-08 16:24:35 +01:00
do_install() {
# Move everything to /usr.
vmkdir usr/lib
ln -sfr ${DESTDIR}/usr/lib ${DESTDIR}/lib
make DESTDIR=${DESTDIR} install
rm ${DESTDIR}/lib
2013-03-02 09:27:35 +01:00
}
musl_package() {
conflicts="glibc>=0"
pkg_install() {
2013-12-08 16:24:35 +01:00
vmove all
}
}