2013-03-02 09:27:35 +01:00
|
|
|
# Template file for 'musl'.
|
|
|
|
pkgname=musl
|
2014-03-20 11:14:19 +01:00
|
|
|
version=1.0.0
|
2013-03-02 09:27:35 +01:00
|
|
|
revision=1
|
2014-03-20 11:14:19 +01:00
|
|
|
lib32disabled=yes
|
2013-03-02 09:27:35 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--prefix=/usr --disable-gcc-wrapper"
|
2014-01-01 16:10:11 +01:00
|
|
|
conflicts="glibc>=0"
|
2013-03-02 09:27:35 +01: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-03-20 11:14:19 +01:00
|
|
|
checksum=1ad7f45d2972daff19c9e6a92714e6d70f4aad003cd8c3d1e6113432114c1a32
|
2013-03-02 09:27:35 +01:00
|
|
|
|
2013-12-08 16:24:35 +01: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 11:14:19 +01:00
|
|
|
# provide ldd
|
|
|
|
vmkdir usr/bin
|
|
|
|
ln -s /usr/lib/libc.so ${DESTDIR}/usr/bin/ldd
|
2013-03-02 09:27:35 +01:00
|
|
|
}
|