void-packages/srcpkgs/musl-bootstrap/template
2014-04-22 17:17:00 +02:00

20 lines
625 B
Text

# Template file for 'musl-bootstrap'.
pkgname=musl-bootstrap
version=1.1.0
revision=1
lib32disabled=yes
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=de1b43019e5361d7577e5e0213e9dde591853e9da5d4a7cd75e2e0d78bf60820
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
}