23 lines
677 B
Bash
23 lines
677 B
Bash
# Template file for 'musl-bootstrap'.
|
|
pkgname=musl-bootstrap
|
|
version=1.1.9
|
|
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@voidlinux.eu>"
|
|
license="MIT"
|
|
homepage="http://www.musl-libc.org/"
|
|
distfiles="http://www.musl-libc.org/releases/musl-${version}.tar.gz"
|
|
checksum=00bf7173caf972c88cd07cb0d420c082a2f35efcccc1a81f8909bec2d030283e
|
|
|
|
CFLAGS="-fno-stack-protector -U_FORTIFY_SOURCE"
|
|
|
|
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
|
|
}
|