22 lines
678 B
Text
22 lines
678 B
Text
# Template file for 'musl-bootstrap'.
|
|
pkgname=musl-bootstrap
|
|
version=1.1.2
|
|
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=dac94112b9a22d2657cd3f36ca0d62ee1eb10707a22bfc97d5746147ef92852b
|
|
|
|
CFLAGS="-fno-toplevel-reorder -fno-stack-protector"
|
|
|
|
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
|
|
}
|