wok-next rev 19835

Up: antinat, aubio, dialog, exa, gcc, lapack, musl-libc, nss, rust, svgcleaner, zip. Remove blas (part of lapack now), remove dialog desktop file.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 11 04:54:37 2017 +0300 (2017-08-11)
parents 42f46ff4970b
children de8c315b3046
files antinat-dev/receipt antinat/receipt antinat/stuff/patches/destdir.patch antinat/stuff/patches/series aubio-dev/receipt aubio/receipt blas/receipt blas/stuff/LICENSE.blas blas/stuff/Makefile.blas blas/stuff/lapack-3.1.1-make.inc.patch dialog/receipt dialog/stuff/dialog.desktop exa/receipt gcc/receipt lapack/receipt lapack/stuff/Makefile.lapack lapack/stuff/lapack-3.1.1-make.inc.patch musl-libc-dev/receipt musl-libc/receipt musl-libc/stuff/patches/include.patch musl-libc/stuff/patches/series nss-dev/receipt nss/receipt nss/stuff/nss-3.14.1-standalone-1.patch nss/stuff/nss-3.17.4-standalone-1.patch nss/stuff/patches/nss-3.29-standalone-1.patch nss/stuff/patches/series rust/receipt svgcleaner/receipt zip/receipt
line diff
     1.1 --- a/antinat-dev/receipt	Sat Aug 05 15:17:06 2017 +0300
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,20 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="antinat-dev"
     1.7 -VERSION="0.90"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="Flexible SOCKS server & client library for proxy-based applications, development files."
    1.10 -MAINTAINER="pascal.bellard@slitaz.org"
    1.11 -LICENSE="GPL2"
    1.12 -WEB_SITE="http://antinat.sourceforge.net/"
    1.13 -WANTED="antinat"
    1.14 -
    1.15 -DEPENDS="antinat expat-dev"
    1.16 -
    1.17 -# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.18 -genpkg_rules()                                      
    1.19 -{
    1.20 -	mkdir -p $fs/usr/lib
    1.21 -	cp -a $install/usr/include $fs/usr
    1.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.23 -}
     2.1 --- a/antinat/receipt	Sat Aug 05 15:17:06 2017 +0300
     2.2 +++ b/antinat/receipt	Fri Aug 11 04:54:37 2017 +0300
     2.3 @@ -1,35 +1,49 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="antinat"
     2.8 -VERSION="0.90"
     2.9 +VERSION="0.91"
    2.10  CATEGORY="network"
    2.11 -SHORT_DESC="Flexible SOCKS server & client library for proxy-based applications."
    2.12 +SHORT_DESC="Flexible SOCKS server & client library for proxy-based applications"
    2.13  MAINTAINER="pascal.bellard@slitaz.org"
    2.14  LICENSE="GPL2"
    2.15 -WEB_SITE="http://antinat.sourceforge.net/"
    2.16 +WEB_SITE="http://www.malsmith.net/antinat/"
    2.17 +
    2.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.19 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.20 +#WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.21 +WGET_URL="http://www.malsmith.net/download/?obj=antinat/$VERSION/antinat-source.tar.bz2"
    2.22  
    2.23 -DEPENDS="expat"
    2.24 -BUILD_DEPENDS="expat-dev"
    2.25 +BUILD_DEPENDS="gfortran expat-dev"
    2.26 +SPLIT="antinat-dev"
    2.27  
    2.28  # Rules to configure and make the package.
    2.29  compile_rules()
    2.30  {
    2.31 -	./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
    2.32 +	./configure \
    2.33 +		--sysconfdir=/etc \
    2.34 +		--localstatedir=/var \
    2.35 +		$CONFIGURE_ARGS &&
    2.36  	make &&
    2.37 -	make prefix=$DESTDIR/usr install
    2.38 +	make install
    2.39  
    2.40 -	cook_pick_manpages $src/man/*.1 $src/man/*.3 $src/man/*.4
    2.41 +	# make file readable for web interface, revert file permissions in post-install
    2.42 +	chmod a+r $install/etc/antinat.xml
    2.43  }
    2.44  
    2.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.46  genpkg_rules()
    2.47  {
    2.48 -	mkdir -p $fs/usr/lib $fs/etc
    2.49 -	cp $src/etc/antinat.xml $fs/etc
    2.50 -	chmod 600 $fs/etc/antinat.xml
    2.51 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.52 -	cp -a $install/usr/bin $fs/usr
    2.53 -	cp -a $install/usr/var $fs
    2.54 +	case $PACKAGE in
    2.55 +		antinat)
    2.56 +			copy @std var/
    2.57 +			DEPENDS="expat"
    2.58 +			CONFIG_FILES="/etc/antinat.xml"
    2.59 +			;;
    2.60 +		*-dev)
    2.61 +			copy @dev
    2.62 +			;;
    2.63 +	esac
    2.64  }
    2.65 +
    2.66 +post_install_antinat() {
    2.67 +	chmod 600 $1/etc/antinat.xml
    2.68 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/antinat/stuff/patches/destdir.patch	Fri Aug 11 04:54:37 2017 +0300
     3.3 @@ -0,0 +1,145 @@
     3.4 +--- a/client/Makefile.in
     3.5 ++++ b/client/Makefile.in
     3.6 +@@ -40,20 +40,20 @@
     3.7 + 	rm -f Makefile antinat-config
     3.8 + 
     3.9 + install:
    3.10 +-	$(INSTALL) -d "$(libdir)"
    3.11 +-	$(INSTALL) -d "$(bindir)"
    3.12 +-	$(INSTALL) -d "$(includedir)"
    3.13 +-	$(INSTALL) -m 0644 antinat.h "$(includedir)/antinat.h"
    3.14 +-	$(INSTALL) -m 0755 antinat-config "$(bindir)/antinat-config"
    3.15 ++	$(INSTALL) -d "$(DESTDIR)$(libdir)"
    3.16 ++	$(INSTALL) -d "$(DESTDIR)$(bindir)"
    3.17 ++	$(INSTALL) -d "$(DESTDIR)$(includedir)"
    3.18 ++	$(INSTALL) -m 0644 antinat.h "$(DESTDIR)$(includedir)/antinat.h"
    3.19 ++	$(INSTALL) -m 0755 antinat-config "$(DESTDIR)$(bindir)/antinat-config"
    3.20 + 
    3.21 +-	$(LIBTOOL) --mode=install $(INSTALL) -m 0755 "$(TARGET)" "$(libdir)/$(TARGET)"
    3.22 +-	$(LIBTOOL) --mode=finish "$(libdir)"
    3.23 ++	$(LIBTOOL) --mode=install $(INSTALL) -m 0755 "$(TARGET)" "$(DESTDIR)$(libdir)/$(TARGET)"
    3.24 ++	$(LIBTOOL) --mode=finish "$(DESTDIR)$(libdir)"
    3.25 + 
    3.26 + dll: $(TARGET_OBJS) 
    3.27 +-	$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(TARGET_OBJS) $(LDFLAGS) -version-info 0 -rpath $(libdir) -no-undefined -o $(TARGET)
    3.28 ++	$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(TARGET_OBJS) $(LDFLAGS) -version-info 0 -rpath $(DESTDIR)$(libdir) -no-undefined -o $(TARGET)
    3.29 + 
    3.30 + $(TARGET): $(TARGET_OBJS) 
    3.31 +-	$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(TARGET_OBJS) $(LDFLAGS) -version-info 0 -rpath $(libdir) -o $@
    3.32 ++	$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(TARGET_OBJS) $(LDFLAGS) -version-info 0 -rpath $(DESTDIR)$(libdir) -o $@
    3.33 + 
    3.34 + %.lo: %.c ../config.h
    3.35 + 	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -I. -c $< -o $@ 
    3.36 +
    3.37 +--- a/etc/Makefile.in
    3.38 ++++ b/etc/Makefile.in
    3.39 +@@ -25,10 +25,10 @@
    3.40 + 	rm -f Makefile
    3.41 + 
    3.42 + install: all $(PAMTARGET)
    3.43 +-	$(INSTALL) -d "$(sysconfdir)"
    3.44 +-	$(INSTALL) -d "$(LOGDIR)"
    3.45 +-	$(INSTALL) -m 0600 antinat.xml "$(sysconfdir)"
    3.46 ++	$(INSTALL) -d "$(DESTDIR)$(sysconfdir)"
    3.47 ++	$(INSTALL) -d "$(DESTDIR)$(LOGDIR)"
    3.48 ++	$(INSTALL) -m 0600 antinat.xml "$(DESTDIR)$(sysconfdir)"
    3.49 + 
    3.50 + install.pam:
    3.51 +-	$(INSTALL) -d "$(sysconfdir)/pam.d"
    3.52 +-	$(INSTALL) -m 0600 antinat.pam "$(sysconfdir)/pam.d/antinat"
    3.53 ++	$(INSTALL) -d "$(DESTDIR)$(sysconfdir)/pam.d"
    3.54 ++	$(INSTALL) -m 0600 antinat.pam "$(DESTDIR)$(sysconfdir)/pam.d/antinat"
    3.55 +
    3.56 +--- a/man/Makefile.in
    3.57 ++++ b/man/Makefile.in
    3.58 +@@ -14,40 +14,40 @@
    3.59 + 	rm -f Makefile
    3.60 + 
    3.61 + install: all
    3.62 +-	$(INSTALL) -d "$(mandir)/man1"
    3.63 +-	$(INSTALL) -d "$(mandir)/man3"
    3.64 +-	$(INSTALL) -d "$(mandir)/man4"
    3.65 +-	$(INSTALL) -c -m 0644 antinat.1 "$(mandir)/man1/antinat.1"
    3.66 +-	$(INSTALL) -c -m 0644 antinat.xml.4 "$(mandir)/man4/antinat.xml.4"
    3.67 +-	$(INSTALL) -c -m 0644 an_accept.3 "$(mandir)/man3/an_accept.3"
    3.68 +-	$(INSTALL) -c -m 0644 an_bind_tohostname.3 "$(mandir)/man3/an_bind_tohostname.3"
    3.69 +-	$(INSTALL) -c -m 0644 an_bind_tosockaddr.3 "$(mandir)/man3/an_bind_tosockaddr.3"
    3.70 +-	$(INSTALL) -c -m 0644 an_clear_authschemes.3 "$(mandir)/man3/an_clear_authschemes.3"
    3.71 +-	$(INSTALL) -c -m 0644 an_close.3 "$(mandir)/man3/an_close.3"
    3.72 +-	$(INSTALL) -c -m 0644 an_connect_tohostname.3 "$(mandir)/man3/an_connect_tohostname.3"
    3.73 +-	$(INSTALL) -c -m 0644 an_connect_tosockaddr.3 "$(mandir)/man3/an_connect_tosockaddr.3"
    3.74 +-	$(INSTALL) -c -m 0644 an_destroy.3 "$(mandir)/man3/an_destroy.3"
    3.75 +-	$(INSTALL) -c -m 0644 an_direct_setorigin.3 "$(mandir)/man3/an_direct_setorigin.3"
    3.76 +-	$(INSTALL) -c -m 0644 AN_FD_CLR.3 "$(mandir)/man3/AN_FD_CLR.3"
    3.77 +-	$(INSTALL) -c -m 0644 AN_FD_ISSET.3 "$(mandir)/man3/AN_FD_ISSET.3"
    3.78 +-	$(INSTALL) -c -m 0644 AN_FD_SET.3 "$(mandir)/man3/AN_FD_SET.3"
    3.79 +-	$(INSTALL) -c -m 0644 an_geterror.3 "$(mandir)/man3/an_geterror.3"
    3.80 +-	$(INSTALL) -c -m 0644 an_gethostbyname.3 "$(mandir)/man3/an_gethostbyname.3"
    3.81 +-	$(INSTALL) -c -m 0644 an_getpeername.3 "$(mandir)/man3/an_getpeername.3"
    3.82 +-	$(INSTALL) -c -m 0644 an_getproxytype.3 "$(mandir)/man3/an_getproxytype.3"
    3.83 +-	$(INSTALL) -c -m 0644 an_getsockname.3 "$(mandir)/man3/an_getsockname.3"
    3.84 +-	$(INSTALL) -c -m 0644 an_getversion.3 "$(mandir)/man3/an_getversion.3"
    3.85 +-	$(INSTALL) -c -m 0644 an_listen.3 "$(mandir)/man3/an_listen.3"
    3.86 +-	$(INSTALL) -c -m 0644 an_new_connection.3 "$(mandir)/man3/an_new_connection.3"
    3.87 +-	$(INSTALL) -c -m 0644 an_recv.3 "$(mandir)/man3/an_recv.3"
    3.88 +-	$(INSTALL) -c -m 0644 an_send.3 "$(mandir)/man3/an_send.3"
    3.89 +-	$(INSTALL) -c -m 0644 an_set_authscheme.3 "$(mandir)/man3/an_set_authscheme.3"
    3.90 +-	$(INSTALL) -c -m 0644 an_set_blocking.3 "$(mandir)/man3/an_set_blocking.3"
    3.91 +-	$(INSTALL) -c -m 0644 an_set_credentials.3 "$(mandir)/man3/an_set_credentials.3"
    3.92 +-	$(INSTALL) -c -m 0644 an_set_proxy.3 "$(mandir)/man3/an_set_proxy.3"
    3.93 +-	$(INSTALL) -c -m 0644 an_set_proxy_url.3 "$(mandir)/man3/an_set_proxy_url.3"
    3.94 +-	$(INSTALL) -c -m 0644 an_socks4_enablesocks4a.3 "$(mandir)/man3/an_socks4_enablesocks4a.3"
    3.95 +-	$(INSTALL) -c -m 0644 an_unset_proxy.3 "$(mandir)/man3/an_unset_proxy.3"
    3.96 ++	$(INSTALL) -d "$(DESTDIR)$(mandir)/man1"
    3.97 ++	$(INSTALL) -d "$(DESTDIR)$(mandir)/man3"
    3.98 ++	$(INSTALL) -d "$(DESTDIR)$(mandir)/man4"
    3.99 ++	$(INSTALL) -c -m 0644 antinat.1 "$(DESTDIR)$(mandir)/man1/antinat.1"
   3.100 ++	$(INSTALL) -c -m 0644 antinat.xml.4 "$(DESTDIR)$(mandir)/man4/antinat.xml.4"
   3.101 ++	$(INSTALL) -c -m 0644 an_accept.3 "$(DESTDIR)$(mandir)/man3/an_accept.3"
   3.102 ++	$(INSTALL) -c -m 0644 an_bind_tohostname.3 "$(DESTDIR)$(mandir)/man3/an_bind_tohostname.3"
   3.103 ++	$(INSTALL) -c -m 0644 an_bind_tosockaddr.3 "$(DESTDIR)$(mandir)/man3/an_bind_tosockaddr.3"
   3.104 ++	$(INSTALL) -c -m 0644 an_clear_authschemes.3 "$(DESTDIR)$(mandir)/man3/an_clear_authschemes.3"
   3.105 ++	$(INSTALL) -c -m 0644 an_close.3 "$(DESTDIR)$(mandir)/man3/an_close.3"
   3.106 ++	$(INSTALL) -c -m 0644 an_connect_tohostname.3 "$(DESTDIR)$(mandir)/man3/an_connect_tohostname.3"
   3.107 ++	$(INSTALL) -c -m 0644 an_connect_tosockaddr.3 "$(DESTDIR)$(mandir)/man3/an_connect_tosockaddr.3"
   3.108 ++	$(INSTALL) -c -m 0644 an_destroy.3 "$(DESTDIR)$(mandir)/man3/an_destroy.3"
   3.109 ++	$(INSTALL) -c -m 0644 an_direct_setorigin.3 "$(DESTDIR)$(mandir)/man3/an_direct_setorigin.3"
   3.110 ++	$(INSTALL) -c -m 0644 AN_FD_CLR.3 "$(DESTDIR)$(mandir)/man3/AN_FD_CLR.3"
   3.111 ++	$(INSTALL) -c -m 0644 AN_FD_ISSET.3 "$(DESTDIR)$(mandir)/man3/AN_FD_ISSET.3"
   3.112 ++	$(INSTALL) -c -m 0644 AN_FD_SET.3 "$(DESTDIR)$(mandir)/man3/AN_FD_SET.3"
   3.113 ++	$(INSTALL) -c -m 0644 an_geterror.3 "$(DESTDIR)$(mandir)/man3/an_geterror.3"
   3.114 ++	$(INSTALL) -c -m 0644 an_gethostbyname.3 "$(DESTDIR)$(mandir)/man3/an_gethostbyname.3"
   3.115 ++	$(INSTALL) -c -m 0644 an_getpeername.3 "$(DESTDIR)$(mandir)/man3/an_getpeername.3"
   3.116 ++	$(INSTALL) -c -m 0644 an_getproxytype.3 "$(DESTDIR)$(mandir)/man3/an_getproxytype.3"
   3.117 ++	$(INSTALL) -c -m 0644 an_getsockname.3 "$(DESTDIR)$(mandir)/man3/an_getsockname.3"
   3.118 ++	$(INSTALL) -c -m 0644 an_getversion.3 "$(DESTDIR)$(mandir)/man3/an_getversion.3"
   3.119 ++	$(INSTALL) -c -m 0644 an_listen.3 "$(DESTDIR)$(mandir)/man3/an_listen.3"
   3.120 ++	$(INSTALL) -c -m 0644 an_new_connection.3 "$(DESTDIR)$(mandir)/man3/an_new_connection.3"
   3.121 ++	$(INSTALL) -c -m 0644 an_recv.3 "$(DESTDIR)$(mandir)/man3/an_recv.3"
   3.122 ++	$(INSTALL) -c -m 0644 an_send.3 "$(DESTDIR)$(mandir)/man3/an_send.3"
   3.123 ++	$(INSTALL) -c -m 0644 an_set_authscheme.3 "$(DESTDIR)$(mandir)/man3/an_set_authscheme.3"
   3.124 ++	$(INSTALL) -c -m 0644 an_set_blocking.3 "$(DESTDIR)$(mandir)/man3/an_set_blocking.3"
   3.125 ++	$(INSTALL) -c -m 0644 an_set_credentials.3 "$(DESTDIR)$(mandir)/man3/an_set_credentials.3"
   3.126 ++	$(INSTALL) -c -m 0644 an_set_proxy.3 "$(DESTDIR)$(mandir)/man3/an_set_proxy.3"
   3.127 ++	$(INSTALL) -c -m 0644 an_set_proxy_url.3 "$(DESTDIR)$(mandir)/man3/an_set_proxy_url.3"
   3.128 ++	$(INSTALL) -c -m 0644 an_socks4_enablesocks4a.3 "$(DESTDIR)$(mandir)/man3/an_socks4_enablesocks4a.3"
   3.129 ++	$(INSTALL) -c -m 0644 an_unset_proxy.3 "$(DESTDIR)$(mandir)/man3/an_unset_proxy.3"
   3.130 + 
   3.131 + html:
   3.132 + 	for i in *.[1345]; do \
   3.133 +
   3.134 +--- a/server/Makefile.in
   3.135 ++++ b/server/Makefile.in
   3.136 +@@ -58,9 +58,9 @@
   3.137 + 	rm -f Makefile
   3.138 + 
   3.139 + install: $(TARGET)
   3.140 +-	$(INSTALL) -d "$(bindir)"
   3.141 +-	$(LIBTOOL) --mode=install $(INSTALL) -m 0755 $(TARGET) $(bindir)/$(TARGET)
   3.142 +-	$(LIBTOOL) --mode=finish $(bindir)
   3.143 ++	$(INSTALL) -d "$(DESTDIR)$(bindir)"
   3.144 ++	$(LIBTOOL) --mode=install $(INSTALL) -m 0755 $(TARGET) $(DESTDIR)$(bindir)/$(TARGET)
   3.145 ++	$(LIBTOOL) --mode=finish $(DESTDIR)$(bindir)
   3.146 + 	
   3.147 + 
   3.148 + $(TARGET): $(SERV_OBJS) 
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/antinat/stuff/patches/series	Fri Aug 11 04:54:37 2017 +0300
     4.3 @@ -0,0 +1,1 @@
     4.4 +destdir.patch
     5.1 --- a/aubio-dev/receipt	Sat Aug 05 15:17:06 2017 +0300
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,21 +0,0 @@
     5.4 -# SliTaz package receipt.
     5.5 -
     5.6 -PACKAGE="aubio-dev"
     5.7 -VERSION="0.3.2"
     5.8 -CATEGORY="development"
     5.9 -MAINTAINER="jozee@slitaz.org"
    5.10 -LICENSE="GPL2"
    5.11 -SHORT_DESC="aubio devel files"
    5.12 -WEB_SITE="http://aubio.piem.org/"
    5.13 -WANTED="aubio"
    5.14 -
    5.15 -DEPENDS="pkg-config"
    5.16 -
    5.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.18 -genpkg_rules()
    5.19 -{
    5.20 -	mkdir -p $fs/usr/lib
    5.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    5.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    5.23 -	cp -a $install/usr/include $fs/usr
    5.24 -}
     6.1 --- a/aubio/receipt	Sat Aug 05 15:17:06 2017 +0300
     6.2 +++ b/aubio/receipt	Fri Aug 11 04:54:37 2017 +0300
     6.3 @@ -1,38 +1,43 @@
     6.4 -# SliTaz package receipt.
     6.5 +# SliTaz package receipt v2.
     6.6  
     6.7  PACKAGE="aubio"
     6.8 -VERSION="0.3.2"
     6.9 +VERSION="0.4.5"
    6.10  CATEGORY="multimedia"
    6.11  MAINTAINER="jozee@slitaz.org"
    6.12 -LICENSE="GPL2"
    6.13 +LICENSE="GPL3"
    6.14  SHORT_DESC="A library for audio labelling"
    6.15 -WEB_SITE="http://aubio.piem.org/"
    6.16 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    6.17 -WGET_URL="$WEB_SITE/pub/$TARBALL"
    6.18 -TAGS="audio label multimedia"
    6.19 +WEB_SITE="https://aubio.org/"
    6.20  
    6.21 -DEPENDS="libsamplerate fftw jack flac libogg \
    6.22 -libvorbis"
    6.23 -BUILD_DEPENDS="libsamplerate-dev jack-dev \
    6.24 -fftw-dev libsndfile-dev fftw libsamplerate flac-dev libogg-dev \
    6.25 -libvorbis-dev"
    6.26 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    6.27 +WGET_URL="https://aubio.org/pub/$TARBALL"
    6.28 +
    6.29 +BUILD_DEPENDS="python-dev fftw-dev libsndfile-dev libsamplerate-dev jack-dev \
    6.30 +ffmpeg-dev gfortran lapack-dev python-numpy"
    6.31 +SPLIT="aubio-dev"
    6.32  
    6.33  # Rules to configure and make the package.
    6.34  compile_rules()
    6.35  {
    6.36 -	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
    6.37 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    6.38 -	make -j1 &&
    6.39 -	make -j1 install
    6.40 -
    6.41 -	cook_pick_manpages $src/doc/*.1
    6.42 +	./waf configure \
    6.43 +		--prefix=/usr \
    6.44 +		--enable-fftw3f &&
    6.45 +	./waf build &&
    6.46 +	./waf install \
    6.47 +		--destdir="$install"
    6.48 +#	./setup.py install --root="$install" --optimize=1
    6.49  }
    6.50  
    6.51  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.52  genpkg_rules()
    6.53  {
    6.54 -	mkdir -p $fs/usr/lib $fs/usr/share
    6.55 -	cp -a $install/usr/bin $fs/usr
    6.56 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    6.57 -	cp -a $install/usr/share/sounds $fs/usr/share
    6.58 +	case $PACKAGE in
    6.59 +		aubio)
    6.60 +			copy @std
    6.61 +			DEPENDS="ffmpeg fftw jack libsamplerate libsndfile"
    6.62 +			TAGS="audio label multimedia"
    6.63 +			;;
    6.64 +		*-dev)
    6.65 +			copy @dev
    6.66 +			;;
    6.67 +	esac
    6.68  }
     7.1 --- a/blas/receipt	Sat Aug 05 15:17:06 2017 +0300
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,49 +0,0 @@
     7.4 -# SliTaz package receipt.
     7.5 -
     7.6 -PACKAGE="blas"
     7.7 -VERSION="3.4.0"
     7.8 -CATEGORY="misc"
     7.9 -SHORT_DESC="Basic Linear Algebra Subprograms"
    7.10 -MAINTAINER="slaxemulator@gmail.com"
    7.11 -LICENSE="BSD"
    7.12 -SOURCE="lapack"
    7.13 -TARBALL="$SOURCE-$VERSION.tgz"
    7.14 -WEB_SITE="http://www.netlib.org/lapack"
    7.15 -WGET_URL="$WEB_SITE/$TARBALL"
    7.16 -
    7.17 -DEPENDS="gcc-lib-base"
    7.18 -BUILD_DEPENDS="gfortran"
    7.19 -
    7.20 -# Rules to configure and make the package.
    7.21 -compile_rules()
    7.22 -{
    7.23 -	cd $src
    7.24 -	cp -f $src/INSTALL/make.inc.gfortran make.inc
    7.25 -	cp -f "$stuff/Makefile.blas" $src/BLAS/SRC/Makefile 
    7.26 -
    7.27 -	export FC=gfortran
    7.28 -
    7.29 -	cd $src/BLAS/SRC
    7.30 -	make clean
    7.31 -	FFLAGS="${CFLAGS/-O?/-O0}" make dcabs1.o
    7.32 -	FFLAGS="${CFLAGS} -fPIC" CFLAGS="${CFLAGS} -fPIC" make shared
    7.33 -	cp libblas.so.$VERSION "$src"
    7.34 -	cd $src
    7.35 -  	ln -s libblas.so.$VERSION libblas.so
    7.36 -}
    7.37 -
    7.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.39 -genpkg_rules()
    7.40 -{
    7.41 -	mkdir -p $fs/usr
    7.42 -
    7.43 -	install -m755 -d "$fs/usr/lib"
    7.44 -  install -m755 "$src/libblas.so.$VERSION" \
    7.45 -    "$fs/usr/lib/"
    7.46 -  ln -sf libblas.so.$VERSION "$fs/usr/lib/libblas.so"
    7.47 -  ln -sf libblas.so.$VERSION "$fs/usr/lib/libblas.so.3"
    7.48 -  
    7.49 -  install -m755 -d "$fs/usr/share/licenses"
    7.50 -  install -m644 "$stuff/LICENSE.blas" \
    7.51 -    "$fs/usr/share/licenses/blas.LICENSE"
    7.52 -}
     8.1 --- a/blas/stuff/LICENSE.blas	Sat Aug 05 15:17:06 2017 +0300
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,19 +0,0 @@
     8.4 -From: http://www.netlib.org/blas/faq.html
     8.5 -
     8.6 - 2) Are there legal restrictions on the use of BLAS reference
     8.7 -    implementation software? 
     8.8 -
     8.9 -The reference BLAS is a freely-available software package. It is
    8.10 -available from netlib via anonymous ftp and the World Wide Web. Thus,
    8.11 -it can be included in commercial software packages (and has been). We
    8.12 -only ask that proper credit be given to the authors. 
    8.13 -
    8.14 -Like all software, it is copyrighted. It is not trademarked, but we do
    8.15 -ask the following: 
    8.16 -
    8.17 -If you modify the source for these routines we ask that you change the
    8.18 -name of the routine and comment the changes made to the original. 
    8.19 -
    8.20 -We will gladly answer any questions regarding the software. If a
    8.21 -modification is done, however, it is the responsibility of the person
    8.22 -who modified the routine to provide support. 
     9.1 --- a/blas/stuff/Makefile.blas	Sat Aug 05 15:17:06 2017 +0300
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,148 +0,0 @@
     9.4 -include ../../make.inc
     9.5 -
     9.6 -#######################################################################
     9.7 -#  This is the makefile to create a library for the BLAS.
     9.8 -#  The files are grouped as follows:
     9.9 -#
    9.10 -#       SBLAS1 -- Single precision real BLAS routines
    9.11 -#       CBLAS1 -- Single precision complex BLAS routines
    9.12 -#       DBLAS1 -- Double precision real BLAS routines
    9.13 -#       ZBLAS1 -- Double precision complex BLAS routines
    9.14 -#
    9.15 -#       CB1AUX -- Real BLAS routines called by complex routines
    9.16 -#       ZB1AUX -- D.P. real BLAS routines called by d.p. complex
    9.17 -#                 routines
    9.18 -#
    9.19 -#      ALLBLAS -- Auxiliary routines for Level 2 and 3 BLAS
    9.20 -#
    9.21 -#       SBLAS2 -- Single precision real BLAS2 routines
    9.22 -#       CBLAS2 -- Single precision complex BLAS2 routines
    9.23 -#       DBLAS2 -- Double precision real BLAS2 routines
    9.24 -#       ZBLAS2 -- Double precision complex BLAS2 routines
    9.25 -#
    9.26 -#       SBLAS3 -- Single precision real BLAS3 routines
    9.27 -#       CBLAS3 -- Single precision complex BLAS3 routines
    9.28 -#       DBLAS3 -- Double precision real BLAS3 routines
    9.29 -#       ZBLAS3 -- Double precision complex BLAS3 routines
    9.30 -#
    9.31 -#  The library can be set up to include routines for any combination
    9.32 -#  of the four precisions.  To create or add to the library, enter make
    9.33 -#  followed by one or more of the precisions desired.  Some examples:
    9.34 -#       make single
    9.35 -#       make single complex
    9.36 -#       make single double complex complex16
    9.37 -#  Note that these commands are not safe for parallel builds.
    9.38 -#
    9.39 -#  Alternatively, the commands
    9.40 -#       make all
    9.41 -#  or
    9.42 -#       make
    9.43 -#  without any arguments creates a library of all four precisions.
    9.44 -#  The name of the library is held in BLASLIB, which is set in the
    9.45 -#  top-level make.inc
    9.46 -#
    9.47 -#  To remove the object files after the library is created, enter
    9.48 -#       make clean
    9.49 -#  To force the source files to be recompiled, enter, for example,
    9.50 -#       make single FRC=FRC
    9.51 -#
    9.52 -#---------------------------------------------------------------------
    9.53 -#
    9.54 -#  Edward Anderson, University of Tennessee
    9.55 -#  March 26, 1990
    9.56 -#  Susan Ostrouchov, Last updated September 30, 1994
    9.57 -#  ejr, May 2006.
    9.58 -#
    9.59 -#######################################################################
    9.60 -
    9.61 -all: $(BLASLIB)
    9.62 - 
    9.63 -#---------------------------------------------------------
    9.64 -#  Comment out the next 6 definitions if you already have
    9.65 -#  the Level 1 BLAS.
    9.66 -#---------------------------------------------------------
    9.67 -SBLAS1 = isamax.o sasum.o saxpy.o scopy.o sdot.o snrm2.o \
    9.68 -	srot.o srotg.o sscal.o sswap.o sdsdot.o srotmg.o srotm.o
    9.69 -$(SBLAS1): $(FRC)
    9.70 -
    9.71 -CBLAS1 = scabs1.o scasum.o scnrm2.o icamax.o caxpy.o ccopy.o \
    9.72 -	cdotc.o cdotu.o csscal.o crotg.o cscal.o cswap.o csrot.o
    9.73 -$(CBLAS1): $(FRC)
    9.74 -
    9.75 -DBLAS1 = idamax.o dasum.o daxpy.o dcopy.o ddot.o dnrm2.o \
    9.76 -	drot.o drotg.o dscal.o dsdot.o dswap.o drotmg.o drotm.o
    9.77 -$(DBLAS1): $(FRC)
    9.78 -
    9.79 -ZBLAS1 = dcabs1.o dzasum.o dznrm2.o izamax.o zaxpy.o zcopy.o \
    9.80 -	zdotc.o zdotu.o zdscal.o zrotg.o zscal.o zswap.o zdrot.o
    9.81 -$(ZBLAS1): $(FRC)
    9.82 -
    9.83 -CB1AUX = isamax.o sasum.o saxpy.o scopy.o snrm2.o sscal.o
    9.84 -$(CB1AUX): $(FRC)
    9.85 -
    9.86 -ZB1AUX = idamax.o dasum.o daxpy.o dcopy.o dnrm2.o dscal.o
    9.87 -$(ZB1AUX): $(FRC)
    9.88 -
    9.89 -#---------------------------------------------------------------------
    9.90 -#  The following line defines auxiliary routines needed by both the
    9.91 -#  Level 2 and Level 3 BLAS.  Comment it out only if you already have
    9.92 -#  both the Level 2 and 3 BLAS.
    9.93 -#---------------------------------------------------------------------
    9.94 -ALLBLAS  = lsame.o xerbla.o xerbla_array.o
    9.95 -$(ALLBLAS) : $(FRC)
    9.96 -
    9.97 -#---------------------------------------------------------
    9.98 -#  Comment out the next 4 definitions if you already have
    9.99 -#  the Level 2 BLAS.
   9.100 -#---------------------------------------------------------
   9.101 -SBLAS2 = sgemv.o sgbmv.o ssymv.o ssbmv.o sspmv.o \
   9.102 -	strmv.o stbmv.o stpmv.o strsv.o stbsv.o stpsv.o \
   9.103 -	sger.o ssyr.o sspr.o ssyr2.o sspr2.o
   9.104 -$(SBLAS2): $(FRC)
   9.105 -
   9.106 -CBLAS2 = cgemv.o cgbmv.o chemv.o chbmv.o chpmv.o \
   9.107 -	ctrmv.o ctbmv.o ctpmv.o ctrsv.o ctbsv.o ctpsv.o \
   9.108 -	cgerc.o cgeru.o cher.o chpr.o cher2.o chpr2.o
   9.109 -$(CBLAS2): $(FRC)
   9.110 -
   9.111 -DBLAS2 = dgemv.o dgbmv.o dsymv.o dsbmv.o dspmv.o \
   9.112 -	dtrmv.o dtbmv.o dtpmv.o dtrsv.o dtbsv.o dtpsv.o \
   9.113 -	dger.o dsyr.o dspr.o dsyr2.o dspr2.o
   9.114 -$(DBLAS2): $(FRC)
   9.115 -
   9.116 -ZBLAS2 = zgemv.o zgbmv.o zhemv.o zhbmv.o zhpmv.o \
   9.117 -	ztrmv.o ztbmv.o ztpmv.o ztrsv.o ztbsv.o ztpsv.o \
   9.118 -	zgerc.o zgeru.o zher.o zhpr.o zher2.o zhpr2.o
   9.119 -$(ZBLAS2): $(FRC)
   9.120 -
   9.121 -#---------------------------------------------------------
   9.122 -#  Comment out the next 4 definitions if you already have
   9.123 -#  the Level 3 BLAS.
   9.124 -#---------------------------------------------------------
   9.125 -SBLAS3 = sgemm.o ssymm.o ssyrk.o ssyr2k.o strmm.o strsm.o 
   9.126 -$(SBLAS3): $(FRC)
   9.127 -
   9.128 -CBLAS3 = cgemm.o csymm.o csyrk.o csyr2k.o ctrmm.o ctrsm.o \
   9.129 -	chemm.o cherk.o cher2k.o
   9.130 -$(CBLAS3): $(FRC)
   9.131 -
   9.132 -DBLAS3 = dgemm.o dsymm.o dsyrk.o dsyr2k.o dtrmm.o dtrsm.o
   9.133 -$(DBLAS3): $(FRC)
   9.134 -
   9.135 -ZBLAS3 = zgemm.o zsymm.o zsyrk.o zsyr2k.o ztrmm.o ztrsm.o \
   9.136 -	zhemm.o zherk.o zher2k.o
   9.137 -$(ZBLAS3): $(FRC)
   9.138 -
   9.139 -ALLOBJ=$(SBLAS1) $(SBLAS2) $(SBLAS3) $(DBLAS1) $(DBLAS2) $(DBLAS3)	\
   9.140 -	$(CBLAS1) $(CBLAS2) $(CBLAS3) $(ZBLAS1) \
   9.141 -	$(ZBLAS2) $(ZBLAS3) $(ALLBLAS)
   9.142 -
   9.143 -clean:
   9.144 -	rm -f *.o libblas.a libblas.so*
   9.145 -
   9.146 -static: $(ALLOBJ)
   9.147 -	ar ruv libblas.a $(ALLOBJ)
   9.148 -	ranlib libblas.a
   9.149 -
   9.150 -shared: $(ALLOBJ)
   9.151 -	cc $(CFLAGS) -shared -Wl,-soname,libblas.so.3 -o libblas.so.3.4.0 $(ALLOBJ) -lm -lgfortran -lc
    10.1 --- a/blas/stuff/lapack-3.1.1-make.inc.patch	Sat Aug 05 15:17:06 2017 +0300
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,23 +0,0 @@
    10.4 ---- lapack-3.1.1/INSTALL/make.inc.gfortran.BAD	2007-05-25 15:34:55.000000000 -0500
    10.5 -+++ lapack-3.1.1/INSTALL/make.inc.gfortran	2007-05-25 15:35:51.000000000 -0500
    10.6 -@@ -8,7 +8,7 @@ SHELL = /bin/sh
    10.7 - #
    10.8 - #  The machine (platform) identifier to append to the library names
    10.9 - #
   10.10 --PLAT = _LINUX
   10.11 -+PLAT = 
   10.12 - #  
   10.13 - #  Modify the FORTRAN and OPTS definitions to refer to the
   10.14 - #  compiler and desired compiler options for your machine.  NOOPT
   10.15 -@@ -17,9 +17,9 @@ PLAT = _LINUX
   10.16 - #  desired load options for your machine.
   10.17 - #
   10.18 - FORTRAN  = gfortran 
   10.19 --OPTS     = -O2
   10.20 -+#OPTS     = -O2
   10.21 - DRVOPTS  = $(OPTS)
   10.22 --NOOPT    = -O0
   10.23 -+NOOPT    = 
   10.24 - LOADER   = gfortran
   10.25 - LOADOPTS =
   10.26 - #
    11.1 --- a/dialog/receipt	Sat Aug 05 15:17:06 2017 +0300
    11.2 +++ b/dialog/receipt	Fri Aug 11 04:54:37 2017 +0300
    11.3 @@ -1,19 +1,19 @@
    11.4 -# SliTaz package receipt.
    11.5 +# SliTaz package receipt v2.
    11.6  
    11.7  PACKAGE="dialog"
    11.8 -VERSION="1.3-20160828"
    11.9 +VERSION="1.3-20170509"
   11.10  CATEGORY="base-system"
   11.11 -SHORT_DESC="Script-interpreter which provides a set of curses widgets."
   11.12 +SHORT_DESC="Script-interpreter which provides a set of curses widgets"
   11.13  MAINTAINER="pankso@slitaz.org"
   11.14  LICENSE="LGPL2.1"
   11.15  WEB_SITE="http://invisible-island.net/dialog/"
   11.16  HOST_ARCH="i486 arm"
   11.17  
   11.18  TARBALL="$PACKAGE-$VERSION.tgz"
   11.19 -WGET_URL="ftp://invisible-island.net/dialog/$TARBALL"
   11.20 +WGET_URL="ftp://ftp.invisible-island.net/dialog/$TARBALL"
   11.21  
   11.22 -DEPENDS="ncurses"
   11.23  BUILD_DEPENDS="ncurses-dev gettext"
   11.24 +SPLIT="dialog-dev"
   11.25  
   11.26  # Rules to configure and make the package.
   11.27  compile_rules()
   11.28 @@ -21,19 +21,27 @@
   11.29  	./configure \
   11.30  		--prefix=/usr \
   11.31  		--sysconfdir=/etc \
   11.32 -		--mandir=/usr/share/man \
   11.33  		--with-ncursesw \
   11.34  		--enable-nls \
   11.35  		--enable-widec \
   11.36  		$CONFIGURE_ARGS &&
   11.37  	make && make DESTDIR=$DESTDIR install
   11.38 +
   11.39 +	# Config file.
   11.40 +	mkdir -p $install/etc
   11.41 +	cp $stuff/dialogrc $install/etc
   11.42  }
   11.43  
   11.44  # Rules to gen a SliTaz package suitable for Tazpkg.
   11.45  genpkg_rules()
   11.46  {
   11.47 -	mkdir -p $fs/usr $fs/etc
   11.48 -	cp -a $install/usr/bin $fs/usr
   11.49 -	# Config file.
   11.50 -	cp $stuff/dialogrc $fs/etc
   11.51 +	case $PACKAGE in
   11.52 +		dialog)
   11.53 +			copy @std
   11.54 +			DEPENDS="ncurses"
   11.55 +			;;
   11.56 +		*-dev)
   11.57 +			copy @dev
   11.58 +			;;
   11.59 +	esac
   11.60  }
    12.1 --- a/dialog/stuff/dialog.desktop	Sat Aug 05 15:17:06 2017 +0300
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,11 +0,0 @@
    12.4 -[Desktop Entry]
    12.5 -Type=Application
    12.6 -Name=Dialog Example
    12.7 -Name[fr]=Exemple de Dialog
    12.8 -Name[pt]=Exemplos do Dialog
    12.9 -Name[pt_BR]=Exemplos do Dialog
   12.10 -Name[ru]=Пример диалога
   12.11 -Name[zh_CN]=对话框示例
   12.12 -Exec=xterm -e dialog --title " Title " --textbox /etc/motd 10 60
   12.13 -Icon=utilities-terminal
   12.14 -Categories=Development;
    13.1 --- a/exa/receipt	Sat Aug 05 15:17:06 2017 +0300
    13.2 +++ b/exa/receipt	Fri Aug 11 04:54:37 2017 +0300
    13.3 @@ -11,7 +11,7 @@
    13.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    13.5  WGET_URL="https://github.com/ogham/exa/archive/v$VERSION.tar.gz"
    13.6  
    13.7 -BUILD_DEPENDS="rust-cargo libgit2-dev cmake"
    13.8 +BUILD_DEPENDS="rust libgit2-dev cmake"
    13.9  
   13.10  # Rules to configure and make the package.
   13.11  compile_rules()
    14.1 --- a/gcc/receipt	Sat Aug 05 15:17:06 2017 +0300
    14.2 +++ b/gcc/receipt	Fri Aug 11 04:54:37 2017 +0300
    14.3 @@ -13,7 +13,7 @@
    14.4  WGET_URL="ftp://gcc.gnu.org/pub/gcc/releases/gcc-$VERSION/$TARBALL"
    14.5  
    14.6  BUILD_DEPENDS="mpc-library-dev mpfr-dev gmp-dev elfutils-dev zlib-dev"
    14.7 -SPLIT="gcc-lib-base gcc-lib-math gfortran libgfortran libgomp libobjc"
    14.8 +SPLIT="gcc-lib-base gcc-lib-math libgfortran gfortran libgomp libobjc gcc"
    14.9  
   14.10  # Handle cross compilation (native i486/ARM gcc)
   14.11  case "$ARCH" in
   14.12 @@ -93,60 +93,56 @@
   14.13  			cp -af $libdir/libquadmath.so* $install/usr/lib # for gcc-lib-math
   14.14  			;;
   14.15  	esac
   14.16 +
   14.17 +	# Remove build directory.
   14.18 +	rm -rf $WOK/$PACKAGE/source/$PACKAGE-build
   14.19 +	rm -rf $WOK/$PACKAGE/$PACKAGE-build
   14.20  }
   14.21  
   14.22  # Rules to gen a SliTaz package suitable for Tazpkg.
   14.23  genpkg_rules()
   14.24  {
   14.25  	case $PACKAGE in
   14.26 -		gcc)
   14.27 -			copy bin/ lib/ include/ *.py
   14.28 -			rm -f \
   14.29 -				$fs/usr/lib/libgcc_s.so* \
   14.30 -				$fs/usr/lib/libstdc++.so* \
   14.31 -				$fs/usr/lib/libquadmath.so* \
   14.32 -				$fs/usr/lib/libgfortran.* \
   14.33 -				$fs/usr/lib/libgomp.so* \
   14.34 -				$fs/usr/lib/libobjc.so* \
   14.35 -				$fs/usr/bin/*gfortran \
   14.36 -				$fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION/f951
   14.37 -			rm -rf \
   14.38 -				$fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION/finclude
   14.39 -
   14.40 -			# Remove build directory.
   14.41 -			rm -rf $WOK/$PACKAGE/source/$PACKAGE-build
   14.42 -			rm -rf $WOK/$PACKAGE/$PACKAGE-build
   14.43 -			DEPENDS="binutils libgomp libobjc gcc-lib-base mpc-library elfutils"
   14.44 -			TAGS="compiler C"
   14.45 -			;;
   14.46  		gcc-lib-base)
   14.47  			copy libgcc_s.so* libstdc++.so*
   14.48  			rm $fs/usr/lib/*.py
   14.49  			CAT="development|base libraries"
   14.50 +			DEPENDS="glibc-base"
   14.51  			;;
   14.52  		gcc-lib-math)
   14.53  			copy libquadmath.so*
   14.54  			CAT="development|math libraries"
   14.55 -			;;
   14.56 -		gfortran)
   14.57 -			copy *gfortran libgfortran.* f951 finclude/
   14.58 -			rm $fs/usr/lib/libgfortran.so*
   14.59 -			CAT="development|fortran extension"
   14.60 -			TAGS="compiler fortran"
   14.61 -			DEPENDS="gcc libgfortran"
   14.62 +			DEPENDS="glibc-base"
   14.63  			;;
   14.64  		libgfortran)
   14.65  			copy libgfortran.so*
   14.66  			CAT="libdevel|fortran runtime"
   14.67 +			DEPENDS="gcc-lib-base gcc-lib-math glibc-base"
   14.68 +			;;
   14.69 +		gfortran)
   14.70 +			copy *gfortran libgfortran.* f951 finclude/
   14.71 +			remove_already_packed
   14.72 +			CAT="development|fortran extension"
   14.73 +			TAGS="compiler fortran"
   14.74 +			DEPENDS="libgfortran gcc glibc-base gmp mpc-library mpfr zlib"
   14.75  			;;
   14.76  		libgomp)
   14.77  			copy libgomp.so*
   14.78  			CAT="development|API specification for parallel programming"
   14.79 +			DEPENDS="glibc-base"
   14.80  			;;
   14.81  		libobjc)
   14.82  			copy libobjc.so*
   14.83  			CAT="libdevel|API for gcc object"
   14.84 -			DEPENDS="gcc-lib-base"
   14.85 +			DEPENDS="gcc-lib-base glibc-base"
   14.86 +			;;
   14.87 +		gcc)
   14.88 +			copy bin/ lib/ include/ *.py
   14.89 +			remove_already_packed
   14.90 +			DEPENDS="gcc-lib-base libgomp libobjc \
   14.91 +			glibc-base gmp mpc-library mpfr zlib   binutils elfutils"
   14.92 +			SUGGESTED="python"
   14.93 +			TAGS="compiler C"
   14.94  			;;
   14.95  	esac
   14.96  }
    15.1 --- a/lapack/receipt	Sat Aug 05 15:17:06 2017 +0300
    15.2 +++ b/lapack/receipt	Fri Aug 11 04:54:37 2017 +0300
    15.3 @@ -1,51 +1,63 @@
    15.4 -# SliTaz package receipt.
    15.5 +# SliTaz package receipt v2.
    15.6  
    15.7  PACKAGE="lapack"
    15.8 -VERSION="3.4.0"
    15.9 -CATEGORY="misc"
   15.10 +VERSION="3.7.1"
   15.11 +CATEGORY="libs"
   15.12  SHORT_DESC="Linear Algebra PACKage"
   15.13  MAINTAINER="slaxemulator@gmail.com"
   15.14  LICENSE="BSD"
   15.15 +WEB_SITE="http://www.netlib.org/lapack"
   15.16 +
   15.17  TARBALL="$PACKAGE-$VERSION.tgz"
   15.18 -WEB_SITE="http://www.netlib.org/lapack"
   15.19  WGET_URL="$WEB_SITE/$TARBALL"
   15.20  
   15.21 -DEPENDS="gcc-lib-base blas"
   15.22 -BUILD_DEPENDS="gfortran blas"
   15.23 +BUILD_DEPENDS="cmake gfortran gcc-lib-math python"
   15.24 +SPLIT="blas blas-dev lapack lapack-dev"
   15.25  
   15.26  # Rules to configure and make the package.
   15.27  compile_rules()
   15.28  {
   15.29 -	cd $src
   15.30 -	cp -f $src/INSTALL/make.inc.gfortran make.inc
   15.31 -	cp -f "$stuff/Makefile.lapack" $src/SRC/Makefile
   15.32 -	
   15.33 -	export FC=gfortran
   15.34 +	mkdir build; cd build
   15.35 +	cmake .. \
   15.36 +		-DCMAKE_BUILD_TYPE=Release \
   15.37 +		-DCMAKE_SKIP_RPATH=ON \
   15.38 +		-DBUILD_SHARED_LIBS=ON \
   15.39 +		-DBUILD_TESTING=OFF \
   15.40 +		-DCMAKE_INSTALL_PREFIX=/usr \
   15.41 +		-DCMAKE_INSTALL_LIBDIR=lib \
   15.42 +		-DCMAKE_Fortran_COMPILER=gfortran \
   15.43 +		-DLAPACKE_WITH_TMG=ON \
   15.44 +		-DCBLAS=ON \
   15.45 +		-DBUILD_DEPRECATED=ON &&
   15.46 +	make &&
   15.47 +	make DESTDIR=$DESTDIR install
   15.48  
   15.49 -	cd $src/INSTALL
   15.50 -	make clean
   15.51 -	make NOOPT="${CFLAGS/-O?/-O0} -fPIC" OPTS="${CFLAGS} -fPIC"
   15.52 -
   15.53 -	cd $src/SRC
   15.54 -	make clean
   15.55 -
   15.56 -	make FFLAGS="${CFLAGS} -fPIC" CFLAGS="${CFLAGS} -fPIC" shared
   15.57 -	cp liblapack.so.$VERSION "$src/"
   15.58 +	licdir="$install/usr/share/licenses"
   15.59 +	mkdir -p $licdir
   15.60 +	cp $src/LICENSE $licdir/blas.LICENSE $licdir/lapack.LICENSE
   15.61  }
   15.62  
   15.63  # Rules to gen a SliTaz package suitable for Tazpkg.
   15.64  genpkg_rules()
   15.65  {
   15.66 -	mkdir -p $fs/usr
   15.67 -
   15.68 -	install -m755 -d "$fs/usr/lib"
   15.69 -  install -m755 "$src/liblapack.so.$VERSION" \
   15.70 -    "$fs/usr/lib/"
   15.71 -  ln -sf liblapack.so.$VERSION "$fs/usr/lib/liblapack.so"
   15.72 -  ln -sf liblapack.so.$VERSION "$fs/usr/lib/liblapack.so.3"
   15.73 -  
   15.74 -  install -m755 -d "$fs/usr/share/licenses"
   15.75 -  install -m644 "$src/LICENSE" \
   15.76 -    "$fs/usr/share/licenses/lapack.LICENSE"
   15.77 +	case $PACKAGE in
   15.78 +		blas)
   15.79 +			copy lib*blas.so*
   15.80 +			DEPENDS="gcc-lib-math libgfortran"
   15.81 +			CAT="libs|Basic Linear Algebra Subprograms"
   15.82 +			;;
   15.83 +		blas-dev)
   15.84 +			copy blas* cblas* cblas*/
   15.85 +			DEPENDS="blas"
   15.86 +			CAT="development|BLAS development files"
   15.87 +			;;
   15.88 +		lapack)
   15.89 +			copy liblapack*.so* libtmglib.so
   15.90 +			DEPENDS="blas gcc-lib-math libgfortran"
   15.91 +			;;
   15.92 +		lapack-dev)
   15.93 +			copy lapack* lapack*/
   15.94 +			DEPENDS="lapack blas-dev"
   15.95 +			;;
   15.96 +	esac
   15.97  }
   15.98 -
    16.1 --- a/lapack/stuff/Makefile.lapack	Sat Aug 05 15:17:06 2017 +0300
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,390 +0,0 @@
    16.4 -include ../make.inc
    16.5 -
    16.6 -#######################################################################
    16.7 -#  This is the makefile to create a library for LAPACK.
    16.8 -#  The files are organized as follows:
    16.9 -#       ALLAUX -- Auxiliary routines called from all precisions
   16.10 -#       ALLXAUX -- Auxiliary routines called from all precisions but
   16.11 -#                  only from routines using extra precision.
   16.12 -#       SCLAUX -- Auxiliary routines called from both REAL and COMPLEX
   16.13 -#       DZLAUX -- Auxiliary routines called from both DOUBLE PRECISION
   16.14 -#                 and COMPLEX*16
   16.15 -#       SLASRC -- Single precision real LAPACK routines
   16.16 -#       SXLASRC -- Single precision real LAPACK routines using extra
   16.17 -#                  precision.
   16.18 -#       CLASRC -- Single precision complex LAPACK routines
   16.19 -#       CXLASRC -- Single precision complex LAPACK routines using extra
   16.20 -#                  precision.
   16.21 -#       DLASRC -- Double precision real LAPACK routines
   16.22 -#       DXLASRC -- Double precision real LAPACK routines using extra
   16.23 -#                  precision.
   16.24 -#       ZLASRC -- Double precision complex LAPACK routines
   16.25 -#       ZXLASRC -- Double precision complex LAPACK routines using extra
   16.26 -#                  precision.
   16.27 -#
   16.28 -#  The library can be set up to include routines for any combination
   16.29 -#  of the four precisions.  To create or add to the library, enter make
   16.30 -#  followed by one or more of the precisions desired.  Some examples:
   16.31 -#       make single
   16.32 -#       make single complex
   16.33 -#       make single double complex complex16
   16.34 -#  Alternatively, the command
   16.35 -#       make
   16.36 -#  without any arguments creates a library of all four precisions.
   16.37 -#  The library is called
   16.38 -#       lapack.a
   16.39 -#  and is created at the next higher directory level.
   16.40 -#
   16.41 -#  To remove the object files after the library is created, enter
   16.42 -#       make clean
   16.43 -#  On some systems, you can force the source files to be recompiled by
   16.44 -#  entering (for example)
   16.45 -#       make single FRC=FRC
   16.46 -#
   16.47 -#  ***Note***
   16.48 -#  The functions lsame, second, dsecnd, slamch, and dlamch may have
   16.49 -#  to be installed before compiling the library.  Refer to the
   16.50 -#  installation guide, LAPACK Working Note 41, for instructions.
   16.51 -#
   16.52 -#######################################################################
   16.53 -
   16.54 -ALLAUX = ilaenv.o ieeeck.o lsamen.o xerbla.o xerbla_array.o iparmq.o	\
   16.55 -    ilaprec.o ilatrans.o ilauplo.o iladiag.o chla_transtype.o \
   16.56 -    ../INSTALL/ilaver.o ../INSTALL/lsame.o ../INSTALL/slamch.o
   16.57 -
   16.58 -ALLXAUX =
   16.59 -
   16.60 -SCLAUX = \
   16.61 -   sbdsdc.o \
   16.62 -   sbdsqr.o sdisna.o slabad.o slacpy.o sladiv.o slae2.o  slaebz.o \
   16.63 -   slaed0.o slaed1.o slaed2.o slaed3.o slaed4.o slaed5.o slaed6.o \
   16.64 -   slaed7.o slaed8.o slaed9.o slaeda.o slaev2.o slagtf.o \
   16.65 -   slagts.o slamrg.o slanst.o \
   16.66 -   slapy2.o slapy3.o slarnv.o \
   16.67 -   slarra.o slarrb.o slarrc.o slarrd.o slarre.o slarrf.o slarrj.o \
   16.68 -   slarrk.o slarrr.o slaneg.o \
   16.69 -   slartg.o slaruv.o slas2.o  slascl.o \
   16.70 -   slasd0.o slasd1.o slasd2.o slasd3.o slasd4.o slasd5.o slasd6.o \
   16.71 -   slasd7.o slasd8.o slasda.o slasdq.o slasdt.o \
   16.72 -   slaset.o slasq1.o slasq2.o slasq3.o slasq4.o slasq5.o slasq6.o \
   16.73 -   slasr.o  slasrt.o slassq.o slasv2.o spttrf.o sstebz.o sstedc.o \
   16.74 -   ssteqr.o ssterf.o slaisnan.o sisnan.o \
   16.75 -   slartgp.o slartgs.o \
   16.76 -    ../INSTALL/second_$(TIMER).o
   16.77 -
   16.78 -DZLAUX = \
   16.79 -   dbdsdc.o \
   16.80 -   dbdsqr.o ddisna.o dlabad.o dlacpy.o dladiv.o dlae2.o  dlaebz.o \
   16.81 -   dlaed0.o dlaed1.o dlaed2.o dlaed3.o dlaed4.o dlaed5.o dlaed6.o \
   16.82 -   dlaed7.o dlaed8.o dlaed9.o dlaeda.o dlaev2.o dlagtf.o \
   16.83 -   dlagts.o dlamrg.o dlanst.o \
   16.84 -   dlapy2.o dlapy3.o dlarnv.o \
   16.85 -   dlarra.o dlarrb.o dlarrc.o dlarrd.o dlarre.o dlarrf.o dlarrj.o \
   16.86 -   dlarrk.o dlarrr.o dlaneg.o \
   16.87 -   dlartg.o dlaruv.o dlas2.o  dlascl.o \
   16.88 -   dlasd0.o dlasd1.o dlasd2.o dlasd3.o dlasd4.o dlasd5.o dlasd6.o \
   16.89 -   dlasd7.o dlasd8.o dlasda.o dlasdq.o dlasdt.o \
   16.90 -   dlaset.o dlasq1.o dlasq2.o dlasq3.o dlasq4.o dlasq5.o dlasq6.o \
   16.91 -   dlasr.o  dlasrt.o dlassq.o dlasv2.o dpttrf.o dstebz.o dstedc.o \
   16.92 -   dsteqr.o dsterf.o dlaisnan.o disnan.o \
   16.93 -   dlartgp.o dlartgs.o \
   16.94 -   ../INSTALL/dlamch.o ../INSTALL/dsecnd_$(TIMER).o
   16.95 -
   16.96 -SLASRC = \
   16.97 -   sgbbrd.o sgbcon.o sgbequ.o sgbrfs.o sgbsv.o  \
   16.98 -   sgbsvx.o sgbtf2.o sgbtrf.o sgbtrs.o sgebak.o sgebal.o sgebd2.o \
   16.99 -   sgebrd.o sgecon.o sgeequ.o sgees.o  sgeesx.o sgeev.o  sgeevx.o \
  16.100 -   sgegs.o  sgegv.o  sgehd2.o sgehrd.o sgelq2.o sgelqf.o \
  16.101 -   sgels.o  sgelsd.o sgelss.o sgelsx.o sgelsy.o sgeql2.o sgeqlf.o \
  16.102 -   sgeqp3.o sgeqpf.o sgeqr2.o sgeqr2p.o sgeqrf.o sgeqrfp.o sgerfs.o \
  16.103 -   sgerq2.o sgerqf.o sgesc2.o sgesdd.o sgesv.o  sgesvd.o sgesvx.o \
  16.104 -   sgetc2.o sgetf2.o sgetri.o \
  16.105 -   sggbak.o sggbal.o sgges.o  sggesx.o sggev.o  sggevx.o \
  16.106 -   sggglm.o sgghrd.o sgglse.o sggqrf.o \
  16.107 -   sggrqf.o sggsvd.o sggsvp.o sgtcon.o sgtrfs.o sgtsv.o  \
  16.108 -   sgtsvx.o sgttrf.o sgttrs.o sgtts2.o shgeqz.o \
  16.109 -   shsein.o shseqr.o slabrd.o slacon.o slacn2.o \
  16.110 -   slaein.o slaexc.o slag2.o  slags2.o slagtm.o slagv2.o slahqr.o \
  16.111 -   slahrd.o slahr2.o slaic1.o slaln2.o slals0.o slalsa.o slalsd.o \
  16.112 -   slangb.o slange.o slangt.o slanhs.o slansb.o slansp.o \
  16.113 -   slansy.o slantb.o slantp.o slantr.o slanv2.o \
  16.114 -   slapll.o slapmt.o \
  16.115 -   slaqgb.o slaqge.o slaqp2.o slaqps.o slaqsb.o slaqsp.o slaqsy.o \
  16.116 -   slaqr0.o slaqr1.o slaqr2.o slaqr3.o slaqr4.o slaqr5.o \
  16.117 -   slaqtr.o slar1v.o slar2v.o ilaslr.o ilaslc.o \
  16.118 -   slarf.o  slarfb.o slarfg.o slarfgp.o slarft.o slarfx.o slargv.o \
  16.119 -   slarrv.o slartv.o  \
  16.120 -   slarz.o  slarzb.o slarzt.o slaswp.o slasy2.o slasyf.o \
  16.121 -   slatbs.o slatdf.o slatps.o slatrd.o slatrs.o slatrz.o slatzm.o \
  16.122 -   slauu2.o slauum.o sopgtr.o sopmtr.o sorg2l.o sorg2r.o \
  16.123 -   sorgbr.o sorghr.o sorgl2.o sorglq.o sorgql.o sorgqr.o sorgr2.o \
  16.124 -   sorgrq.o sorgtr.o sorm2l.o sorm2r.o \
  16.125 -   sormbr.o sormhr.o sorml2.o sormlq.o sormql.o sormqr.o sormr2.o \
  16.126 -   sormr3.o sormrq.o sormrz.o sormtr.o spbcon.o spbequ.o spbrfs.o \
  16.127 -   spbstf.o spbsv.o  spbsvx.o \
  16.128 -   spbtf2.o spbtrf.o spbtrs.o spocon.o spoequ.o sporfs.o sposv.o  \
  16.129 -   sposvx.o spotf2.o spotri.o  spstrf.o spstf2.o \
  16.130 -   sppcon.o sppequ.o \
  16.131 -   spprfs.o sppsv.o  sppsvx.o spptrf.o spptri.o spptrs.o sptcon.o \
  16.132 -   spteqr.o sptrfs.o sptsv.o  sptsvx.o spttrs.o sptts2.o srscl.o  \
  16.133 -   ssbev.o  ssbevd.o ssbevx.o ssbgst.o ssbgv.o  ssbgvd.o ssbgvx.o \
  16.134 -   ssbtrd.o sspcon.o sspev.o  sspevd.o sspevx.o sspgst.o \
  16.135 -   sspgv.o  sspgvd.o sspgvx.o ssprfs.o sspsv.o  sspsvx.o ssptrd.o \
  16.136 -   ssptrf.o ssptri.o ssptrs.o sstegr.o sstein.o sstev.o  sstevd.o sstevr.o \
  16.137 -   sstevx.o ssycon.o ssyev.o  ssyevd.o ssyevr.o ssyevx.o ssygs2.o \
  16.138 -   ssygst.o ssygv.o  ssygvd.o ssygvx.o ssyrfs.o ssysv.o  ssysvx.o \
  16.139 -   ssytd2.o ssytf2.o ssytrd.o ssytrf.o ssytri.o ssytri2.o ssytri2x.o \
  16.140 -   ssyswapr.o ssytrs.o ssytrs2.o ssyconv.o stbcon.o \
  16.141 -   stbrfs.o stbtrs.o stgevc.o stgex2.o stgexc.o stgsen.o \
  16.142 -   stgsja.o stgsna.o stgsy2.o stgsyl.o stpcon.o stprfs.o stptri.o \
  16.143 -   stptrs.o \
  16.144 -   strcon.o strevc.o strexc.o strrfs.o strsen.o strsna.o strsyl.o \
  16.145 -   strti2.o strtri.o strtrs.o stzrqf.o stzrzf.o sstemr.o \
  16.146 -   slansf.o spftrf.o spftri.o spftrs.o ssfrk.o stfsm.o stftri.o stfttp.o \
  16.147 -   stfttr.o stpttf.o stpttr.o strttf.o strttp.o \
  16.148 -   sgejsv.o  sgesvj.o  sgsvj0.o  sgsvj1.o \
  16.149 -   sgeequb.o ssyequb.o spoequb.o sgbequb.o \
  16.150 -   sbbcsd.o slapmr.o sorbdb.o sorcsd.o
  16.151 -
  16.152 -DSLASRC = spotrs.o sgetrs.o spotrf.o sgetrf.o 
  16.153 -
  16.154 -SXLASRC = sgesvxx.o sgerfsx.o sla_gerfsx_extended.o sla_geamv.o		\
  16.155 -   sla_gercond.o sla_rpvgrw.o ssysvxx.o ssyrfsx.o			\
  16.156 -   sla_syrfsx_extended.o sla_syamv.o sla_syrcond.o sla_syrpvgrw.o	\
  16.157 -   sposvxx.o sporfsx.o sla_porfsx_extended.o sla_porcond.o		\
  16.158 -   sla_porpvgrw.o sgbsvxx.o sgbrfsx.o sla_gbrfsx_extended.o		\
  16.159 -   sla_gbamv.o sla_gbrcond.o sla_gbrpvgrw.o sla_lin_berr.o slarscl2.o	\
  16.160 -   slascl2.o sla_wwaddw.o
  16.161 -
  16.162 -CLASRC = \
  16.163 -   cbdsqr.o cgbbrd.o cgbcon.o cgbequ.o cgbrfs.o cgbsv.o  cgbsvx.o \
  16.164 -   cgbtf2.o cgbtrf.o cgbtrs.o cgebak.o cgebal.o cgebd2.o cgebrd.o \
  16.165 -   cgecon.o cgeequ.o cgees.o  cgeesx.o cgeev.o  cgeevx.o \
  16.166 -   cgegs.o  cgegv.o  cgehd2.o cgehrd.o cgelq2.o cgelqf.o \
  16.167 -   cgels.o  cgelsd.o cgelss.o cgelsx.o cgelsy.o cgeql2.o cgeqlf.o cgeqp3.o \
  16.168 -   cgeqpf.o cgeqr2.o cgeqr2p.o cgeqrf.o cgeqrfp.o cgerfs.o \
  16.169 -   cgerq2.o cgerqf.o cgesc2.o cgesdd.o cgesv.o  cgesvd.o  \
  16.170 -   cgesvx.o cgetc2.o cgetf2.o cgetri.o \
  16.171 -   cggbak.o cggbal.o cgges.o  cggesx.o cggev.o  cggevx.o cggglm.o \
  16.172 -   cgghrd.o cgglse.o cggqrf.o cggrqf.o \
  16.173 -   cggsvd.o cggsvp.o \
  16.174 -   cgtcon.o cgtrfs.o cgtsv.o  cgtsvx.o cgttrf.o cgttrs.o cgtts2.o chbev.o  \
  16.175 -   chbevd.o chbevx.o chbgst.o chbgv.o  chbgvd.o chbgvx.o chbtrd.o \
  16.176 -   checon.o cheev.o  cheevd.o cheevr.o cheevx.o chegs2.o chegst.o \
  16.177 -   chegv.o  chegvd.o chegvx.o cherfs.o chesv.o  chesvx.o chetd2.o \
  16.178 -   chetf2.o chetrd.o \
  16.179 -   chetrf.o chetri.o chetrs.o chetrs2.o chgeqz.o chpcon.o chpev.o  chpevd.o \
  16.180 -   chpevx.o chpgst.o chpgv.o  chpgvd.o chpgvx.o chprfs.o chpsv.o  \
  16.181 -   chpsvx.o \
  16.182 -   chptrd.o chptrf.o chptri.o chptrs.o chsein.o chseqr.o clabrd.o \
  16.183 -   clacgv.o clacon.o clacn2.o clacp2.o clacpy.o clacrm.o clacrt.o cladiv.o \
  16.184 -   claed0.o claed7.o claed8.o \
  16.185 -   claein.o claesy.o claev2.o clags2.o clagtm.o \
  16.186 -   clahef.o clahqr.o \
  16.187 -   clahrd.o clahr2.o claic1.o clals0.o clalsa.o clalsd.o clangb.o clange.o clangt.o \
  16.188 -   clanhb.o clanhe.o \
  16.189 -   clanhp.o clanhs.o clanht.o clansb.o clansp.o clansy.o clantb.o \
  16.190 -   clantp.o clantr.o clapll.o clapmt.o clarcm.o claqgb.o claqge.o \
  16.191 -   claqhb.o claqhe.o claqhp.o claqp2.o claqps.o claqsb.o \
  16.192 -   claqr0.o claqr1.o claqr2.o claqr3.o claqr4.o claqr5.o \
  16.193 -   claqsp.o claqsy.o clar1v.o clar2v.o ilaclr.o ilaclc.o \
  16.194 -   clarf.o  clarfb.o clarfg.o clarft.o clarfgp.o \
  16.195 -   clarfx.o clargv.o clarnv.o clarrv.o clartg.o clartv.o \
  16.196 -   clarz.o  clarzb.o clarzt.o clascl.o claset.o clasr.o  classq.o \
  16.197 -   claswp.o clasyf.o clatbs.o clatdf.o clatps.o clatrd.o clatrs.o clatrz.o \
  16.198 -   clatzm.o clauu2.o clauum.o cpbcon.o cpbequ.o cpbrfs.o cpbstf.o cpbsv.o  \
  16.199 -   cpbsvx.o cpbtf2.o cpbtrf.o cpbtrs.o cpocon.o cpoequ.o cporfs.o \
  16.200 -   cposv.o  cposvx.o cpotf2.o cpotri.o cpstrf.o cpstf2.o \
  16.201 -   cppcon.o cppequ.o cpprfs.o cppsv.o  cppsvx.o cpptrf.o cpptri.o cpptrs.o \
  16.202 -   cptcon.o cpteqr.o cptrfs.o cptsv.o  cptsvx.o cpttrf.o cpttrs.o cptts2.o \
  16.203 -   crot.o   cspcon.o cspmv.o  cspr.o   csprfs.o cspsv.o  \
  16.204 -   cspsvx.o csptrf.o csptri.o csptrs.o csrscl.o cstedc.o \
  16.205 -   cstegr.o cstein.o csteqr.o csycon.o csymv.o \
  16.206 -   csyr.o   csyrfs.o csysv.o  csysvx.o csytf2.o csytrf.o csytri.o csytri2.o csytri2x.o \
  16.207 -   csyswapr.o csytrs.o csytrs2.o csyconv.o ctbcon.o ctbrfs.o ctbtrs.o ctgevc.o ctgex2.o \
  16.208 -   ctgexc.o ctgsen.o ctgsja.o ctgsna.o ctgsy2.o ctgsyl.o ctpcon.o \
  16.209 -   ctprfs.o ctptri.o \
  16.210 -   ctptrs.o ctrcon.o ctrevc.o ctrexc.o ctrrfs.o ctrsen.o ctrsna.o \
  16.211 -   ctrsyl.o ctrti2.o ctrtri.o ctrtrs.o ctzrqf.o ctzrzf.o cung2l.o cung2r.o \
  16.212 -   cungbr.o cunghr.o cungl2.o cunglq.o cungql.o cungqr.o cungr2.o \
  16.213 -   cungrq.o cungtr.o cunm2l.o cunm2r.o cunmbr.o cunmhr.o cunml2.o \
  16.214 -   cunmlq.o cunmql.o cunmqr.o cunmr2.o cunmr3.o cunmrq.o cunmrz.o \
  16.215 -   cunmtr.o cupgtr.o cupmtr.o icmax1.o scsum1.o cstemr.o \
  16.216 -   chfrk.o ctfttp.o clanhf.o cpftrf.o cpftri.o cpftrs.o ctfsm.o ctftri.o \
  16.217 -   ctfttr.o ctpttf.o ctpttr.o ctrttf.o ctrttp.o \
  16.218 -   cgeequb.o cgbequb.o csyequb.o cpoequb.o cheequb.o \
  16.219 -   cbbcsd.o clapmr.o cunbdb.o cuncsd.o
  16.220 -
  16.221 -CXLASRC =    cgesvxx.o cgerfsx.o cla_gerfsx_extended.o cla_geamv.o \
  16.222 -   cla_gercond_c.o cla_gercond_x.o cla_rpvgrw.o \
  16.223 -   csysvxx.o csyrfsx.o cla_syrfsx_extended.o cla_syamv.o \
  16.224 -   cla_syrcond_c.o cla_syrcond_x.o cla_syrpvgrw.o \
  16.225 -   cposvxx.o cporfsx.o cla_porfsx_extended.o \
  16.226 -   cla_porcond_c.o cla_porcond_x.o cla_porpvgrw.o \
  16.227 -   cgbsvxx.o cgbrfsx.o cla_gbrfsx_extended.o cla_gbamv.o \
  16.228 -   cla_gbrcond_c.o cla_gbrcond_x.o cla_gbrpvgrw.o \
  16.229 -   chesvxx.o cherfsx.o cla_herfsx_extended.o cla_heamv.o \
  16.230 -   cla_hercond_c.o cla_hercond_x.o cla_herpvgrw.o \
  16.231 -   cla_lin_berr.o clarscl2.o clascl2.o cla_wwaddw.o
  16.232 -
  16.233 -ZCLASRC = cpotrs.o cgetrs.o cpotrf.o cgetrf.o 
  16.234 -
  16.235 -DLASRC = \
  16.236 -   dgbbrd.o dgbcon.o dgbequ.o dgbrfs.o dgbsv.o  \
  16.237 -   dgbsvx.o dgbtf2.o dgbtrf.o dgbtrs.o dgebak.o dgebal.o dgebd2.o \
  16.238 -   dgebrd.o dgecon.o dgeequ.o dgees.o  dgeesx.o dgeev.o  dgeevx.o \
  16.239 -   dgegs.o  dgegv.o  dgehd2.o dgehrd.o dgelq2.o dgelqf.o \
  16.240 -   dgels.o  dgelsd.o dgelss.o dgelsx.o dgelsy.o dgeql2.o dgeqlf.o \
  16.241 -   dgeqp3.o dgeqpf.o dgeqr2.o dgeqr2p.o dgeqrf.o dgeqrfp.o dgerfs.o \
  16.242 -   dgerq2.o dgerqf.o dgesc2.o dgesdd.o dgesv.o  dgesvd.o dgesvx.o  \
  16.243 -   dgetc2.o dgetf2.o dgetrf.o dgetri.o \
  16.244 -   dgetrs.o dggbak.o dggbal.o dgges.o  dggesx.o dggev.o  dggevx.o \
  16.245 -   dggglm.o dgghrd.o dgglse.o dggqrf.o \
  16.246 -   dggrqf.o dggsvd.o dggsvp.o dgtcon.o dgtrfs.o dgtsv.o  \
  16.247 -   dgtsvx.o dgttrf.o dgttrs.o dgtts2.o dhgeqz.o \
  16.248 -   dhsein.o dhseqr.o dlabrd.o dlacon.o dlacn2.o \
  16.249 -   dlaein.o dlaexc.o dlag2.o  dlags2.o dlagtm.o dlagv2.o dlahqr.o \
  16.250 -   dlahrd.o dlahr2.o dlaic1.o dlaln2.o dlals0.o dlalsa.o dlalsd.o \
  16.251 -   dlangb.o dlange.o dlangt.o dlanhs.o dlansb.o dlansp.o \
  16.252 -   dlansy.o dlantb.o dlantp.o dlantr.o dlanv2.o \
  16.253 -   dlapll.o dlapmt.o \
  16.254 -   dlaqgb.o dlaqge.o dlaqp2.o dlaqps.o dlaqsb.o dlaqsp.o dlaqsy.o \
  16.255 -   dlaqr0.o dlaqr1.o dlaqr2.o dlaqr3.o dlaqr4.o dlaqr5.o \
  16.256 -   dlaqtr.o dlar1v.o dlar2v.o iladlr.o iladlc.o \
  16.257 -   dlarf.o  dlarfb.o dlarfg.o dlarfgp.o dlarft.o dlarfx.o \
  16.258 -   dlargv.o dlarrv.o dlartv.o  \
  16.259 -   dlarz.o  dlarzb.o dlarzt.o dlaswp.o dlasy2.o dlasyf.o \
  16.260 -   dlatbs.o dlatdf.o dlatps.o dlatrd.o dlatrs.o dlatrz.o dlatzm.o dlauu2.o \
  16.261 -   dlauum.o dopgtr.o dopmtr.o dorg2l.o dorg2r.o \
  16.262 -   dorgbr.o dorghr.o dorgl2.o dorglq.o dorgql.o dorgqr.o dorgr2.o \
  16.263 -   dorgrq.o dorgtr.o dorm2l.o dorm2r.o \
  16.264 -   dormbr.o dormhr.o dorml2.o dormlq.o dormql.o dormqr.o dormr2.o \
  16.265 -   dormr3.o dormrq.o dormrz.o dormtr.o dpbcon.o dpbequ.o dpbrfs.o \
  16.266 -   dpbstf.o dpbsv.o  dpbsvx.o \
  16.267 -   dpbtf2.o dpbtrf.o dpbtrs.o dpocon.o dpoequ.o dporfs.o dposv.o  \
  16.268 -   dposvx.o dpotf2.o dpotrf.o dpotri.o dpotrs.o dpstrf.o dpstf2.o \
  16.269 -   dppcon.o dppequ.o \
  16.270 -   dpprfs.o dppsv.o  dppsvx.o dpptrf.o dpptri.o dpptrs.o dptcon.o \
  16.271 -   dpteqr.o dptrfs.o dptsv.o  dptsvx.o dpttrs.o dptts2.o drscl.o  \
  16.272 -   dsbev.o  dsbevd.o dsbevx.o dsbgst.o dsbgv.o  dsbgvd.o dsbgvx.o \
  16.273 -   dsbtrd.o  dspcon.o dspev.o  dspevd.o dspevx.o dspgst.o \
  16.274 -   dspgv.o  dspgvd.o dspgvx.o dsprfs.o dspsv.o  dspsvx.o dsptrd.o \
  16.275 -   dsptrf.o dsptri.o dsptrs.o dstegr.o dstein.o dstev.o  dstevd.o dstevr.o \
  16.276 -   dstevx.o dsycon.o dsyev.o  dsyevd.o dsyevr.o \
  16.277 -   dsyevx.o dsygs2.o dsygst.o dsygv.o  dsygvd.o dsygvx.o dsyrfs.o \
  16.278 -   dsysv.o  dsysvx.o \
  16.279 -   dsytd2.o dsytf2.o dsytrd.o dsytrf.o dsytri.o dsytri2.o dsytri2x.o \
  16.280 -   dsyswapr.o dsytrs.o dsytrs2.o dsyconv.o dtbcon.o \
  16.281 -   dtbrfs.o dtbtrs.o dtgevc.o dtgex2.o dtgexc.o dtgsen.o \
  16.282 -   dtgsja.o dtgsna.o dtgsy2.o dtgsyl.o dtpcon.o dtprfs.o dtptri.o \
  16.283 -   dtptrs.o \
  16.284 -   dtrcon.o dtrevc.o dtrexc.o dtrrfs.o dtrsen.o dtrsna.o dtrsyl.o \
  16.285 -   dtrti2.o dtrtri.o dtrtrs.o dtzrqf.o dtzrzf.o dstemr.o \
  16.286 -   dsgesv.o dsposv.o dlag2s.o slag2d.o dlat2s.o \
  16.287 -   dlansf.o dpftrf.o dpftri.o dpftrs.o dsfrk.o dtfsm.o dtftri.o dtfttp.o \
  16.288 -   dtfttr.o dtpttf.o dtpttr.o dtrttf.o dtrttp.o \
  16.289 -   dgejsv.o  dgesvj.o  dgsvj0.o  dgsvj1.o \
  16.290 -   dgeequb.o dsyequb.o dpoequb.o dgbequb.o \
  16.291 -   dbbcsd.o dlapmr.o dorbdb.o dorcsd.o
  16.292 -
  16.293 -DXLASRC = dgesvxx.o dgerfsx.o dla_gerfsx_extended.o dla_geamv.o		\
  16.294 -   dla_gercond.o dla_rpvgrw.o dsysvxx.o dsyrfsx.o			\
  16.295 -   dla_syrfsx_extended.o dla_syamv.o dla_syrcond.o dla_syrpvgrw.o	\
  16.296 -   dposvxx.o dporfsx.o dla_porfsx_extended.o dla_porcond.o		\
  16.297 -   dla_porpvgrw.o dgbsvxx.o dgbrfsx.o dla_gbrfsx_extended.o		\
  16.298 -   dla_gbamv.o dla_gbrcond.o dla_gbrpvgrw.o dla_lin_berr.o dlarscl2.o	\
  16.299 -   dlascl2.o dla_wwaddw.o
  16.300 -
  16.301 -ZLASRC = \
  16.302 -   zbdsqr.o zgbbrd.o zgbcon.o zgbequ.o zgbrfs.o zgbsv.o  zgbsvx.o \
  16.303 -   zgbtf2.o zgbtrf.o zgbtrs.o zgebak.o zgebal.o zgebd2.o zgebrd.o \
  16.304 -   zgecon.o zgeequ.o zgees.o  zgeesx.o zgeev.o  zgeevx.o \
  16.305 -   zgegs.o  zgegv.o  zgehd2.o zgehrd.o zgelq2.o zgelqf.o \
  16.306 -   zgels.o  zgelsd.o zgelss.o zgelsx.o zgelsy.o zgeql2.o zgeqlf.o zgeqp3.o \
  16.307 -   zgeqpf.o zgeqr2.o zgeqr2p.o zgeqrf.o zgeqrfp.o zgerfs.o zgerq2.o zgerqf.o \
  16.308 -   zgesc2.o zgesdd.o zgesv.o  zgesvd.o zgesvx.o zgetc2.o zgetf2.o zgetrf.o \
  16.309 -   zgetri.o zgetrs.o \
  16.310 -   zggbak.o zggbal.o zgges.o  zggesx.o zggev.o  zggevx.o zggglm.o \
  16.311 -   zgghrd.o zgglse.o zggqrf.o zggrqf.o \
  16.312 -   zggsvd.o zggsvp.o \
  16.313 -   zgtcon.o zgtrfs.o zgtsv.o  zgtsvx.o zgttrf.o zgttrs.o zgtts2.o zhbev.o  \
  16.314 -   zhbevd.o zhbevx.o zhbgst.o zhbgv.o  zhbgvd.o zhbgvx.o zhbtrd.o \
  16.315 -   zhecon.o zheev.o  zheevd.o zheevr.o zheevx.o zhegs2.o zhegst.o \
  16.316 -   zhegv.o  zhegvd.o zhegvx.o zherfs.o zhesv.o  zhesvx.o zhetd2.o \
  16.317 -   zhetf2.o zhetrd.o \
  16.318 -   zhetrf.o zhetri.o zhetrs.o zhetrs2.o zhgeqz.o zhpcon.o zhpev.o  zhpevd.o \
  16.319 -   zhpevx.o zhpgst.o zhpgv.o  zhpgvd.o zhpgvx.o zhprfs.o zhpsv.o  \
  16.320 -   zhpsvx.o \
  16.321 -   zhptrd.o zhptrf.o zhptri.o zhptrs.o zhsein.o zhseqr.o zlabrd.o \
  16.322 -   zlacgv.o zlacon.o zlacn2.o zlacp2.o zlacpy.o zlacrm.o zlacrt.o zladiv.o \
  16.323 -   zlaed0.o zlaed7.o zlaed8.o \
  16.324 -   zlaein.o zlaesy.o zlaev2.o zlags2.o zlagtm.o \
  16.325 -   zlahef.o zlahqr.o \
  16.326 -   zlahrd.o zlahr2.o zlaic1.o zlals0.o zlalsa.o zlalsd.o zlangb.o zlange.o \
  16.327 -   zlangt.o zlanhb.o \
  16.328 -   zlanhe.o \
  16.329 -   zlanhp.o zlanhs.o zlanht.o zlansb.o zlansp.o zlansy.o zlantb.o \
  16.330 -   zlantp.o zlantr.o zlapll.o zlapmt.o zlaqgb.o zlaqge.o \
  16.331 -   zlaqhb.o zlaqhe.o zlaqhp.o zlaqp2.o zlaqps.o zlaqsb.o \
  16.332 -   zlaqr0.o zlaqr1.o zlaqr2.o zlaqr3.o zlaqr4.o zlaqr5.o \
  16.333 -   zlaqsp.o zlaqsy.o zlar1v.o zlar2v.o ilazlr.o ilazlc.o \
  16.334 -   zlarcm.o zlarf.o  zlarfb.o \
  16.335 -   zlarfg.o zlarft.o zlarfgp.o \
  16.336 -   zlarfx.o zlargv.o zlarnv.o zlarrv.o zlartg.o zlartv.o \
  16.337 -   zlarz.o  zlarzb.o zlarzt.o zlascl.o zlaset.o zlasr.o  \
  16.338 -   zlassq.o zlaswp.o zlasyf.o \
  16.339 -   zlatbs.o zlatdf.o zlatps.o zlatrd.o zlatrs.o zlatrz.o zlatzm.o zlauu2.o \
  16.340 -   zlauum.o zpbcon.o zpbequ.o zpbrfs.o zpbstf.o zpbsv.o  \
  16.341 -   zpbsvx.o zpbtf2.o zpbtrf.o zpbtrs.o zpocon.o zpoequ.o zporfs.o \
  16.342 -   zposv.o  zposvx.o zpotf2.o zpotrf.o zpotri.o zpotrs.o zpstrf.o zpstf2.o \
  16.343 -   zppcon.o zppequ.o zpprfs.o zppsv.o  zppsvx.o zpptrf.o zpptri.o zpptrs.o \
  16.344 -   zptcon.o zpteqr.o zptrfs.o zptsv.o  zptsvx.o zpttrf.o zpttrs.o zptts2.o \
  16.345 -   zrot.o   zspcon.o zspmv.o  zspr.o   zsprfs.o zspsv.o  \
  16.346 -   zspsvx.o zsptrf.o zsptri.o zsptrs.o zdrscl.o zstedc.o \
  16.347 -   zstegr.o zstein.o zsteqr.o zsycon.o zsymv.o \
  16.348 -   zsyr.o   zsyrfs.o zsysv.o  zsysvx.o zsytf2.o zsytrf.o zsytri.o zsytri2.o zsytri2x.o \
  16.349 -   zsyswapr.o zsytrs.o zsytrs2.o zsyconv.o ztbcon.o ztbrfs.o ztbtrs.o ztgevc.o ztgex2.o \
  16.350 -   ztgexc.o ztgsen.o ztgsja.o ztgsna.o ztgsy2.o ztgsyl.o ztpcon.o \
  16.351 -   ztprfs.o ztptri.o \
  16.352 -   ztptrs.o ztrcon.o ztrevc.o ztrexc.o ztrrfs.o ztrsen.o ztrsna.o \
  16.353 -   ztrsyl.o ztrti2.o ztrtri.o ztrtrs.o ztzrqf.o ztzrzf.o zung2l.o \
  16.354 -   zung2r.o zungbr.o zunghr.o zungl2.o zunglq.o zungql.o zungqr.o zungr2.o \
  16.355 -   zungrq.o zungtr.o zunm2l.o zunm2r.o zunmbr.o zunmhr.o zunml2.o \
  16.356 -   zunmlq.o zunmql.o zunmqr.o zunmr2.o zunmr3.o zunmrq.o zunmrz.o \
  16.357 -   zunmtr.o zupgtr.o \
  16.358 -   zupmtr.o izmax1.o dzsum1.o zstemr.o \
  16.359 -   zcgesv.o zcposv.o zlag2c.o clag2z.o zlat2c.o \
  16.360 -   zhfrk.o ztfttp.o zlanhf.o zpftrf.o zpftri.o zpftrs.o ztfsm.o ztftri.o \
  16.361 -   ztfttr.o ztpttf.o ztpttr.o ztrttf.o ztrttp.o \
  16.362 -   zgeequb.o zgbequb.o zsyequb.o zpoequb.o zheequb.o \
  16.363 -   zbbcsd.o zlapmr.o zunbdb.o zuncsd.o
  16.364 -
  16.365 -ZXLASRC = zgesvxx.o zgerfsx.o zla_gerfsx_extended.o zla_geamv.o		\
  16.366 -   zla_gercond_c.o zla_gercond_x.o zla_rpvgrw.o zsysvxx.o zsyrfsx.o	\
  16.367 -   zla_syrfsx_extended.o zla_syamv.o zla_syrcond_c.o zla_syrcond_x.o	\
  16.368 -   zla_syrpvgrw.o zposvxx.o zporfsx.o zla_porfsx_extended.o		\
  16.369 -   zla_porcond_c.o zla_porcond_x.o zla_porpvgrw.o zgbsvxx.o zgbrfsx.o	\
  16.370 -   zla_gbrfsx_extended.o zla_gbamv.o zla_gbrcond_c.o zla_gbrcond_x.o	\
  16.371 -   zla_gbrpvgrw.o zhesvxx.o zherfsx.o zla_herfsx_extended.o		\
  16.372 -   zla_heamv.o zla_hercond_c.o zla_hercond_x.o zla_herpvgrw.o		\
  16.373 -   zla_lin_berr.o zlarscl2.o zlascl2.o zla_wwaddw.o
  16.374 -
  16.375 -all: ../$(LAPACKLIB)
  16.376 -
  16.377 -ifdef USEXBLAS
  16.378 -ALLXOBJ=$(SXLASRC) $(DXLASRC) $(CXLASRC) $(ZXLASRC) $(ALLXAUX)
  16.379 -endif
  16.380 -
  16.381 -ALLOBJ=$(SLASRC) $(DLASRC) $(DSLASRC) $(CLASRC) $(ZLASRC) $(ZCLASRC) \
  16.382 -	   $(SCLAUX) $(DZLAUX) $(ALLAUX)
  16.383 -
  16.384 -clean:
  16.385 -	rm -f *.o liblapack*
  16.386 -
  16.387 -static: $(ALLOBJ) $(ALLXOBJ)
  16.388 -	ar ruv liblapack.a $(ALLOBJ)
  16.389 -	ranlib liblapack.a
  16.390 -
  16.391 -shared: $(ALLOBJ) $(ALLXOBJ)
  16.392 -	cc $(CFLAGS) -shared -Wl,-soname,liblapack.so.3 -o liblapack.so.3.4.0 $(ALLOBJ) -L.. -lblas -lm -lgfortran -lc
  16.393 -
    17.1 --- a/lapack/stuff/lapack-3.1.1-make.inc.patch	Sat Aug 05 15:17:06 2017 +0300
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,23 +0,0 @@
    17.4 ---- lapack-3.1.1/INSTALL/make.inc.gfortran.BAD	2007-05-25 15:34:55.000000000 -0500
    17.5 -+++ lapack-3.1.1/INSTALL/make.inc.gfortran	2007-05-25 15:35:51.000000000 -0500
    17.6 -@@ -8,7 +8,7 @@ SHELL = /bin/sh
    17.7 - #
    17.8 - #  The machine (platform) identifier to append to the library names
    17.9 - #
   17.10 --PLAT = _LINUX
   17.11 -+PLAT = 
   17.12 - #  
   17.13 - #  Modify the FORTRAN and OPTS definitions to refer to the
   17.14 - #  compiler and desired compiler options for your machine.  NOOPT
   17.15 -@@ -17,9 +17,9 @@ PLAT = _LINUX
   17.16 - #  desired load options for your machine.
   17.17 - #
   17.18 - FORTRAN  = gfortran 
   17.19 --OPTS     = -O2
   17.20 -+#OPTS     = -O2
   17.21 - DRVOPTS  = $(OPTS)
   17.22 --NOOPT    = -O0
   17.23 -+NOOPT    = 
   17.24 - LOADER   = gfortran
   17.25 - LOADOPTS =
   17.26 - #
    18.1 --- a/musl-libc-dev/receipt	Sat Aug 05 15:17:06 2017 +0300
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,27 +0,0 @@
    18.4 -# SliTaz package receipt.
    18.5 -
    18.6 -PACKAGE="musl-libc-dev"
    18.7 -VERSION="1.1.14"
    18.8 -CATEGORY="development"
    18.9 -SHORT_DESC="A lightweight, fast, simple, free libc. Development files."
   18.10 -MAINTAINER="pascal.bellard@slitaz.org"
   18.11 -LICENSE="MIT"
   18.12 -WEB_SITE="http://www.musl-libc.org/"
   18.13 -WANTED="musl-libc"
   18.14 -
   18.15 -DEPENDS="musl-libc"
   18.16 -
   18.17 -# Rules to gen a SliTaz package suitable for Tazpkg.   
   18.18 -genpkg_rules()                                      
   18.19 -{
   18.20 -	mkdir -p $fs/usr/bin $fs/usr/share/musl/lib $fs/etc
   18.21 -	cp -a $install/usr/share/musl/include  $fs/usr/share/musl
   18.22 -	cp -a $install/usr/share/musl/lib/*.a  $fs/usr/share/musl/lib
   18.23 -	cp -a $install/usr/share/musl/lib/*.o  $fs/usr/share/musl/lib
   18.24 -	cp -a $install/usr/share/musl/lib/*.specs  $fs/usr/share/musl/lib
   18.25 -	cp -a $install/usr/share/musl/bin  $fs/usr/share/musl
   18.26 -	ln -s /usr/share/musl/bin/musl-gcc $fs/usr/bin
   18.27 -	for i in linux asm asm-generic ; do
   18.28 -		ln -s /usr/include/$i $fs/usr/share/musl/include/$i
   18.29 -	done
   18.30 -}
    19.1 --- a/musl-libc/receipt	Sat Aug 05 15:17:06 2017 +0300
    19.2 +++ b/musl-libc/receipt	Fri Aug 11 04:54:37 2017 +0300
    19.3 @@ -1,35 +1,59 @@
    19.4 -# SliTaz package receipt.
    19.5 +# SliTaz package receipt v2.
    19.6  
    19.7  PACKAGE="musl-libc"
    19.8 -SOURCE="musl"
    19.9 -VERSION="1.1.14"
   19.10 +VERSION="1.1.16"
   19.11  CATEGORY="development"
   19.12 -SHORT_DESC="A lightweight, fast, simple, free libc."
   19.13 +SHORT_DESC="Lightweight implementation of the standard C library"
   19.14  MAINTAINER="pascal.bellard@slitaz.org"
   19.15  LICENSE="MIT"
   19.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
   19.17 -WEB_SITE="http://www.musl-libc.org/"
   19.18 -WGET_URL="${WEB_SITE}releases/$TARBALL"
   19.19 -TARGET="i386"
   19.20 +WEB_SITE="https://www.musl-libc.org/"
   19.21 +HOST_ARCH="i486 x86_64 arm"
   19.22  
   19.23 -DEPENDS=""
   19.24 -BUILD_DEPENDS=""
   19.25 +TARBALL="musl-$VERSION.tar.gz"
   19.26 +WGET_URL="https://www.musl-libc.org/releases/$TARBALL"
   19.27 +
   19.28 +SPLIT="musl-libc-dev"
   19.29  
   19.30  # Rules to configure and make the package.
   19.31  compile_rules()
   19.32  {
   19.33 -	./configure --prefix=/usr/share/musl --exec-prefix=/usr/share/musl \
   19.34 -		--target=$TARGET $CONFIGURE_ARGS
   19.35 +	case $ARCH in
   19.36 +		i*86)   TARGET='i386';;
   19.37 +		x86_64) TARGET='x86_64';;
   19.38 +		arm*)   TARGET='ARM';;
   19.39 +	esac
   19.40 +	PREFIX='/usr/lib/musl'
   19.41 +
   19.42 +	./configure \
   19.43 +		--prefix=$PREFIX \
   19.44 +		--exec-prefix=/usr \
   19.45 +		--target=$TARGET \
   19.46 +		$CONFIGURE_ARGS &&
   19.47  	make &&
   19.48 -	make $DESTDIR=$DESTDIR install
   19.49 +	make $DESTDIR=$DESTDIR install || exit 1
   19.50 +
   19.51 +	mkdir -p $install/etc
   19.52 +	echo "$PREFIX/lib" > $install/etc/ld-musl-$TARGET.path
   19.53 +
   19.54 +	for i in linux asm asm-generic; do
   19.55 +		ln -s /usr/include/$i $install$PREFIX/include/$i
   19.56 +	done
   19.57 +
   19.58 +	docdir=$install/usr/share/doc/$PACKAGE-$VERSION
   19.59 +	mkdir -p $docdir
   19.60 +	cp README $docdir
   19.61  }
   19.62  
   19.63 -# Rules to gen a SliTaz package suitable for Tazpkg.   
   19.64 -genpkg_rules()                                      
   19.65 +# Rules to gen a SliTaz package suitable for Tazpkg.
   19.66 +genpkg_rules()
   19.67  {
   19.68 -	mkdir -p $fs/usr/share/musl/lib $fs/etc $fs/bin
   19.69 -	cp -a $install/lib $fs
   19.70 -	cp -a $fs/lib/* $fs/bin/ldd-musl
   19.71 -	cp -a $install/usr/share/musl/lib/*.so  $fs/usr/share/musl/lib
   19.72 -	echo "/usr/share/musl/lib" > $fs/etc/ld-musl-$TARGET.path
   19.73 +	case $PACKAGE in
   19.74 +		musl-libc)
   19.75 +			copy etc/ *.so*
   19.76 +			;;
   19.77 +		*-dev)
   19.78 +			copy @dev @std
   19.79 +			remove_already_packed
   19.80 +			;;
   19.81 +	esac
   19.82  }
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/musl-libc/stuff/patches/include.patch	Fri Aug 11 04:54:37 2017 +0300
    20.3 @@ -0,0 +1,15 @@
    20.4 +--- a/tools/musl-gcc.specs.sh
    20.5 ++++ b/tools/musl-gcc.specs.sh
    20.6 +@@ -5,10 +5,10 @@
    20.7 + %rename cpp_options old_cpp_options
    20.8 + 
    20.9 + *cpp_options:
   20.10 +--nostdinc -isystem $incdir -isystem include%s %(old_cpp_options)
   20.11 ++-nostdinc -isystem $incdir -isystem /usr/include -isystem include%s %(old_cpp_options)
   20.12 + 
   20.13 + *cc1:
   20.14 +-%(cc1_cpu) -nostdinc -isystem $incdir -isystem include%s
   20.15 ++%(cc1_cpu) -nostdinc -isystem $incdir -isystem /usr/include -isystem include%s
   20.16 + 
   20.17 + *link_libgcc:
   20.18 + -L$libdir -L .%s
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/musl-libc/stuff/patches/series	Fri Aug 11 04:54:37 2017 +0300
    21.3 @@ -0,0 +1,1 @@
    21.4 +include.patch
    22.1 --- a/nss-dev/receipt	Sat Aug 05 15:17:06 2017 +0300
    22.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.3 @@ -1,22 +0,0 @@
    22.4 -# SliTaz package receipt.
    22.5 -
    22.6 -PACKAGE="nss-dev"
    22.7 -VERSION="3.17.4"
    22.8 -CATEGORY="development"
    22.9 -SHORT_DESC="nss devel library."
   22.10 -MAINTAINER="rocky@slitaz.org"
   22.11 -LICENSE="MPL"
   22.12 -WANTED="nss"
   22.13 -WEB_SITE="http://www.mozilla.org/projects/security/pki/nss/"
   22.14 -
   22.15 -DEPENDS="nss nspr-dev pkg-config"
   22.16 -
   22.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   22.18 -genpkg_rules()
   22.19 -{
   22.20 -    mkdir -p $fs/usr/bin $fs/usr/lib
   22.21 -    cp -a $install/usr/bin/nss-config $fs/usr/bin
   22.22 -    cp -a $install/usr/include $fs/usr
   22.23 -    cp -a $install/usr/lib/*.*a $fs/usr/lib
   22.24 -    cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   22.25 -}
    23.1 --- a/nss/receipt	Sat Aug 05 15:17:06 2017 +0300
    23.2 +++ b/nss/receipt	Fri Aug 11 04:54:37 2017 +0300
    23.3 @@ -1,51 +1,67 @@
    23.4 -# SliTaz package receipt.
    23.5 +# SliTaz package receipt v2.
    23.6  
    23.7  PACKAGE="nss"
    23.8 -VERSION="3.17.4"
    23.9 +VERSION="3.29"
   23.10  CATEGORY="utilities"
   23.11 -SHORT_DESC="Mozilla Network Security Services (NSS)."
   23.12 +SHORT_DESC="Mozilla Network Security Services (NSS)"
   23.13  MAINTAINER="rocky@slitaz.org"
   23.14  LICENSE="MPL"
   23.15 +WEB_SITE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
   23.16 +
   23.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
   23.18 -WEB_SITE="http://www.mozilla.org/projects/security/pki/nss/"
   23.19  WGET_URL="http://ftp.mozilla.org/pub/security/nss/releases/NSS_${VERSION//./_}_RTM/src/${TARBALL}"
   23.20  
   23.21 -DEPENDS="nspr sqlite zlib"
   23.22 -BUILD_DEPENDS="nspr-dev sqlite-dev zlib-dev perl pkg-config"
   23.23 +BUILD_DEPENDS="nspr-dev sqlite3-dev zlib-dev perl"
   23.24 +SPLIT="nss-dev"
   23.25  
   23.26  # Rules to configure and make the package.
   23.27  compile_rules()
   23.28  {
   23.29 -    cd $src
   23.30 -	patch -Np1 -i $stuff/nss-3.17.4-standalone-1.patch &&
   23.31 +	# http://www.linuxfromscratch.org/blfs/view/stable/postlfs/nss.html
   23.32  	cd nss &&
   23.33 -	make -j1 nss_build_all BUILD_OPT=1 \
   23.34 +	make \
   23.35 +		-j1 \
   23.36 +		BUILD_OPT=1 \
   23.37  		NSPR_INCLUDE_DIR=/usr/include/nspr \
   23.38  		USE_SYSTEM_ZLIB=1 \
   23.39  		ZLIB_LIBS=-lz \
   23.40 -		$([ $(uname -m) = x86_64 ] && echo USE_64=1) \
   23.41 +		$([ $(uname -m) == x86_64 ] && echo USE_64=1) \
   23.42  		$([ -f /usr/include/sqlite3.h ] && echo NSS_USE_SYSTEM_SQLITE=1) &&
   23.43 -	mkdir -p $install/usr/lib $install/usr/include/nss			&&
   23.44 -	mkdir -p $install/usr/bin $install/usr/lib/pkgconfig		&&
   23.45 -	cd ../dist												&&
   23.46 -	install -v -m755 Linux*/lib/*.so $install/usr/lib			&&
   23.47 -	install -v -m644 Linux*/lib/*.chk $install/usr/lib			&&
   23.48 -	install -v -m644 Linux*/lib/libcrmf.a $install/usr/lib		&&
   23.49 -	install -v -m755 -d $install/usr/include/nss				&&
   23.50 -	cp -v -RL public/nss/* $install/usr/include/nss				&&
   23.51 -	cp -v -RL private/nss/* $install/usr/include/nss			&&
   23.52 -	chmod 644 $install/usr/include/nss/*						&&
   23.53 -	install -v -m755 Linux*/bin/certutil $install/usr/bin		&&
   23.54 -	install -v -m755 Linux*/bin/nss-config $install/usr/bin		&&
   23.55 -	install -v -m755 Linux*/bin/pk12util $install/usr/bin		&&
   23.56 -	install -v -m644 Linux*/lib/pkgconfig/nss.pc $install/usr/lib/pkgconfig
   23.57 +
   23.58 +	mkdir -p \
   23.59 +		$install/usr/lib \
   23.60 +		$install/usr/include/nss \
   23.61 +		$install/usr/bin \
   23.62 +		$install/usr/lib/pkgconfig \
   23.63 +		$install/usr/include/nss &&
   23.64 +	cd ../dist &&
   23.65 +
   23.66 +	install -vm755 Linux*/lib/*.so             $install/usr/lib &&
   23.67 +	install -vm644 Linux*/lib/*.chk            $install/usr/lib &&
   23.68 +	install -vm644 Linux*/lib/libcrmf.a        $install/usr/lib &&
   23.69 +
   23.70 +	cp -vRL public/nss/*                       $install/usr/include/nss &&
   23.71 +	cp -vRL private/nss/*                      $install/usr/include/nss &&
   23.72 +	chmod -v 644                               $install/usr/include/nss/* &&
   23.73 +
   23.74 +	install -vm755 Linux*/bin/certutil         $install/usr/bin &&
   23.75 +	install -vm755 Linux*/bin/nss-config       $install/usr/bin &&
   23.76 +	install -vm755 Linux*/bin/pk12util         $install/usr/bin &&
   23.77 +
   23.78 +	install -vm644 Linux*/lib/pkgconfig/nss.pc $install/usr/lib/pkgconfig
   23.79  }
   23.80  
   23.81  # Rules to gen a SliTaz package suitable for Tazpkg.
   23.82  genpkg_rules()
   23.83  {
   23.84 -    mkdir -p $fs/usr/lib
   23.85 -    cp -a $install/usr/bin $fs/usr
   23.86 -    cp -a $install/usr/lib/*.so* $fs/usr/lib
   23.87 -    rm $fs/usr/bin/nss-config
   23.88 +	case $PACKAGE in
   23.89 +		nss)
   23.90 +			copy @std
   23.91 +			DEPENDS="libsqlite3 nspr zlib"
   23.92 +			;;
   23.93 +		*-dev)
   23.94 +			copy @dev
   23.95 +			DEPENDS="nss nspr-dev"
   23.96 +			;;
   23.97 +	esac
   23.98  }
    24.1 --- a/nss/stuff/nss-3.14.1-standalone-1.patch	Sat Aug 05 15:17:06 2017 +0300
    24.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.3 @@ -1,243 +0,0 @@
    24.4 -Submitted By:            Armin K. <krejzi at email dot com>
    24.5 -Date:                    2012-12-31
    24.6 -Initial Package Version: 3.14.1
    24.7 -Upstream Status:         Not applicable
    24.8 -Origin:                  Based on dj's original patch, rediffed for 3.14.1
    24.9 -Description:             Adds auto-generated nss.pc and nss-config script, and allows
   24.10 -                         building without nspr in the source tree.
   24.11 -
   24.12 ---- nss.orig/mozilla/security/nss/config/Makefile	1970-01-01 01:00:00.000000000 +0100
   24.13 -+++ nss/mozilla/security/nss/config/Makefile	2012-12-31 13:27:51.694572567 +0100
   24.14 -@@ -0,0 +1,40 @@
   24.15 -+CORE_DEPTH = ../..
   24.16 -+DEPTH      = ../..
   24.17 -+
   24.18 -+include $(CORE_DEPTH)/coreconf/config.mk
   24.19 -+
   24.20 -+NSS_MAJOR_VERSION = `grep "NSS_VMAJOR" ../lib/nss/nss.h | awk '{print $$3}'`
   24.21 -+NSS_MINOR_VERSION = `grep "NSS_VMINOR" ../lib/nss/nss.h | awk '{print $$3}'`
   24.22 -+NSS_PATCH_VERSION = `grep "NSS_VPATCH" ../lib/nss/nss.h | awk '{print $$3}'`
   24.23 -+PREFIX = /usr
   24.24 -+
   24.25 -+all: export libs
   24.26 -+
   24.27 -+export:
   24.28 -+	# Create the nss.pc file
   24.29 -+	mkdir -p $(DIST)/lib/pkgconfig
   24.30 -+	sed -e "s,@prefix@,$(PREFIX)," \
   24.31 -+	    -e "s,@exec_prefix@,\$${prefix}," \
   24.32 -+	    -e "s,@libdir@,\$${prefix}/lib," \
   24.33 -+	    -e "s,@includedir@,\$${prefix}/include/nss," \
   24.34 -+	    -e "s,@NSS_MAJOR_VERSION@,$(NSS_MAJOR_VERSION),g" \
   24.35 -+	    -e "s,@NSS_MINOR_VERSION@,$(NSS_MINOR_VERSION)," \
   24.36 -+	    -e "s,@NSS_PATCH_VERSION@,$(NSS_PATCH_VERSION)," \
   24.37 -+	    nss.pc.in > nss.pc
   24.38 -+	chmod 0644 nss.pc
   24.39 -+	ln -sf ../../../../security/nss/config/nss.pc $(DIST)/lib/pkgconfig
   24.40 -+
   24.41 -+	# Create the nss-config script
   24.42 -+	mkdir -p $(DIST)/bin
   24.43 -+	sed -e "s,@prefix@,$(PREFIX)," \
   24.44 -+	    -e "s,@NSS_MAJOR_VERSION@,$(NSS_MAJOR_VERSION)," \
   24.45 -+	    -e "s,@NSS_MINOR_VERSION@,$(NSS_MINOR_VERSION)," \
   24.46 -+	    -e "s,@NSS_PATCH_VERSION@,$(NSS_PATCH_VERSION)," \
   24.47 -+	    nss-config.in > nss-config
   24.48 -+	chmod 0755 nss-config
   24.49 -+	ln -sf ../../../security/nss/config/nss-config $(DIST)/bin
   24.50 -+
   24.51 -+libs:
   24.52 -+
   24.53 -+dummy: all export libs
   24.54 -+
   24.55 ---- nss.orig/mozilla/security/nss/config/nss-config.in	1970-01-01 01:00:00.000000000 +0100
   24.56 -+++ nss/mozilla/security/nss/config/nss-config.in	2012-12-31 13:27:51.695572567 +0100
   24.57 -@@ -0,0 +1,153 @@
   24.58 -+#!/bin/sh
   24.59 -+
   24.60 -+prefix=@prefix@
   24.61 -+
   24.62 -+major_version=@NSS_MAJOR_VERSION@
   24.63 -+minor_version=@NSS_MINOR_VERSION@
   24.64 -+patch_version=@NSS_PATCH_VERSION@
   24.65 -+
   24.66 -+usage()
   24.67 -+{
   24.68 -+	cat <<EOF
   24.69 -+Usage: nss-config [OPTIONS] [LIBRARIES]
   24.70 -+Options:
   24.71 -+	[--prefix[=DIR]]
   24.72 -+	[--exec-prefix[=DIR]]
   24.73 -+	[--includedir[=DIR]]
   24.74 -+	[--libdir[=DIR]]
   24.75 -+	[--version]
   24.76 -+	[--libs]
   24.77 -+	[--cflags]
   24.78 -+Dynamic Libraries:
   24.79 -+	nss
   24.80 -+	nssutil
   24.81 -+	smime
   24.82 -+	ssl
   24.83 -+	softokn
   24.84 -+EOF
   24.85 -+	exit $1
   24.86 -+}
   24.87 -+
   24.88 -+if test $# -eq 0; then
   24.89 -+	usage 1 1>&2
   24.90 -+fi
   24.91 -+
   24.92 -+lib_nss=yes
   24.93 -+lib_nssutil=yes
   24.94 -+lib_smime=yes
   24.95 -+lib_ssl=yes
   24.96 -+lib_softokn=yes
   24.97 -+
   24.98 -+while test $# -gt 0; do
   24.99 -+  case "$1" in
  24.100 -+  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  24.101 -+  *) optarg= ;;
  24.102 -+  esac
  24.103 -+
  24.104 -+  case $1 in
  24.105 -+    --prefix=*)
  24.106 -+      prefix=$optarg
  24.107 -+      ;;
  24.108 -+    --prefix)
  24.109 -+      echo_prefix=yes
  24.110 -+      ;;
  24.111 -+    --exec-prefix=*)
  24.112 -+      exec_prefix=$optarg
  24.113 -+      ;;
  24.114 -+    --exec-prefix)
  24.115 -+      echo_exec_prefix=yes
  24.116 -+      ;;
  24.117 -+    --includedir=*)
  24.118 -+      includedir=$optarg
  24.119 -+      ;;
  24.120 -+    --includedir)
  24.121 -+      echo_includedir=yes
  24.122 -+      ;;
  24.123 -+    --libdir=*)
  24.124 -+      libdir=$optarg
  24.125 -+      ;;
  24.126 -+    --libdir)
  24.127 -+      echo_libdir=yes
  24.128 -+      ;;
  24.129 -+    --version)
  24.130 -+      echo ${major_version}.${minor_version}.${patch_version}
  24.131 -+      ;;
  24.132 -+    --cflags)
  24.133 -+      echo_cflags=yes
  24.134 -+      ;;
  24.135 -+    --libs)
  24.136 -+      echo_libs=yes
  24.137 -+      ;;
  24.138 -+    nss)
  24.139 -+      lib_nss=yes
  24.140 -+      ;;
  24.141 -+    nssutil)
  24.142 -+      lib_nssutil=yes
  24.143 -+      ;;
  24.144 -+    smime)
  24.145 -+      lib_smime=yes
  24.146 -+      ;;
  24.147 -+    ssl)
  24.148 -+      lib_ssl=yes
  24.149 -+      ;;
  24.150 -+    softokn)
  24.151 -+      lib_softokn=yes
  24.152 -+      ;;
  24.153 -+    *)
  24.154 -+      usage 1 1>&2
  24.155 -+      ;;
  24.156 -+  esac
  24.157 -+  shift
  24.158 -+done
  24.159 -+
  24.160 -+# Set variables that may be dependent upon other variables
  24.161 -+if test -z "$exec_prefix"; then
  24.162 -+    exec_prefix=`pkg-config --variable=exec_prefix nss`
  24.163 -+fi
  24.164 -+if test -z "$includedir"; then
  24.165 -+    includedir=`pkg-config --variable=includedir nss`
  24.166 -+fi
  24.167 -+if test -z "$libdir"; then
  24.168 -+    libdir=`pkg-config --variable=libdir nss`
  24.169 -+fi
  24.170 -+
  24.171 -+if test "$echo_prefix" = "yes"; then
  24.172 -+    echo $prefix
  24.173 -+fi
  24.174 -+
  24.175 -+if test "$echo_exec_prefix" = "yes"; then
  24.176 -+    echo $exec_prefix
  24.177 -+fi
  24.178 -+
  24.179 -+if test "$echo_includedir" = "yes"; then
  24.180 -+    echo $includedir
  24.181 -+fi
  24.182 -+
  24.183 -+if test "$echo_libdir" = "yes"; then
  24.184 -+    echo $libdir
  24.185 -+fi
  24.186 -+
  24.187 -+if test "$echo_cflags" = "yes"; then
  24.188 -+    echo -I$includedir
  24.189 -+fi
  24.190 -+
  24.191 -+if test "$echo_libs" = "yes"; then
  24.192 -+      libdirs="-L$libdir"
  24.193 -+      if test -n "$lib_nss"; then
  24.194 -+	libdirs="$libdirs -lnss${major_version}"
  24.195 -+      fi
  24.196 -+      if test -n "$lib_nssutil"; then
  24.197 -+        libdirs="$libdirs -lnssutil${major_version}"
  24.198 -+      fi
  24.199 -+      if test -n "$lib_smime"; then
  24.200 -+	libdirs="$libdirs -lsmime${major_version}"
  24.201 -+      fi
  24.202 -+      if test -n "$lib_ssl"; then
  24.203 -+	libdirs="$libdirs -lssl${major_version}"
  24.204 -+      fi
  24.205 -+      if test -n "$lib_softokn"; then
  24.206 -+        libdirs="$libdirs -lsoftokn${major_version}"
  24.207 -+      fi
  24.208 -+      echo $libdirs
  24.209 -+fi      
  24.210 -+
  24.211 ---- nss.orig/mozilla/security/nss/config/nss.pc.in	1970-01-01 01:00:00.000000000 +0100
  24.212 -+++ nss/mozilla/security/nss/config/nss.pc.in	2012-12-31 13:27:51.695572567 +0100
  24.213 -@@ -0,0 +1,12 @@
  24.214 -+prefix=@prefix@
  24.215 -+exec_prefix=@exec_prefix@
  24.216 -+libdir=@libdir@
  24.217 -+includedir=@includedir@
  24.218 -+
  24.219 -+Name: NSS
  24.220 -+Description: Network Security Services
  24.221 -+Version: @NSS_MAJOR_VERSION@.@NSS_MINOR_VERSION@.@NSS_PATCH_VERSION@
  24.222 -+Requires: nspr >= 4.8
  24.223 -+Libs: -L@libdir@ -lnss@NSS_MAJOR_VERSION@ -lnssutil@NSS_MAJOR_VERSION@ -lsmime@NSS_MAJOR_VERSION@ -lssl@NSS_MAJOR_VERSION@ -lsoftokn@NSS_MAJOR_VERSION@
  24.224 -+Cflags: -I${includedir}
  24.225 -+
  24.226 ---- nss.orig/mozilla/security/nss/Makefile	2012-11-14 02:14:07.000000000 +0100
  24.227 -+++ nss/mozilla/security/nss/Makefile	2012-12-31 13:27:51.696572567 +0100
  24.228 -@@ -44,7 +44,7 @@
  24.229 - # (7) Execute "local" rules. (OPTIONAL).                              #
  24.230 - #######################################################################
  24.231 - 
  24.232 --nss_build_all: build_coreconf build_nspr build_dbm all
  24.233 -+nss_build_all: build_coreconf build_dbm all
  24.234 - 
  24.235 - nss_clean_all: clobber_coreconf clobber_nspr clobber_dbm clobber
  24.236 - 
  24.237 ---- nss.orig/mozilla/security/nss/manifest.mn	2012-03-20 15:46:49.000000000 +0100
  24.238 -+++ nss/mozilla/security/nss/manifest.mn	2012-12-31 13:27:51.696572567 +0100
  24.239 -@@ -10,6 +10,6 @@
  24.240 - 
  24.241 - RELEASE = nss
  24.242 - 
  24.243 --DIRS = lib cmd
  24.244 -+DIRS = lib cmd config
  24.245 - 
  24.246 - 
    25.1 --- a/nss/stuff/nss-3.17.4-standalone-1.patch	Sat Aug 05 15:17:06 2017 +0300
    25.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.3 @@ -1,245 +0,0 @@
    25.4 -Submitted By:            Armin K. <krejzi at email dot com>
    25.5 -Date:                    2014-09-26
    25.6 -Initial Package Version: 3.15
    25.7 -Comment:                 Modified manifest.mn diff (Fernando)
    25.8 -Upstream Status:         Not applicable
    25.9 -Origin:                  Based on dj's original patch, rediffed and modified for 3.15
   25.10 -Description:             Adds auto-generated nss.pc and nss-config script, and allows
   25.11 -                         building without nspr in the source tree.
   25.12 -
   25.13 ---- a/nss/config/Makefile	1970-01-01 01:00:00.000000000 +0100
   25.14 -+++ b/nss/config/Makefile	2013-07-02 14:53:56.684750636 +0200
   25.15 -@@ -0,0 +1,40 @@
   25.16 -+CORE_DEPTH = ..
   25.17 -+DEPTH      = ..
   25.18 -+
   25.19 -+include $(CORE_DEPTH)/coreconf/config.mk
   25.20 -+
   25.21 -+NSS_MAJOR_VERSION = `grep "NSS_VMAJOR" ../lib/nss/nss.h | awk '{print $$3}'`
   25.22 -+NSS_MINOR_VERSION = `grep "NSS_VMINOR" ../lib/nss/nss.h | awk '{print $$3}'`
   25.23 -+NSS_PATCH_VERSION = `grep "NSS_VPATCH" ../lib/nss/nss.h | awk '{print $$3}'`
   25.24 -+PREFIX = /usr
   25.25 -+
   25.26 -+all: export libs
   25.27 -+
   25.28 -+export:
   25.29 -+	# Create the nss.pc file
   25.30 -+	mkdir -p $(DIST)/lib/pkgconfig
   25.31 -+	sed -e "s,@prefix@,$(PREFIX)," \
   25.32 -+	    -e "s,@exec_prefix@,\$${prefix}," \
   25.33 -+	    -e "s,@libdir@,\$${prefix}/lib," \
   25.34 -+	    -e "s,@includedir@,\$${prefix}/include/nss," \
   25.35 -+	    -e "s,@NSS_MAJOR_VERSION@,$(NSS_MAJOR_VERSION),g" \
   25.36 -+	    -e "s,@NSS_MINOR_VERSION@,$(NSS_MINOR_VERSION)," \
   25.37 -+	    -e "s,@NSS_PATCH_VERSION@,$(NSS_PATCH_VERSION)," \
   25.38 -+	    nss.pc.in > nss.pc
   25.39 -+	chmod 0644 nss.pc
   25.40 -+	ln -sf ../../../../nss/config/nss.pc $(DIST)/lib/pkgconfig
   25.41 -+
   25.42 -+	# Create the nss-config script
   25.43 -+	mkdir -p $(DIST)/bin
   25.44 -+	sed -e "s,@prefix@,$(PREFIX)," \
   25.45 -+	    -e "s,@NSS_MAJOR_VERSION@,$(NSS_MAJOR_VERSION)," \
   25.46 -+	    -e "s,@NSS_MINOR_VERSION@,$(NSS_MINOR_VERSION)," \
   25.47 -+	    -e "s,@NSS_PATCH_VERSION@,$(NSS_PATCH_VERSION)," \
   25.48 -+	    nss-config.in > nss-config
   25.49 -+	chmod 0755 nss-config
   25.50 -+	ln -sf ../../../nss/config/nss-config $(DIST)/bin
   25.51 -+
   25.52 -+libs:
   25.53 -+
   25.54 -+dummy: all export libs
   25.55 -+
   25.56 ---- a/nss/config/nss-config.in	1970-01-01 01:00:00.000000000 +0100
   25.57 -+++ b/nss/config/nss-config.in	2013-07-02 14:52:58.328084334 +0200
   25.58 -@@ -0,0 +1,153 @@
   25.59 -+#!/bin/sh
   25.60 -+
   25.61 -+prefix=@prefix@
   25.62 -+
   25.63 -+major_version=@NSS_MAJOR_VERSION@
   25.64 -+minor_version=@NSS_MINOR_VERSION@
   25.65 -+patch_version=@NSS_PATCH_VERSION@
   25.66 -+
   25.67 -+usage()
   25.68 -+{
   25.69 -+	cat <<EOF
   25.70 -+Usage: nss-config [OPTIONS] [LIBRARIES]
   25.71 -+Options:
   25.72 -+	[--prefix[=DIR]]
   25.73 -+	[--exec-prefix[=DIR]]
   25.74 -+	[--includedir[=DIR]]
   25.75 -+	[--libdir[=DIR]]
   25.76 -+	[--version]
   25.77 -+	[--libs]
   25.78 -+	[--cflags]
   25.79 -+Dynamic Libraries:
   25.80 -+	nss
   25.81 -+	nssutil
   25.82 -+	smime
   25.83 -+	ssl
   25.84 -+	softokn
   25.85 -+EOF
   25.86 -+	exit $1
   25.87 -+}
   25.88 -+
   25.89 -+if test $# -eq 0; then
   25.90 -+	usage 1 1>&2
   25.91 -+fi
   25.92 -+
   25.93 -+lib_nss=yes
   25.94 -+lib_nssutil=yes
   25.95 -+lib_smime=yes
   25.96 -+lib_ssl=yes
   25.97 -+lib_softokn=yes
   25.98 -+
   25.99 -+while test $# -gt 0; do
  25.100 -+  case "$1" in
  25.101 -+  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  25.102 -+  *) optarg= ;;
  25.103 -+  esac
  25.104 -+
  25.105 -+  case $1 in
  25.106 -+    --prefix=*)
  25.107 -+      prefix=$optarg
  25.108 -+      ;;
  25.109 -+    --prefix)
  25.110 -+      echo_prefix=yes
  25.111 -+      ;;
  25.112 -+    --exec-prefix=*)
  25.113 -+      exec_prefix=$optarg
  25.114 -+      ;;
  25.115 -+    --exec-prefix)
  25.116 -+      echo_exec_prefix=yes
  25.117 -+      ;;
  25.118 -+    --includedir=*)
  25.119 -+      includedir=$optarg
  25.120 -+      ;;
  25.121 -+    --includedir)
  25.122 -+      echo_includedir=yes
  25.123 -+      ;;
  25.124 -+    --libdir=*)
  25.125 -+      libdir=$optarg
  25.126 -+      ;;
  25.127 -+    --libdir)
  25.128 -+      echo_libdir=yes
  25.129 -+      ;;
  25.130 -+    --version)
  25.131 -+      echo ${major_version}.${minor_version}.${patch_version}
  25.132 -+      ;;
  25.133 -+    --cflags)
  25.134 -+      echo_cflags=yes
  25.135 -+      ;;
  25.136 -+    --libs)
  25.137 -+      echo_libs=yes
  25.138 -+      ;;
  25.139 -+    nss)
  25.140 -+      lib_nss=yes
  25.141 -+      ;;
  25.142 -+    nssutil)
  25.143 -+      lib_nssutil=yes
  25.144 -+      ;;
  25.145 -+    smime)
  25.146 -+      lib_smime=yes
  25.147 -+      ;;
  25.148 -+    ssl)
  25.149 -+      lib_ssl=yes
  25.150 -+      ;;
  25.151 -+    softokn)
  25.152 -+      lib_softokn=yes
  25.153 -+      ;;
  25.154 -+    *)
  25.155 -+      usage 1 1>&2
  25.156 -+      ;;
  25.157 -+  esac
  25.158 -+  shift
  25.159 -+done
  25.160 -+
  25.161 -+# Set variables that may be dependent upon other variables
  25.162 -+if test -z "$exec_prefix"; then
  25.163 -+    exec_prefix=`pkg-config --variable=exec_prefix nss`
  25.164 -+fi
  25.165 -+if test -z "$includedir"; then
  25.166 -+    includedir=`pkg-config --variable=includedir nss`
  25.167 -+fi
  25.168 -+if test -z "$libdir"; then
  25.169 -+    libdir=`pkg-config --variable=libdir nss`
  25.170 -+fi
  25.171 -+
  25.172 -+if test "$echo_prefix" = "yes"; then
  25.173 -+    echo $prefix
  25.174 -+fi
  25.175 -+
  25.176 -+if test "$echo_exec_prefix" = "yes"; then
  25.177 -+    echo $exec_prefix
  25.178 -+fi
  25.179 -+
  25.180 -+if test "$echo_includedir" = "yes"; then
  25.181 -+    echo $includedir
  25.182 -+fi
  25.183 -+
  25.184 -+if test "$echo_libdir" = "yes"; then
  25.185 -+    echo $libdir
  25.186 -+fi
  25.187 -+
  25.188 -+if test "$echo_cflags" = "yes"; then
  25.189 -+    echo -I$includedir
  25.190 -+fi
  25.191 -+
  25.192 -+if test "$echo_libs" = "yes"; then
  25.193 -+      libdirs="-L$libdir"
  25.194 -+      if test -n "$lib_nss"; then
  25.195 -+	libdirs="$libdirs -lnss${major_version}"
  25.196 -+      fi
  25.197 -+      if test -n "$lib_nssutil"; then
  25.198 -+        libdirs="$libdirs -lnssutil${major_version}"
  25.199 -+      fi
  25.200 -+      if test -n "$lib_smime"; then
  25.201 -+	libdirs="$libdirs -lsmime${major_version}"
  25.202 -+      fi
  25.203 -+      if test -n "$lib_ssl"; then
  25.204 -+	libdirs="$libdirs -lssl${major_version}"
  25.205 -+      fi
  25.206 -+      if test -n "$lib_softokn"; then
  25.207 -+        libdirs="$libdirs -lsoftokn${major_version}"
  25.208 -+      fi
  25.209 -+      echo $libdirs
  25.210 -+fi      
  25.211 -+
  25.212 ---- a/nss/config/nss.pc.in	1970-01-01 01:00:00.000000000 +0100
  25.213 -+++ b/nss/config/nss.pc.in	2013-07-02 14:52:58.328084334 +0200
  25.214 -@@ -0,0 +1,12 @@
  25.215 -+prefix=@prefix@
  25.216 -+exec_prefix=@exec_prefix@
  25.217 -+libdir=@libdir@
  25.218 -+includedir=@includedir@
  25.219 -+
  25.220 -+Name: NSS
  25.221 -+Description: Network Security Services
  25.222 -+Version: @NSS_MAJOR_VERSION@.@NSS_MINOR_VERSION@.@NSS_PATCH_VERSION@
  25.223 -+Requires: nspr >= 4.8
  25.224 -+Libs: -L@libdir@ -lnss@NSS_MAJOR_VERSION@ -lnssutil@NSS_MAJOR_VERSION@ -lsmime@NSS_MAJOR_VERSION@ -lssl@NSS_MAJOR_VERSION@ -lsoftokn@NSS_MAJOR_VERSION@
  25.225 -+Cflags: -I${includedir}
  25.226 -+
  25.227 ---- a/nss/Makefile	2013-05-28 23:43:24.000000000 +0200
  25.228 -+++ b/nss/Makefile	2013-07-02 14:52:58.328084334 +0200
  25.229 -@@ -44,7 +44,7 @@
  25.230 - # (7) Execute "local" rules. (OPTIONAL).                              #
  25.231 - #######################################################################
  25.232 - 
  25.233 --nss_build_all: build_nspr all
  25.234 -+nss_build_all: all
  25.235 - 
  25.236 - nss_clean_all: clobber_nspr clobber
  25.237 - 
  25.238 ---- a/nss/manifest.mn.orig	2014-09-26 16:46:44.201965538 -0300
  25.239 -+++ b/nss/manifest.mn	2014-09-26 16:51:11.386336520 -0300
  25.240 -@@ -10,7 +10,7 @@
  25.241 - 
  25.242 - RELEASE = nss
  25.243 - 
  25.244 --DIRS = coreconf lib cmd
  25.245 -+DIRS = coreconf lib cmd config
  25.246 - 
  25.247 - ifdef NSS_BUILD_GTESTS
  25.248 - DIRS += external_tests
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/nss/stuff/patches/nss-3.29-standalone-1.patch	Fri Aug 11 04:54:37 2017 +0300
    26.3 @@ -0,0 +1,246 @@
    26.4 +Submitted By:            DJ Lucas <dj_AT_linuxfromscratch_DOT_org>
    26.5 +Date:                    2016-12-27
    26.6 +Initial Package Version: 3.12.4
    26.7 +Upstream Status:         Not applicable
    26.8 +Origin:                  Self, rediffed for nss-3.28.
    26.9 +Description:             Adds auto-generated nss.pc and nss-config script, and
   26.10 +                         allows building without nspr in the source tree.
   26.11 +
   26.12 +diff -Naurp nss-3.28-orig/nss/Makefile nss-3.28/nss/Makefile
   26.13 +--- nss-3.28-orig/nss/Makefile	2016-12-21 05:56:27.000000000 -0600
   26.14 ++++ nss-3.28/nss/Makefile	2016-12-26 22:24:52.695146032 -0600
   26.15 +@@ -46,7 +46,7 @@ include $(CORE_DEPTH)/coreconf/rules.mk
   26.16 + # (7) Execute "local" rules. (OPTIONAL).                              #
   26.17 + #######################################################################
   26.18 + 
   26.19 +-nss_build_all: build_nspr all latest
   26.20 ++nss_build_all: all latest
   26.21 + 
   26.22 + nss_clean_all: clobber_nspr clobber
   26.23 + 
   26.24 +diff -Naurp nss-3.28-orig/nss/config/Makefile nss-3.28/nss/config/Makefile
   26.25 +--- nss-3.28-orig/nss/config/Makefile	1969-12-31 18:00:00.000000000 -0600
   26.26 ++++ nss-3.28/nss/config/Makefile	2016-12-26 22:20:40.008205774 -0600
   26.27 +@@ -0,0 +1,40 @@
   26.28 ++CORE_DEPTH = ..
   26.29 ++DEPTH      = ..
   26.30 ++
   26.31 ++include $(CORE_DEPTH)/coreconf/config.mk
   26.32 ++
   26.33 ++NSS_MAJOR_VERSION = `grep "NSS_VMAJOR" ../lib/nss/nss.h | awk '{print $$3}'`
   26.34 ++NSS_MINOR_VERSION = `grep "NSS_VMINOR" ../lib/nss/nss.h | awk '{print $$3}'`
   26.35 ++NSS_PATCH_VERSION = `grep "NSS_VPATCH" ../lib/nss/nss.h | awk '{print $$3}'`
   26.36 ++PREFIX = /usr
   26.37 ++
   26.38 ++all: export libs
   26.39 ++
   26.40 ++export:
   26.41 ++	# Create the nss.pc file
   26.42 ++	mkdir -p $(DIST)/lib/pkgconfig
   26.43 ++	sed -e "s,@prefix@,$(PREFIX)," \
   26.44 ++	    -e "s,@exec_prefix@,\$${prefix}," \
   26.45 ++	    -e "s,@libdir@,\$${prefix}/lib," \
   26.46 ++	    -e "s,@includedir@,\$${prefix}/include/nss," \
   26.47 ++	    -e "s,@NSS_MAJOR_VERSION@,$(NSS_MAJOR_VERSION),g" \
   26.48 ++	    -e "s,@NSS_MINOR_VERSION@,$(NSS_MINOR_VERSION)," \
   26.49 ++	    -e "s,@NSS_PATCH_VERSION@,$(NSS_PATCH_VERSION)," \
   26.50 ++	    nss.pc.in > nss.pc
   26.51 ++	chmod 0644 nss.pc
   26.52 ++	ln -sf ../../../../nss/config/nss.pc $(DIST)/lib/pkgconfig
   26.53 ++
   26.54 ++	# Create the nss-config script
   26.55 ++	mkdir -p $(DIST)/bin
   26.56 ++	sed -e "s,@prefix@,$(PREFIX)," \
   26.57 ++	    -e "s,@NSS_MAJOR_VERSION@,$(NSS_MAJOR_VERSION)," \
   26.58 ++	    -e "s,@NSS_MINOR_VERSION@,$(NSS_MINOR_VERSION)," \
   26.59 ++	    -e "s,@NSS_PATCH_VERSION@,$(NSS_PATCH_VERSION)," \
   26.60 ++	    nss-config.in > nss-config
   26.61 ++	chmod 0755 nss-config
   26.62 ++	ln -sf ../../../nss/config/nss-config $(DIST)/bin
   26.63 ++
   26.64 ++libs:
   26.65 ++
   26.66 ++dummy: all export libs
   26.67 ++
   26.68 +diff -Naurp nss-3.28-orig/nss/config/nss-config.in nss-3.28/nss/config/nss-config.in
   26.69 +--- nss-3.28-orig/nss/config/nss-config.in	1969-12-31 18:00:00.000000000 -0600
   26.70 ++++ nss-3.28/nss/config/nss-config.in	2016-12-26 22:20:40.008205774 -0600
   26.71 +@@ -0,0 +1,153 @@
   26.72 ++#!/bin/sh
   26.73 ++
   26.74 ++prefix=@prefix@
   26.75 ++
   26.76 ++major_version=@NSS_MAJOR_VERSION@
   26.77 ++minor_version=@NSS_MINOR_VERSION@
   26.78 ++patch_version=@NSS_PATCH_VERSION@
   26.79 ++
   26.80 ++usage()
   26.81 ++{
   26.82 ++	cat <<EOF
   26.83 ++Usage: nss-config [OPTIONS] [LIBRARIES]
   26.84 ++Options:
   26.85 ++	[--prefix[=DIR]]
   26.86 ++	[--exec-prefix[=DIR]]
   26.87 ++	[--includedir[=DIR]]
   26.88 ++	[--libdir[=DIR]]
   26.89 ++	[--version]
   26.90 ++	[--libs]
   26.91 ++	[--cflags]
   26.92 ++Dynamic Libraries:
   26.93 ++	nss
   26.94 ++	nssutil
   26.95 ++	smime
   26.96 ++	ssl
   26.97 ++	softokn
   26.98 ++EOF
   26.99 ++	exit $1
  26.100 ++}
  26.101 ++
  26.102 ++if test $# -eq 0; then
  26.103 ++	usage 1 1>&2
  26.104 ++fi
  26.105 ++
  26.106 ++lib_nss=yes
  26.107 ++lib_nssutil=yes
  26.108 ++lib_smime=yes
  26.109 ++lib_ssl=yes
  26.110 ++lib_softokn=yes
  26.111 ++
  26.112 ++while test $# -gt 0; do
  26.113 ++  case "$1" in
  26.114 ++  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  26.115 ++  *) optarg= ;;
  26.116 ++  esac
  26.117 ++
  26.118 ++  case $1 in
  26.119 ++    --prefix=*)
  26.120 ++      prefix=$optarg
  26.121 ++      ;;
  26.122 ++    --prefix)
  26.123 ++      echo_prefix=yes
  26.124 ++      ;;
  26.125 ++    --exec-prefix=*)
  26.126 ++      exec_prefix=$optarg
  26.127 ++      ;;
  26.128 ++    --exec-prefix)
  26.129 ++      echo_exec_prefix=yes
  26.130 ++      ;;
  26.131 ++    --includedir=*)
  26.132 ++      includedir=$optarg
  26.133 ++      ;;
  26.134 ++    --includedir)
  26.135 ++      echo_includedir=yes
  26.136 ++      ;;
  26.137 ++    --libdir=*)
  26.138 ++      libdir=$optarg
  26.139 ++      ;;
  26.140 ++    --libdir)
  26.141 ++      echo_libdir=yes
  26.142 ++      ;;
  26.143 ++    --version)
  26.144 ++      echo ${major_version}.${minor_version}.${patch_version}
  26.145 ++      ;;
  26.146 ++    --cflags)
  26.147 ++      echo_cflags=yes
  26.148 ++      ;;
  26.149 ++    --libs)
  26.150 ++      echo_libs=yes
  26.151 ++      ;;
  26.152 ++    nss)
  26.153 ++      lib_nss=yes
  26.154 ++      ;;
  26.155 ++    nssutil)
  26.156 ++      lib_nssutil=yes
  26.157 ++      ;;
  26.158 ++    smime)
  26.159 ++      lib_smime=yes
  26.160 ++      ;;
  26.161 ++    ssl)
  26.162 ++      lib_ssl=yes
  26.163 ++      ;;
  26.164 ++    softokn)
  26.165 ++      lib_softokn=yes
  26.166 ++      ;;
  26.167 ++    *)
  26.168 ++      usage 1 1>&2
  26.169 ++      ;;
  26.170 ++  esac
  26.171 ++  shift
  26.172 ++done
  26.173 ++
  26.174 ++# Set variables that may be dependent upon other variables
  26.175 ++if test -z "$exec_prefix"; then
  26.176 ++    exec_prefix=`pkg-config --variable=exec_prefix nss`
  26.177 ++fi
  26.178 ++if test -z "$includedir"; then
  26.179 ++    includedir=`pkg-config --variable=includedir nss`
  26.180 ++fi
  26.181 ++if test -z "$libdir"; then
  26.182 ++    libdir=`pkg-config --variable=libdir nss`
  26.183 ++fi
  26.184 ++
  26.185 ++if test "$echo_prefix" = "yes"; then
  26.186 ++    echo $prefix
  26.187 ++fi
  26.188 ++
  26.189 ++if test "$echo_exec_prefix" = "yes"; then
  26.190 ++    echo $exec_prefix
  26.191 ++fi
  26.192 ++
  26.193 ++if test "$echo_includedir" = "yes"; then
  26.194 ++    echo $includedir
  26.195 ++fi
  26.196 ++
  26.197 ++if test "$echo_libdir" = "yes"; then
  26.198 ++    echo $libdir
  26.199 ++fi
  26.200 ++
  26.201 ++if test "$echo_cflags" = "yes"; then
  26.202 ++    echo -I$includedir
  26.203 ++fi
  26.204 ++
  26.205 ++if test "$echo_libs" = "yes"; then
  26.206 ++      libdirs="-L$libdir"
  26.207 ++      if test -n "$lib_nss"; then
  26.208 ++	libdirs="$libdirs -lnss${major_version}"
  26.209 ++      fi
  26.210 ++      if test -n "$lib_nssutil"; then
  26.211 ++        libdirs="$libdirs -lnssutil${major_version}"
  26.212 ++      fi
  26.213 ++      if test -n "$lib_smime"; then
  26.214 ++	libdirs="$libdirs -lsmime${major_version}"
  26.215 ++      fi
  26.216 ++      if test -n "$lib_ssl"; then
  26.217 ++	libdirs="$libdirs -lssl${major_version}"
  26.218 ++      fi
  26.219 ++      if test -n "$lib_softokn"; then
  26.220 ++        libdirs="$libdirs -lsoftokn${major_version}"
  26.221 ++      fi
  26.222 ++      echo $libdirs
  26.223 ++fi      
  26.224 ++
  26.225 +diff -Naurp nss-3.28-orig/nss/config/nss.pc.in nss-3.28/nss/config/nss.pc.in
  26.226 +--- nss-3.28-orig/nss/config/nss.pc.in	1969-12-31 18:00:00.000000000 -0600
  26.227 ++++ nss-3.28/nss/config/nss.pc.in	2016-12-26 22:22:53.300694346 -0600
  26.228 +@@ -0,0 +1,12 @@
  26.229 ++prefix=@prefix@
  26.230 ++exec_prefix=@exec_prefix@
  26.231 ++libdir=@libdir@
  26.232 ++includedir=@includedir@
  26.233 ++
  26.234 ++Name: NSS
  26.235 ++Description: Network Security Services
  26.236 ++Version: @NSS_MAJOR_VERSION@.@NSS_MINOR_VERSION@.@NSS_PATCH_VERSION@
  26.237 ++Requires: nspr >= 4.10
  26.238 ++Libs: -L@libdir@ -lnss@NSS_MAJOR_VERSION@ -lnssutil@NSS_MAJOR_VERSION@ -lsmime@NSS_MAJOR_VERSION@ -lssl@NSS_MAJOR_VERSION@ -lsoftokn@NSS_MAJOR_VERSION@
  26.239 ++Cflags: -I${includedir}
  26.240 ++
  26.241 +diff -Naurp nss-3.28-orig/nss/manifest.mn nss-3.28/nss/manifest.mn
  26.242 +--- nss-3.28-orig/nss/manifest.mn	2016-12-21 05:56:27.000000000 -0600
  26.243 ++++ nss-3.28/nss/manifest.mn	2016-12-26 22:24:12.278991843 -0600
  26.244 +@@ -10,4 +10,4 @@ IMPORTS =	nspr20/v4.8 \
  26.245 + 
  26.246 + RELEASE = nss
  26.247 + 
  26.248 +-DIRS = coreconf lib cmd gtests
  26.249 ++DIRS = coreconf lib cmd gtests config
    27.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.2 +++ b/nss/stuff/patches/series	Fri Aug 11 04:54:37 2017 +0300
    27.3 @@ -0,0 +1,1 @@
    27.4 +nss-3.29-standalone-1.patch
    28.1 --- a/rust/receipt	Sat Aug 05 15:17:06 2017 +0300
    28.2 +++ b/rust/receipt	Fri Aug 11 04:54:37 2017 +0300
    28.3 @@ -1,7 +1,7 @@
    28.4  # SliTaz package receipt v2.
    28.5  
    28.6  PACKAGE="rust"
    28.7 -VERSION="1.17.0"
    28.8 +VERSION="1.19.0"
    28.9  CATEGORY="development"
   28.10  SHORT_DESC="The Rust programming language"
   28.11  MAINTAINER="al.bobylev@gmail.com"
   28.12 @@ -11,39 +11,18 @@
   28.13  TARBALL="rust-$VERSION-i686-unknown-linux-gnu.tar.gz"
   28.14  WGET_URL="https://static.rust-lang.org/dist/$TARBALL"
   28.15  
   28.16 -SIBLINGS="rust-doc rust-cargo"
   28.17 -SPLIT="rust-cargo rust-doc"
   28.18 -
   28.19  # Rules to configure and make the package.
   28.20  compile_rules()
   28.21  {
   28.22  	./install.sh \
   28.23  		--prefix=$install/usr \
   28.24 -		--mandir=$install/usr/share/man
   28.25 -
   28.26 -	# Fix /etc path (v.1.17.0)
   28.27 -	mv $install/usr/etc $install
   28.28 -
   28.29 -	# Fix permissions (v.1.17.0)
   28.30 -	find $install/usr/share/doc -type f -exec chmod a-x '{}' \;
   28.31 -	find $install -name '*.so*' -exec chmod a+x '{}' \;
   28.32 +		--sysconfdir=$install/etc \
   28.33 +		--mandir=$install/usr/share/man \
   28.34 +		--without=rust-docs
   28.35  }
   28.36  
   28.37  # Rules to gen a SliTaz package suitable for Tazpkg.
   28.38  genpkg_rules()
   28.39  {
   28.40 -	case $PACKAGE in
   28.41 -		rust)
   28.42 -			copy rust-gdb rust-lldb rustc rustdoc /usr/lib/
   28.43 -			;;
   28.44 -		rust-cargo)
   28.45 -			copy /usr/bin/cargo
   28.46 -			CAT="development|package manager"
   28.47 -			DEPENDS="rust"
   28.48 -			;;
   28.49 -		rust-doc)
   28.50 -			copy /usr/share/doc/
   28.51 -			CAT="doc|documentation"
   28.52 -			;;
   28.53 -	esac
   28.54 +	copy @std
   28.55  }
    29.1 --- a/svgcleaner/receipt	Sat Aug 05 15:17:06 2017 +0300
    29.2 +++ b/svgcleaner/receipt	Fri Aug 11 04:54:37 2017 +0300
    29.3 @@ -12,7 +12,7 @@
    29.4  TARBALL="$PACKAGE-${COMMIT:-v$VERSION}.tar.gz"
    29.5  WGET_URL="$GITHUB/RazrFalcon/svgcleaner/tarball/${COMMIT:-v$VERSION}"
    29.6  
    29.7 -BUILD_DEPENDS="rust-cargo cacerts"
    29.8 +BUILD_DEPENDS="rust cacerts"
    29.9  
   29.10  # Rules to configure and make the package.
   29.11  compile_rules()
   29.12 @@ -31,5 +31,5 @@
   29.13  # Rules to gen a SliTaz package suitable for Tazpkg.
   29.14  genpkg_rules()
   29.15  {
   29.16 -	copy svgcleaner
   29.17 +	copy @std
   29.18  }
    30.1 --- a/zip/receipt	Sat Aug 05 15:17:06 2017 +0300
    30.2 +++ b/zip/receipt	Fri Aug 11 04:54:37 2017 +0300
    30.3 @@ -1,28 +1,32 @@
    30.4 -# SliTaz package receipt.
    30.5 +# SliTaz package receipt v2.
    30.6  
    30.7  PACKAGE="zip"
    30.8  VERSION="3.0"
    30.9  CATEGORY="utilities"
   30.10 -SHORT_DESC="Compressor utilities compatible with the DOS PKZIP."
   30.11 +SHORT_DESC="Compressor utilities compatible with the DOS PKZIP"
   30.12  MAINTAINER="pankso@slitaz.org"
   30.13  LICENSE="other"
   30.14 +WEB_SITE="http://www.info-zip.org/"
   30.15 +
   30.16  TARBALL="$PACKAGE${VERSION//./}.tgz"
   30.17 -WEB_SITE="http://www.info-zip.org/"
   30.18  WGET_URL="ftp://ftp.info-zip.org/pub/infozip/src/$TARBALL"
   30.19 -TAGS="archive compression"
   30.20 +
   30.21 +BUILD_DEPENDS="bzip2-dev"
   30.22  
   30.23  # Rules to configure and make the package.
   30.24  compile_rules()
   30.25  {
   30.26 -	make -f unix/Makefile generic_gcc
   30.27 +	sed -i "s|/usr/local|$install/usr|;
   30.28 +			s|\$(prefix)/man|\$(prefix)/share/man|" unix/Makefile
   30.29 +
   30.30 +	make -f unix/Makefile generic_gcc &&
   30.31 +	make -f unix/Makefile install
   30.32  }
   30.33  
   30.34  # Rules to gen a SliTaz package suitable for Tazpkg.
   30.35  genpkg_rules()
   30.36  {
   30.37 -	mkdir -p $fs/usr/bin
   30.38 -	cp -a $src/zip $fs/usr/bin
   30.39 -	cp -a $src/zipcloak $fs/usr/bin
   30.40 -	cp -a $src/zipnote $fs/usr/bin
   30.41 -	cp -a $src/zipsplit $fs/usr/bin
   30.42 +	copy @std
   30.43 +	DEPENDS="bzlib"
   30.44 +	TAGS="archive compression"
   30.45  }