wok-current rev 21500

updated musl-libc and musl-libc-dev (1.1.20 -> 1.1.22)
author Hans-G?nter Theisgen
date Thu May 02 15:32:44 2019 +0100 (2019-05-02)
parents ae365a12a573
children 74296b85e0a2
files musl-libc-dev/receipt musl-libc/receipt
line diff
     1.1 --- a/musl-libc-dev/receipt	Thu May 02 14:53:06 2019 +0100
     1.2 +++ b/musl-libc-dev/receipt	Thu May 02 15:32:44 2019 +0100
     1.3 @@ -1,26 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="musl-libc-dev"
     1.7 -VERSION="1.1.20"
     1.8 +VERSION="1.1.22"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="A lightweight, fast, simple, free libc. Development files."
    1.11 +SHORT_DESC="A lightweight, fast, simple, free libc - development files."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="MIT"
    1.14  WEB_SITE="http://www.musl-libc.org/"
    1.15 -WANTED="musl-libc"
    1.16  
    1.17  DEPENDS="musl-libc"
    1.18 +WANTED="musl-libc"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.   
    1.21  genpkg_rules()                                      
    1.22  {
    1.23 -	mkdir -p $fs/usr/bin $fs/usr/share/musl/lib $fs/etc
    1.24 -	cp -a $install/usr/share/musl/include  $fs/usr/share/musl
    1.25 -	cp -a $install/usr/share/musl/lib/*.a  $fs/usr/share/musl/lib
    1.26 -	cp -a $install/usr/share/musl/lib/*.o  $fs/usr/share/musl/lib
    1.27 -	cp -a $install/usr/share/musl/lib/*.specs  $fs/usr/share/musl/lib
    1.28 -	cp -a $install/usr/share/musl/bin  $fs/usr/share/musl
    1.29 -	ln -s /usr/share/musl/bin/musl-gcc $fs/usr/bin
    1.30 +	mkdir -p $fs/usr/bin
    1.31 +	mkdir -p $fs/usr/share/musl/lib
    1.32 +	mkdir -p $fs/etc
    1.33 +
    1.34 +	cp -a $install/usr/share/musl/include	$fs/usr/share/musl
    1.35 +	cp -a $install/usr/share/musl/lib/*.a	$fs/usr/share/musl/lib
    1.36 +	cp -a $install/usr/share/musl/lib/*.o	$fs/usr/share/musl/lib
    1.37 +	cp -a $install/usr/share/musl/lib/*.specs $fs/usr/share/musl/lib
    1.38 +	cp -a $install/usr/share/musl/bin	$fs/usr/share/musl
    1.39 +	ln -s /usr/share/musl/bin/musl-gcc	$fs/usr/bin
    1.40 +
    1.41  	for i in linux asm asm-generic ; do
    1.42  		ln -s /usr/include/$i $fs/usr/share/musl/include/$i
    1.43  	done
     2.1 --- a/musl-libc/receipt	Thu May 02 14:53:06 2019 +0100
     2.2 +++ b/musl-libc/receipt	Thu May 02 15:32:44 2019 +0100
     2.3 @@ -2,24 +2,29 @@
     2.4  
     2.5  PACKAGE="musl-libc"
     2.6  SOURCE="musl"
     2.7 -VERSION="1.1.20"
     2.8 +VERSION="1.1.22"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="A lightweight, fast, simple, free libc."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="MIT"
    2.13 +WEB_SITE="https://www.musl-libc.org/"
    2.14 +
    2.15  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.16 -WEB_SITE="http://www.musl-libc.org/"
    2.17  WGET_URL="${WEB_SITE}releases/$TARBALL"
    2.18 -TARGET="i386"
    2.19  
    2.20  DEPENDS=""
    2.21  BUILD_DEPENDS=""
    2.22  
    2.23 +TARGET="i386"
    2.24 +
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 -	./configure --prefix=/usr/share/musl --exec-prefix=/usr/share/musl \
    2.29 -		--target=$TARGET $CONFIGURE_ARGS
    2.30 +	./configure				\
    2.31 +		--prefix=/usr/share/musl	\
    2.32 +		--exec-prefix=/usr/share/musl	\
    2.33 +		--target=$TARGET		\
    2.34 +		$CONFIGURE_ARGS
    2.35  	make &&
    2.36  	make DESTDIR=$DESTDIR install
    2.37  }
    2.38 @@ -27,9 +32,11 @@
    2.39  # Rules to gen a SliTaz package suitable for Tazpkg.   
    2.40  genpkg_rules()                                      
    2.41  {
    2.42 -	mkdir -p $fs/usr/share/musl/lib $fs/etc $fs/bin
    2.43 -	cp -a $install/lib $fs
    2.44 -	ln -s /usr/share/musl/lib/libc.so $fs/bin/ldd-musl
    2.45 +	mkdir -p $fs/usr/share/musl/lib
    2.46 +	mkdir -p $fs/etc $fs/bin
    2.47 +
    2.48 +	cp -a $install/lib			$fs
    2.49 +	ln -s /usr/share/musl/lib/libc.so	$fs/bin/ldd-musl
    2.50  	cp -a $install/usr/share/musl/lib/*.so  $fs/usr/share/musl/lib
    2.51  	echo "/usr/share/musl/lib" > $fs/etc/ld-musl-$TARGET.path
    2.52  }