wok-next diff musl-libc/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 4e6503d7a19f
children
line diff
     1.1 --- a/musl-libc/receipt	Thu Jul 12 18:34:58 2018 +0300
     1.2 +++ b/musl-libc/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -8,20 +8,16 @@
     1.4  LICENSE="MIT"
     1.5  WEB_SITE="https://www.musl-libc.org/"
     1.6  REPOLOGY="musl"
     1.7 -HOST_ARCH="i486 x86_64 arm"
     1.8  
     1.9  TARBALL="musl-$VERSION.tar.gz"
    1.10  WGET_URL="https://www.musl-libc.org/releases/$TARBALL"
    1.11  
    1.12 -SPLIT="musl-libc-dev"
    1.13 +SPLIT="$PACKAGE-dev"
    1.14  
    1.15 -# Rules to configure and make the package.
    1.16 -compile_rules()
    1.17 -{
    1.18 +compile_rules() {
    1.19  	case $ARCH in
    1.20  		i*86)   TARGET='i386';;
    1.21  		x86_64) TARGET='x86_64';;
    1.22 -		arm*)   TARGET='ARM';;
    1.23  	esac
    1.24  	PREFIX='/usr/lib/musl'
    1.25  
    1.26 @@ -31,7 +27,7 @@
    1.27  		--target=$TARGET \
    1.28  		$CONFIGURE_ARGS &&
    1.29  	make &&
    1.30 -	make $DESTDIR=$DESTDIR install || exit 1
    1.31 +	make DESTDIR=$install install || return 1
    1.32  
    1.33  	mkdir -p $install/etc
    1.34  	echo "$PREFIX/lib" > $install/etc/ld-musl-$TARGET.path
    1.35 @@ -40,14 +36,10 @@
    1.36  		ln -s /usr/include/$i $install$PREFIX/include/$i
    1.37  	done
    1.38  
    1.39 -	docdir=$install/usr/share/doc/$PACKAGE-$VERSION
    1.40 -	mkdir -p $docdir
    1.41 -	cp README $docdir
    1.42 +	cook_pick_docs README
    1.43  }
    1.44  
    1.45 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.46 -genpkg_rules()
    1.47 -{
    1.48 +genpkg_rules() {
    1.49  	case $PACKAGE in
    1.50  		musl-libc)
    1.51  			copy etc/ *.so*