wok rev 13284

Add musl-libc (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 24 17:37:18 2012 +0200 (2012-08-24)
parents 617654d473af
children e84d6bf204b2
files musl-libc/receipt
line diff
     1.1 --- a/musl-libc/receipt	Fri Aug 24 17:34:07 2012 +0200
     1.2 +++ b/musl-libc/receipt	Fri Aug 24 17:37:18 2012 +0200
     1.3 @@ -9,7 +9,7 @@
     1.4  TARBALL="$SOURCE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://www.etalabs.net/musl/"
     1.6  WGET_URL="${WEB_SITE}releases/$TARBALL"
     1.7 -ARCH="i386"
     1.8 +TARGET="i386"
     1.9  
    1.10  DEPENDS=""
    1.11  BUILD_DEPENDS=""
    1.12 @@ -19,7 +19,7 @@
    1.13  {
    1.14  	cd $src
    1.15  	./configure --prefix=/usr/share/musl --exec-prefix=/usr/share/musl \
    1.16 -		--target=$ARCH $CONFIGURE_ARGS
    1.17 +		--target=$TARGET $CONFIGURE_ARGS
    1.18  	make &&
    1.19  	make $DESTDIR=$DESTDIR install
    1.20  }
    1.21 @@ -30,5 +30,5 @@
    1.22  	mkdir -p $fs/usr/share/musl/lib $fs/etc
    1.23  	cp -a $install/lib $fs
    1.24  	cp -a $install/usr/share/musl/lib/*.so  $fs/usr/share/musl/lib
    1.25 -	echo "/usr/share/musl/lib" > $fs/etc/ld-musl-$ARCH.path
    1.26 +	echo "/usr/share/musl/lib" > $fs/etc/ld-musl-$TARGET.path
    1.27  }