wok-next rev 20319

nagios-plugins: tiny patch, mingw32-binutils: update cflags
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 11 16:12:32 2017 +0100 (2017-11-11)
parents d394530f7404
children c0b0151909ba
files directfb-dev/receipt directfb/receipt guacamole-dev/receipt guacamole/receipt gutenprint-dev/receipt gutenprint/receipt libQtMimeTypes-dev/receipt libQtMimeTypes/receipt libqwt5-qt4-dev/receipt libqwt5-qt4/receipt libqwt6-qt4-dev/receipt libqwt6-qt4/receipt mingw32-binutils/receipt miniupnpc-dev/receipt miniupnpc/receipt nagios-plugins/receipt zbar-dev/receipt zbar/receipt
line diff
     1.1 --- a/directfb-dev/receipt	Sat Nov 11 16:20:59 2017 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,25 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="directfb-dev"
     1.7 -VERSION="1.4.3"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="DirectFB devel files."
    1.10 -WANTED="directfb"
    1.11 -SOURCE="DirectFB"
    1.12 -MAINTAINER="pankso@slitaz.org"
    1.13 -LICENSE="LGPL2.1"
    1.14 -WEB_SITE="http://www.directfb.org/"
    1.15 -HOST_ARCH="i486 arm"
    1.16 -
    1.17 -DEPENDS="pkg-config"
    1.18 -
    1.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 -genpkg_rules()
    1.21 -{
    1.22 -	mkdir -p $fs/usr/lib
    1.23 -	cp -a $install/usr/include $fs/usr
    1.24 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.25 -	cp -a $install/usr/lib/directfb-* $fs/usr/lib
    1.26 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.27 -	find $fs/usr/lib -name "*.so*" -exec rm '{}' \;
    1.28 -}
     2.1 --- a/directfb/receipt	Sat Nov 11 16:20:59 2017 +0200
     2.2 +++ b/directfb/receipt	Sat Nov 11 16:12:32 2017 +0100
     2.3 @@ -1,4 +1,4 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="directfb"
     2.8  VERSION="1.4.3"
     2.9 @@ -12,8 +12,8 @@
    2.10  WGET_URL="http://www.directfb.org/downloads/Core/$SOURCE-${VERSION%.*}/$TARBALL"
    2.11  HOST_ARCH="i486 arm"
    2.12  
    2.13 -DEPENDS="libpng12 libjpeg freetype tslib zlib"
    2.14  BUILD_DEPENDS="libpng12-dev jpeg-dev freetype-dev tslib-dev perl"
    2.15 +SPLIT="directfb-dev"
    2.16  
    2.17  # Handle cross compilation.
    2.18  case "$ARCH" in
    2.19 @@ -43,10 +43,24 @@
    2.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.21  genpkg_rules()
    2.22  {
    2.23 -	mkdir -p $fs/usr/lib $fs/usr/share
    2.24 -	cp -a $install/usr/bin $fs/usr
    2.25 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.26 -	cp -a $install/usr/lib/directfb-* $fs/usr/lib
    2.27 -	cp -a $install/usr/share/directfb-* $fs/usr/share
    2.28 -	find $fs/usr/lib -name "*.*a" -exec rm '{}' \;
    2.29 +	case $PACKAGE in
    2.30 +	directfb)
    2.31 +		DEPENDS="libpng12 libjpeg freetype tslib zlib"
    2.32 +		mkdir -p $fs/usr/lib $fs/usr/share
    2.33 +		cp -a $install/usr/bin $fs/usr
    2.34 +		cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.35 +		cp -a $install/usr/lib/directfb-* $fs/usr/lib
    2.36 +		cp -a $install/usr/share/directfb-* $fs/usr/share
    2.37 +		find $fs/usr/lib -name "*.*a" -exec rm '{}' \;
    2.38 +		;;
    2.39 +	directfb-dev)
    2.40 +		DEPENDS="pkg-config"
    2.41 +		mkdir -p $fs/usr/lib
    2.42 +		cp -a $install/usr/include $fs/usr
    2.43 +		cp -a $install/usr/lib/*.*a $fs/usr/lib
    2.44 +		cp -a $install/usr/lib/directfb-* $fs/usr/lib
    2.45 +		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.46 +		find $fs/usr/lib -name "*.so*" -exec rm '{}' \;
    2.47 +		;;
    2.48 +	esac
    2.49  }
     3.1 --- a/guacamole-dev/receipt	Sat Nov 11 16:20:59 2017 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,19 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="guacamole-dev"
     3.7 -VERSION="0.9.4"
     3.8 -CATEGORY="development"
     3.9 -SHORT_DESC="Clientless remote desktop gateway for VNC or RDP, development files"
    3.10 -MAINTAINER="pascal.bellard@slitaz.org"
    3.11 -LICENSE="MIT"
    3.12 -WEB_SITE="http://guac-dev.org/"
    3.13 -WANTED="guacamole"
    3.14 -
    3.15 -DEPENDS="guacamole"
    3.16 -
    3.17 -genpkg_rules()
    3.18 -{
    3.19 -	mkdir -p $fs/usr/lib
    3.20 -	cp -a $install/usr/include $fs/usr
    3.21 -	cp -a $install/usr/lib/*a $fs/usr/lib
    3.22 -}
     4.1 --- a/guacamole/receipt	Sat Nov 11 16:20:59 2017 +0200
     4.2 +++ b/guacamole/receipt	Sat Nov 11 16:12:32 2017 +0100
     4.3 @@ -1,4 +1,4 @@
     4.4 -# SliTaz package receipt.
     4.5 +# SliTaz package receipt v2.
     4.6  
     4.7  PACKAGE="guacamole"
     4.8  VERSION="0.9.4"
     4.9 @@ -10,12 +10,11 @@
    4.10  WEB_SITE="http://guac-dev.org/"
    4.11  WGET_URL="$SF_MIRROR/project/$PACKAGE/current/source/$TARBALL"
    4.12  
    4.13 -DEPENDS="cairo ossp-uuid libxml2 libvorbis libssl freerdp libvncserver \
    4.14 -libssh2 pango pulseaudio libjson-c libsndfile flac bzlib zlib"
    4.15  BUILD_DEPENDS="cairo-dev ossp-uuid-dev libxml2-dev openssl-dev jpeg-dev \
    4.16  libvncserver-dev freerdp-dev libvorbis-dev pango-dev pulseaudio-dev \
    4.17  libssh2-dev xorg-dev libjson-c-dev libsndfile-dev flac-dev dbus-dev \
    4.18  libgcrypt-dev"
    4.19 +SPLIT="guacamole-dev"
    4.20  
    4.21  # Rules to configure and make the package.
    4.22  compile_rules()
    4.23 @@ -30,7 +29,19 @@
    4.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.25  genpkg_rules()
    4.26  {
    4.27 -	mkdir -p $fs/usr/lib
    4.28 -	cp -a $install/usr/sbin $fs/usr
    4.29 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.30 +	case $PACKAGE in
    4.31 +	guacamole)
    4.32 +		DEPENDS="cairo ossp-uuid libxml2 libvorbis libssl freerdp \
    4.33 +			libvncserver libssh2 pango pulseaudio libjson-c \
    4.34 +			libsndfile flac bzlib zlib"
    4.35 +		mkdir -p $fs/usr/lib
    4.36 +		cp -a $install/usr/sbin $fs/usr
    4.37 +		cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.38 +		;;
    4.39 +	guacamole-dev)
    4.40 +		DEPENDS="guacamole"
    4.41 +		mkdir -p $fs/usr/lib
    4.42 +		cp -a $install/usr/include $fs/usr
    4.43 +		cp -a $install/usr/lib/*a $fs/usr/lib
    4.44 +		;;
    4.45  }
     5.1 --- a/gutenprint-dev/receipt	Sat Nov 11 16:20:59 2017 +0200
     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="gutenprint-dev"
     5.7 -VERSION="5.2.8"
     5.8 -CATEGORY="development"
     5.9 -SHORT_DESC="Ghostscript devel file"
    5.10 -MAINTAINER="jozee@slitaz.org"
    5.11 -LICENSE="GPL2"
    5.12 -WANTED="gutenprint"
    5.13 -WEB_SITE="http://gimp-print.sourceforge.net/"
    5.14 -
    5.15 -DEPENDS="gutenprint 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/include $fs/usr
    5.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    5.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    5.24 -}
     6.1 --- a/gutenprint/receipt	Sat Nov 11 16:20:59 2017 +0200
     6.2 +++ b/gutenprint/receipt	Sat Nov 11 16:12:32 2017 +0100
     6.3 @@ -1,4 +1,4 @@
     6.4 -# SliTaz package receipt.
     6.5 +# SliTaz package receipt v2.
     6.6  
     6.7  PACKAGE="gutenprint"
     6.8  VERSION="5.2.8"
     6.9 @@ -10,14 +10,13 @@
    6.10  WEB_SITE="http://gimp-print.sourceforge.net/"
    6.11  WGET_URL="$SF_MIRROR/gimp-print/$TARBALL"
    6.12  
    6.13 -DEPENDS="gnutls readline gtk+ cups libtasn1 gmp"
    6.14  BUILD_DEPENDS="gnutls-dev expat-dev cups-dev libgcrypt-dev zlib-dev \
    6.15  foomatic-db-engine libtasn1-dev gmp-dev tar"
    6.16 +SPLIT="gutenprint-dev"
    6.17  
    6.18  # Rules to configure and make the package.
    6.19  compile_rules()
    6.20  {
    6.21 -	cd $src
    6.22  	./configure \
    6.23  		--prefix=/usr \
    6.24  		--sysconfdir=/etc \
    6.25 @@ -34,18 +33,29 @@
    6.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.27  genpkg_rules()
    6.28  {
    6.29 -	mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
    6.30 +	case $PACKAGE in
    6.31 +	gutenprint)
    6.32 +		DEPENDS="gnutls readline gtk+ cups libtasn1 gmp"
    6.33 +		mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
    6.34  	
    6.35 -	cp -a $install/usr/bin $fs/usr
    6.36 -	cp -a $install/usr/sbin $fs/usr
    6.37 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    6.38 -	cp -a $install/usr/lib/cups $fs/usr/lib
    6.39 -	cp -a $install/usr/lib/gutenprint $fs/usr/lib
    6.40 -	cp -a $install/usr/share/cups $fs/usr/share
    6.41 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share	
    6.42 -	cp -a $install/etc   $fs
    6.43 +		cp -a $install/usr/bin $fs/usr
    6.44 +		cp -a $install/usr/sbin $fs/usr
    6.45 +		cp -a $install/usr/lib/*.so* $fs/usr/lib
    6.46 +		cp -a $install/usr/lib/cups $fs/usr/lib
    6.47 +		cp -a $install/usr/lib/gutenprint $fs/usr/lib
    6.48 +		cp -a $install/usr/share/cups $fs/usr/share
    6.49 +		cp -a $install/usr/share/$PACKAGE $fs/usr/share	
    6.50 +		cp -a $install/etc   $fs
    6.51  	
    6.52 -	# Remove docs
    6.53 -	rm -rf $fs/usr/share/$PACKAGE/doc
    6.54 +		# Remove docs
    6.55 +		rm -rf $fs/usr/share/$PACKAGE/doc
    6.56 +		;;
    6.57 +	gutenprint-dev)
    6.58 +		DEPENDS="gutenprint pkg-config"
    6.59 +		mkdir -p $fs/usr/lib
    6.60 +		cp -a $install/usr/include $fs/usr
    6.61 +		cp -a $install/usr/lib/*.*a $fs/usr/lib
    6.62 +		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    6.63 +		;;
    6.64 +	esac
    6.65  }
    6.66 -
     7.1 --- a/libQtMimeTypes-dev/receipt	Sat Nov 11 16:20:59 2017 +0200
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,21 +0,0 @@
     7.4 -# SliTaz package receipt.
     7.5 -
     7.6 -PACKAGE="libQtMimeTypes-dev"
     7.7 -BRANCH="123e5255daf5bc780f8ecfa62f796a2aedef9a13"
     7.8 -VERSION="${BRANCH:1:7}"
     7.9 -CATEGORY="development"
    7.10 -SHORT_DESC="A Qt4 backport of the Qt5 mimetypes API (development)"
    7.11 -MAINTAINER="al.bobylev@gmail.com"
    7.12 -LICENSE="LGPL2.1"
    7.13 -WEB_SITE="https://qt.gitorious.org/qtplayground/mimetypes"
    7.14 -WANTED="libQtMimeTypes"
    7.15 -
    7.16 -DEPENDS="libQtMimeTypes"
    7.17 -
    7.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.19 -genpkg_rules()
    7.20 -{
    7.21 -	mkdir -p $fs/usr/lib
    7.22 -	cp -a $install/usr/include $fs/usr
    7.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    7.24 -}
     8.1 --- a/libQtMimeTypes/receipt	Sat Nov 11 16:20:59 2017 +0200
     8.2 +++ b/libQtMimeTypes/receipt	Sat Nov 11 16:12:32 2017 +0100
     8.3 @@ -1,4 +1,4 @@
     8.4 -# SliTaz package receipt.
     8.5 +# SliTaz package receipt v2.
     8.6  
     8.7  PACKAGE="libQtMimeTypes"
     8.8  BRANCH="123e5255daf5bc780f8ecfa62f796a2aedef9a13"
     8.9 @@ -11,8 +11,8 @@
    8.10  TARBALL="$PACKAGE-$BRANCH.tar.gz"
    8.11  WGET_URL="$WEB_SITE/archive/$BRANCH.tar.gz"
    8.12  
    8.13 -DEPENDS="libQtCore"
    8.14  BUILD_DEPENDS="wget cacerts Qt4-dev qmake"
    8.15 +SPLIT="libQtMimeTypes-dev"
    8.16  
    8.17  # Rules to configure and make the package.
    8.18  compile_rules()
    8.19 @@ -23,6 +23,17 @@
    8.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    8.21  genpkg_rules()
    8.22  {
    8.23 -	mkdir -p $fs/usr/lib
    8.24 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    8.25 +	case $PACKAGE in
    8.26 +	libQtMimeTypes)
    8.27 +		DEPENDS="libQtCore"
    8.28 +		mkdir -p $fs/usr/lib
    8.29 +		cp -a $install/usr/lib/*.so* $fs/usr/lib
    8.30 +		;;
    8.31 +	libQtMimeTypes-dev)
    8.32 +		DEPENDS="libQtMimeTypes"
    8.33 +		mkdir -p $fs/usr/lib
    8.34 +		cp -a $install/usr/include $fs/usr
    8.35 +		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    8.36 +		;;
    8.37 +	esac
    8.38  }
     9.1 --- a/libqwt5-qt4-dev/receipt	Sat Nov 11 16:20:59 2017 +0200
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,19 +0,0 @@
     9.4 -# SliTaz package receipt.
     9.5 -
     9.6 -PACKAGE="libqwt5-qt4-dev"
     9.7 -VERSION="5.2.0"
     9.8 -CATEGORY="development"
     9.9 -SHORT_DESC="Lib Qt Widgets for Technical applications"
    9.10 -MAINTAINER="slitaz@objectif-securite.ch"
    9.11 -LICENSE="LGPL2.1"
    9.12 -DEPENDS="qt-x11-opensource-src libqwt5-qt4"
    9.13 -WEB_SITE="http://qwt.sourceforge.net"
    9.14 -WANTED="libqwt5-qt4"
    9.15 -
    9.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
    9.17 -genpkg_rules()
    9.18 -{
    9.19 -	mkdir -p $fs/usr/include
    9.20 -	cp -a $install/usr/local/qwt-$VERSION/include/*.h \
    9.21 -		$fs/usr/include
    9.22 -}
    10.1 --- a/libqwt5-qt4/receipt	Sat Nov 11 16:20:59 2017 +0200
    10.2 +++ b/libqwt5-qt4/receipt	Sat Nov 11 16:12:32 2017 +0100
    10.3 @@ -1,4 +1,4 @@
    10.4 -# SliTaz package receipt.
    10.5 +# SliTaz package receipt v2.
    10.6  
    10.7  PACKAGE="libqwt5-qt4"
    10.8  VERSION="5.2.0"
    10.9 @@ -11,13 +11,12 @@
   10.10  WEB_SITE="http://qwt.sourceforge.net"
   10.11  WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL"
   10.12  
   10.13 -DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base"
   10.14  BUILD_DEPENDS="$DEPENDS qt4 qmake Qt4-dev"
   10.15 +SPLIT="libqwt5-qt4-dev"
   10.16  
   10.17  # Rules to configure and make the package.
   10.18  compile_rules()
   10.19  {
   10.20 -	cd $src
   10.21  	qmake
   10.22  	make -j1 &&
   10.23  	make INSTALL_ROOT=$DESTDIR install
   10.24 @@ -26,7 +25,18 @@
   10.25  # Rules to gen a SliTaz package suitable for Tazpkg.
   10.26  genpkg_rules()
   10.27  {
   10.28 -	mkdir -p $fs/usr/lib
   10.29 -	cp -a $install/usr/lib/qt $fs/usr/lib
   10.30 -	cp -a $install/usr/local/qwt-$VERSION/lib/libqwt.so* $fs/usr/lib
   10.31 +	case $PACKAGE in
   10.32 +	libqwt5-qt4)
   10.33 +		DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base"
   10.34 +		mkdir -p $fs/usr/lib
   10.35 +		cp -a $install/usr/lib/qt $fs/usr/lib
   10.36 +		cp -a $install/usr/local/qwt-$VERSION/lib/libqwt.so* $fs/usr/lib
   10.37 +		;;
   10.38 +	libqwt5-qt4-dev)
   10.39 +		DEPENDS="qt-x11-opensource-src libqwt5-qt4"
   10.40 +		mkdir -p $fs/usr/include
   10.41 +		cp -a $install/usr/local/qwt-$VERSION/include/*.h \
   10.42 +			$fs/usr/include
   10.43 +		;;
   10.44 +	esac
   10.45  }
    11.1 --- a/libqwt6-qt4-dev/receipt	Sat Nov 11 16:20:59 2017 +0200
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,19 +0,0 @@
    11.4 -# SliTaz package receipt.
    11.5 -
    11.6 -PACKAGE="libqwt6-qt4-dev"
    11.7 -VERSION="6.0.1"
    11.8 -CATEGORY="development"
    11.9 -SHORT_DESC="Lib Qt Widgets for Technical applications"
   11.10 -MAINTAINER="slitaz@objectif-securite.ch"
   11.11 -LICENSE="LGPL2.1"
   11.12 -WEB_SITE="http://qwt.sourceforge.net"
   11.13 -WANTED="libqwt6-qt4"
   11.14 -
   11.15 -DEPENDS="qt-x11-opensource-src libqwt6-qt4"
   11.16 -
   11.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   11.18 -genpkg_rules()
   11.19 -{
   11.20 -	mkdir -p $fs/usr
   11.21 -	cp -a $install/usr/include $fs/usr
   11.22 -}
    12.1 --- a/libqwt6-qt4/receipt	Sat Nov 11 16:20:59 2017 +0200
    12.2 +++ b/libqwt6-qt4/receipt	Sat Nov 11 16:12:32 2017 +0100
    12.3 @@ -1,4 +1,4 @@
    12.4 -# SliTaz package receipt.
    12.5 +# SliTaz package receipt v2.
    12.6  
    12.7  PACKAGE="libqwt6-qt4"
    12.8  VERSION="6.0.1"
    12.9 @@ -11,13 +11,12 @@
   12.10  WEB_SITE="http://qwt.sourceforge.net"
   12.11  WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL"
   12.12  
   12.13 -DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base"
   12.14  BUILD_DEPENDS="qmake Qt4-dev"
   12.15 +SPLIT="libqwt6-qt4-dev"
   12.16  
   12.17  # Rules to configure and make the package.
   12.18  compile_rules()
   12.19  {
   12.20 -	cd $src
   12.21  	sed -i \
   12.22  		-e 's/$${QWT_INSTALL_PREFIX}\/include/\/usr\/include\/qwt\//' \
   12.23  		-e 's/$${QWT_INSTALL_PREFIX}\/lib/\/usr\/lib\//' \
   12.24 @@ -32,7 +31,17 @@
   12.25  # Rules to gen a SliTaz package suitable for Tazpkg.
   12.26  genpkg_rules()
   12.27  {
   12.28 -	mkdir -p $fs/usr/share
   12.29 -	cp -a $install/usr/lib $fs/usr
   12.30 -	cp -a $install/usr/share/qwt $fs/usr/share
   12.31 +	case $PACKAGE in
   12.32 +	libqwt6-qt4)
   12.33 +		DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base"
   12.34 +		mkdir -p $fs/usr/share
   12.35 +		cp -a $install/usr/lib $fs/usr
   12.36 +		cp -a $install/usr/share/qwt $fs/usr/share
   12.37 +		;;
   12.38 +	libqwt6-qt4-dev)
   12.39 +		DEPENDS="qt-x11-opensource-src libqwt6-qt4"
   12.40 +		mkdir -p $fs/usr
   12.41 +		cp -a $install/usr/include $fs/usr
   12.42 +		;;
   12.43 +	esac
   12.44  }
    13.1 --- a/mingw32-binutils/receipt	Sat Nov 11 16:20:59 2017 +0200
    13.2 +++ b/mingw32-binutils/receipt	Sat Nov 11 16:12:32 2017 +0100
    13.3 @@ -33,7 +33,10 @@
    13.4  		--disable-debug \
    13.5  		--target=$MINGW32_TARGET \
    13.6  		$CONFIGURE_ARGS &&
    13.7 -	make CFLAGS="-O2 -fno-exceptions -Wno-error=unused-but-set-variable" LDFLAGS="-s" &&
    13.8 +	make CFLAGS="-O2 -fno-exceptions -Wno-error=unused-but-set-variable \
    13.9 +-Wno-error=unused-but-set-variable -Wno-error=unused-value \
   13.10 +-Wno-error=unused-but-set-parameter -Wno-error=logical-not-parentheses \
   13.11 +-Wno-error=maybe-uninitialized -Wno-error=shift-negative-value" LDFLAGS="-s" &&
   13.12  	make DESTDIR=$DESTDIR install
   13.13  }
   13.14  
    14.1 --- a/miniupnpc-dev/receipt	Sat Nov 11 16:20:59 2017 +0200
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,20 +0,0 @@
    14.4 -# SliTaz package receipt.
    14.5 -
    14.6 -PACKAGE="miniupnpc-dev"
    14.7 -VERSION="1.8"
    14.8 -CATEGORY="development"
    14.9 -SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications client development files."
   14.10 -MAINTAINER="pascal.bellard@slitaz.org"
   14.11 -LICENSE="BSD"
   14.12 -WEB_SITE="http://miniupnp.tuxfamily.org/"
   14.13 -WANTED="miniupnpc"
   14.14 -
   14.15 -DEPENDS="miniupnpc"
   14.16 -
   14.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   14.18 -genpkg_rules()
   14.19 -{
   14.20 -	mkdir -p $fs/usr/lib
   14.21 -	cp -a $install/usr/include $fs/usr
   14.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
   14.23 -}
    15.1 --- a/miniupnpc/receipt	Sat Nov 11 16:20:59 2017 +0200
    15.2 +++ b/miniupnpc/receipt	Sat Nov 11 16:12:32 2017 +0100
    15.3 @@ -1,4 +1,4 @@
    15.4 -# SliTaz package receipt.
    15.5 +# SliTaz package receipt v2.
    15.6  
    15.7  PACKAGE="miniupnpc"
    15.8  VERSION="1.8"
    15.9 @@ -11,8 +11,8 @@
   15.10  WGET_URL="$WEB_SITE/files/$TARBALL"
   15.11  TAGS="upnp"
   15.12  
   15.13 -DEPENDS=""
   15.14  BUILD_DEPENDS=""
   15.15 +SPLIT="miniupnpc-dev"
   15.16  
   15.17  # Rules to configure and make the package.
   15.18  compile_rules()
   15.19 @@ -24,7 +24,18 @@
   15.20  # Rules to gen a SliTaz package suitable for Tazpkg.
   15.21  genpkg_rules()
   15.22  {
   15.23 -	mkdir -p $fs/usr/lib
   15.24 -	cp -a $install/usr/bin $fs/usr
   15.25 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   15.26 +	case $PAKAGE in
   15.27 +	miniupnpc)
   15.28 +		DEPENDS=""
   15.29 +		mkdir -p $fs/usr/lib
   15.30 +		cp -a $install/usr/bin $fs/usr
   15.31 +		cp -a $install/usr/lib/*.so* $fs/usr/lib
   15.32 +		;;
   15.33 +	miniupnpc-dev)
   15.34 +		DEPENDS="miniupnpc"
   15.35 +		mkdir -p $fs/usr/lib
   15.36 +		cp -a $install/usr/include $fs/usr
   15.37 +		cp -a $install/usr/lib/*a $fs/usr/lib
   15.38 +		;;
   15.39 +	esac
   15.40  }
    16.1 --- a/nagios-plugins/receipt	Sat Nov 11 16:20:59 2017 +0200
    16.2 +++ b/nagios-plugins/receipt	Sat Nov 11 16:12:32 2017 +0100
    16.3 @@ -17,7 +17,7 @@
    16.4  # Rules to configure and make the package.
    16.5  compile_rules()
    16.6  {
    16.7 -	cd $src
    16.8 +	sed -i '/gets is a security hole/d' gl/stdio*.h
    16.9  	./configure --prefix=/usr \
   16.10  	--libexecdir=/usr/lib/nagios/plugins \
   16.11  	--with-nagios-user=nobody \
    17.1 --- a/zbar-dev/receipt	Sat Nov 11 16:20:59 2017 +0200
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,21 +0,0 @@
    17.4 -# SliTaz package receipt.
    17.5 -
    17.6 -PACKAGE="zbar-dev"
    17.7 -VERSION="0.10"
    17.8 -CATEGORY="development"
    17.9 -SHORT_DESC="Decode barcode & QR code, development code."
   17.10 -MAINTAINER="pascal.bellard@slitaz.org"
   17.11 -LICENSE="LGPL2.1"
   17.12 -WEB_SITE="http://zbar.sourceforge.net/"
   17.13 -WANTED="zbar"
   17.14 -
   17.15 -DEPENDS="zbar pkg-config"
   17.16 -
   17.17 -# Rules to gen a SliTaz package suitable for Tazpkg.   
   17.18 -genpkg_rules()                                      
   17.19 -{
   17.20 -	mkdir -p $fs/usr/lib
   17.21 -	cp -a $install/usr/include $fs/usr
   17.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
   17.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   17.24 -}
    18.1 --- a/zbar/receipt	Sat Nov 11 16:20:59 2017 +0200
    18.2 +++ b/zbar/receipt	Sat Nov 11 16:12:32 2017 +0100
    18.3 @@ -1,4 +1,4 @@
    18.4 -# SliTaz package receipt.
    18.5 +# SliTaz package receipt v2.
    18.6  
    18.7  PACKAGE="zbar"
    18.8  VERSION="0.10"
    18.9 @@ -10,16 +10,15 @@
   18.10  WEB_SITE="http://zbar.sourceforge.net/"
   18.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   18.12  
   18.13 -DEPENDS="jpeg imagemagick pango cairo freetype fontconfig atk gtk+ glib"
   18.14  BUILD_DEPENDS="linux-api-headers jpeg-dev imagemagick-dev pango-dev cairo-dev \
   18.15  freetype-dev fontconfig-dev atk-dev gtk+-dev glib-dev util-linux-uuid-dev \
   18.16  lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev gdk-pixbuf libxml2-dev \
   18.17  libtool"
   18.18 +SPLIT="zbar-dev"
   18.19  
   18.20  # Rules to configure and make the package.
   18.21  compile_rules()
   18.22  {
   18.23 -	cd $src
   18.24  	./configure --prefix=/usr --mandir=/usr/share/man \
   18.25  		--localstatedir=/var \
   18.26  		--without-qt \
   18.27 @@ -33,7 +32,19 @@
   18.28  # Rules to gen a SliTaz package suitable for Tazpkg.   
   18.29  genpkg_rules()                                      
   18.30  {
   18.31 -	mkdir -p $fs/usr/lib
   18.32 -	cp -a $install/usr/bin $fs/usr
   18.33 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   18.34 +	case $PACKAGE in
   18.35 +	zbar)
   18.36 +		DEPENDS="jpeg imagemagick pango cairo freetype fontconfig atk gtk+ glib"
   18.37 +		mkdir -p $fs/usr/lib
   18.38 +		cp -a $install/usr/bin $fs/usr
   18.39 +		cp -a $install/usr/lib/*.so* $fs/usr/lib
   18.40 +		;;
   18.41 +	zbar-dev)
   18.42 +		DEPENDS="zbar pkg-config"
   18.43 +		mkdir -p $fs/usr/lib
   18.44 +		cp -a $install/usr/include $fs/usr
   18.45 +		cp -a $install/usr/lib/*a $fs/usr/lib
   18.46 +		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   18.47 +		;;
   18.48 +	esac
   18.49  }