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