void-packages/srcpkgs/musl-bootstrap/template

23 lines
678 B
Text
Raw Normal View History

2012-12-06 05:00:00 +00:00
# Template file for 'musl-bootstrap'.
pkgname=musl-bootstrap
2014-06-07 03:46:19 +00:00
version=1.1.2
2012-12-06 05:00:00 +00:00
revision=1
2014-03-20 10:15:24 +00:00
lib32disabled=yes
2012-12-06 05:00:00 +00:00
wrksrc="musl-${version}"
2013-07-17 17:50:45 +00:00
build_style=configure
2012-12-06 05:00:00 +00:00
configure_args="--prefix=/usr/lib/musl"
2013-07-29 19:42:41 +00:00
short_desc="The musl C library (bootstrap pkg)"
2012-12-06 05:00:00 +00:00
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"
2014-06-07 03:46:19 +00:00
checksum=dac94112b9a22d2657cd3f36ca0d62ee1eb10707a22bfc97d5746147ef92852b
2014-06-02 09:12:28 +00:00
CFLAGS="-fno-toplevel-reorder -fno-stack-protector"
2012-12-06 05:00:00 +00:00
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
}