2012-12-06 05:00:00 +00:00
|
|
|
# Template file for 'musl-bootstrap'.
|
|
|
|
pkgname=musl-bootstrap
|
2013-07-29 19:42:41 +00:00
|
|
|
version=0.9.12
|
2012-12-06 05:00:00 +00:00
|
|
|
revision=1
|
|
|
|
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"
|
2013-07-29 19:42:41 +00:00
|
|
|
checksum=72353f9e1f2fdaf5e88223dcd1cfa5555f5a364eb5e4a9967de1fd44cc4c6d3e
|
2012-12-06 05:00:00 +00:00
|
|
|
long_desc="
|
|
|
|
A new standard library to power a new generation of Linux-based devices.
|
|
|
|
musl is lightweight, fast, simple, free, and strives to be correct in the
|
|
|
|
sense of standards-conformance and safety."
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
2013-04-14 02:24:51 +00:00
|
|
|
|
|
|
|
musl-bootstrap_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|