2013-03-02 08:27:35 +00:00
|
|
|
# Template file for 'musl'.
|
|
|
|
pkgname=musl
|
2014-04-22 15:16:33 +00:00
|
|
|
version=1.1.0
|
2013-03-02 08:27:35 +00:00
|
|
|
revision=1
|
2014-03-20 10:14:19 +00:00
|
|
|
lib32disabled=yes
|
2013-03-02 08:27:35 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--prefix=/usr --disable-gcc-wrapper"
|
2014-01-01 15:10:11 +00:00
|
|
|
conflicts="glibc>=0"
|
2013-03-02 08:27:35 +00:00
|
|
|
short_desc="The musl C library"
|
|
|
|
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-04-22 15:16:33 +00:00
|
|
|
checksum=de1b43019e5361d7577e5e0213e9dde591853e9da5d4a7cd75e2e0d78bf60820
|
|
|
|
|
|
|
|
only_for_archs="i686-musl x86_64-musl armv6l-musl armv7l-musl"
|
2013-03-02 08:27:35 +00:00
|
|
|
|
2013-12-08 15:24:35 +00:00
|
|
|
do_install() {
|
|
|
|
# Move everything to /usr.
|
|
|
|
vmkdir usr/lib
|
|
|
|
ln -sfr ${DESTDIR}/usr/lib ${DESTDIR}/lib
|
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
rm ${DESTDIR}/lib
|
2014-03-20 10:14:19 +00:00
|
|
|
# provide ldd
|
|
|
|
vmkdir usr/bin
|
|
|
|
ln -s /usr/lib/libc.so ${DESTDIR}/usr/bin/ldd
|
2013-03-02 08:27:35 +00:00
|
|
|
}
|