2012-12-06 05:00:00 +00:00
|
|
|
# Template file for 'musl-bootstrap'.
|
|
|
|
pkgname=musl-bootstrap
|
2014-08-21 15:51:45 +00:00
|
|
|
version=1.1.4
|
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-08-21 15:51:45 +00:00
|
|
|
checksum=658c65ad3c3a9b281a96c5281e75720c758d91fcaae35ab987f2fdfb4f88f5cd
|
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
|
|
|
|
}
|