wok-next rev 20462

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 06 03:00:01 2018 +0200 (2018-03-06)
parents 42d9d6d83956
children e323d0535e2c
files cairo-clock-themes/receipt cairo-clock/receipt caps/receipt cdrdao-utils/receipt cdrdao/receipt cndrvcups-common-dev/receipt cndrvcups-common/receipt compface/receipt esound-dev/receipt esound/receipt espeak-dev/receipt espeak/receipt evolution-data-server-dev/receipt evolution-data-server/receipt gcc61-lib-base/receipt gcc61/receipt gnome-keyring/receipt gnome-menus-dev/receipt gnome-menus/receipt gsoap-dev/receipt gsoap/receipt gtk-sharp-dev/receipt gtk-sharp/receipt gtkmm-dev/receipt gtkmm/receipt i3-man/receipt i3/receipt libappindicator-gtk2/receipt libappindicator-gtk3/receipt libasyncns-dev/receipt libasyncns/receipt libftdi-dev/receipt libftdi/receipt libglu-mesa-dev/receipt libglu-mesa/receipt libhangul-dev/receipt libhangul/receipt libhx-dev/receipt libhx/receipt libmcrypt-dev/receipt libmcrypt/receipt libmediainfo-dev/receipt libmediainfo/receipt libmikmod-dev/receipt libmikmod/receipt libmowgli-dev/receipt libmowgli/receipt libofx-dev/receipt libofx/receipt libpri-dev/receipt libpri/receipt libsmpeg-dev/receipt libsmpeg/receipt libva-intel-driver/receipt libvalhalla-dev/receipt libvalhalla/receipt libzim-dev/receipt libzim/receipt matio-dev/receipt matio/receipt mhash-dev/receipt mhash/receipt mlt-dev/receipt mlt/receipt network-manager-dev/receipt network-manager/receipt ossp-uuid-dev/receipt ossp-uuid/receipt parted-dev/receipt parted/receipt physfs-dev/receipt physfs/receipt podofo-dev/receipt podofo/receipt python-vte/receipt qxmpp-dev/receipt qxmpp/receipt radiusclient-ng-dev/receipt radiusclient-ng/receipt rsh/receipt rshd/receipt thunar-vfs-dev/receipt thunar-vfs/receipt weston-dev/receipt weston/receipt x11vnc-extra/receipt x11vnc/receipt xbm2xface/receipt
line diff
     1.1 --- a/cairo-clock-themes/receipt	Sun Mar 04 04:56:40 2018 +0200
     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="cairo-clock-themes"
     1.7 -VERSION="0.3.4"
     1.8 -CATEGORY="x-window"
     1.9 -SHORT_DESC="Set of themes for cairo-clock."
    1.10 -MAINTAINER="pankso@slitaz.org"
    1.11 -LICENSE="GPL2"
    1.12 -WANTED="cairo-clock"
    1.13 -WEB_SITE="http://macslow.thepimp.net/?page_id=23"
    1.14 -
    1.15 -DEPENDS="cairo-clock"
    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/share/cairo-clock
    1.21 -	cp -a $install/usr/share/cairo-clock/themes $fs/usr/share/cairo-clock
    1.22 -	rm -rf $fs/usr/share/cairo-clock/themes/default
    1.23 -}
     2.1 --- a/cairo-clock/receipt	Sun Mar 04 04:56:40 2018 +0200
     2.2 +++ b/cairo-clock/receipt	Tue Mar 06 03:00:01 2018 +0200
     2.3 @@ -1,35 +1,45 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="cairo-clock"
     2.8  VERSION="0.3.4"
     2.9  CATEGORY="x-window"
    2.10 -SHORT_DESC="Nice analog clock displaying the system-time."
    2.11 +SHORT_DESC="Nice analog clock displaying the system-time"
    2.12  MAINTAINER="pankso@slitaz.org"
    2.13  LICENSE="GPL2"
    2.14 +WEB_SITE="http://macslow.thepimp.net/?page_id=23"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17 -WEB_SITE="http://macslow.thepimp.net/?page_id=23"
    2.18  #WGET_URL="http://macslow.thepimp.net/projects/cairo-clock/$TARBALL"
    2.19  WGET_URL="http://ftp.de.debian.org/debian/pool/main/c/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz"
    2.20  
    2.21 -DEPENDS="gtk+ cairo librsvg xorg-xcompmgr libglade libgsf"
    2.22  BUILD_DEPENDS="intltool gtk+ cairo-dev librsvg-dev libglade-dev libgsf-dev \
    2.23  libcroco gcc3"
    2.24 +SPLIT="cairo-clock-themes"
    2.25  
    2.26 -# Rules to configure and make the package.
    2.27 -compile_rules()
    2.28 -{
    2.29 -	cd $src
    2.30 -	./configure CC=gcc-3 $CONFIGURE_ARGS && 
    2.31 +compile_rules() {
    2.32 +	./configure \
    2.33 +		CC=gcc-3 \
    2.34 +		$CONFIGURE_ARGS &&
    2.35  	make && make install
    2.36  }
    2.37  
    2.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.39 -genpkg_rules()
    2.40 -{
    2.41 -	mkdir -p $fs/usr/share/$PACKAGE/themes
    2.42 -	cp -a $install/usr/bin $fs/usr
    2.43 -	cp -a $install/usr/share/$PACKAGE/glade \
    2.44 -		$fs/usr/share/$PACKAGE
    2.45 -	cp -a $install/usr/share/$PACKAGE/themes/default \
    2.46 -		$fs/usr/share/$PACKAGE/themes
    2.47 +genpkg_rules() {
    2.48 +	case $PACKAGE in
    2.49 +		cairo-clock)
    2.50 +			mkdir -p $fs/usr/share/$PACKAGE/themes
    2.51 +			cp -a $install/usr/bin $fs/usr
    2.52 +			cp -a $install/usr/share/$PACKAGE/glade \
    2.53 +				$fs/usr/share/$PACKAGE
    2.54 +			cp -a $install/usr/share/$PACKAGE/themes/default \
    2.55 +				$fs/usr/share/$PACKAGE/themes
    2.56 +			DEPENDS="gtk+ cairo librsvg xorg-xcompmgr libglade libgsf"
    2.57 +			;;
    2.58 +		cairo-clock-themes)
    2.59 +			mkdir -p $fs/usr/share/cairo-clock
    2.60 +			cp -a $install/usr/share/cairo-clock/themes $fs/usr/share/cairo-clock
    2.61 +			rm -rf $fs/usr/share/cairo-clock/themes/default
    2.62 +			CAT="x-window|set of themes"
    2.63 +			DEPENDS="cairo-clock"
    2.64 +			;;
    2.65 +	esac
    2.66  }
     3.1 --- a/caps/receipt	Sun Mar 04 04:56:40 2018 +0200
     3.2 +++ b/caps/receipt	Tue Mar 06 03:00:01 2018 +0200
     3.3 @@ -1,25 +1,27 @@
     3.4  # SliTaz package receipt v2.
     3.5  
     3.6  PACKAGE="caps"
     3.7 -VERSION="0.4.4"
     3.8 +VERSION="0.9.24"
     3.9  CATEGORY="multimedia"
    3.10  SHORT_DESC="The CAPS Audio Plugin Suite"
    3.11  MAINTAINER="paul@slitaz.org"
    3.12  LICENSE="GPL2"
    3.13  WEB_SITE="http://quitte.de/dsp/caps.html"
    3.14  
    3.15 -TARBALL="${PACKAGE}_${VERSION}.tar.gz"
    3.16 +TARBALL="${PACKAGE}_${VERSION}.tar.bz2"
    3.17  WGET_URL="http://quitte.de/dsp/$TARBALL"
    3.18  
    3.19  BUILD_DEPENDS="python"
    3.20  
    3.21  compile_rules() {
    3.22  	./configure.py &&
    3.23 -	make rdf &&
    3.24 -	make caps.so || return 1
    3.25 -
    3.26 -	install -Dm644 $src/caps.rdf $install/usr/share/ladspa/rdf/caps.rdf
    3.27 -	install -Dm755 $src/caps.so  $install/usr/lib/ladspa/caps.so
    3.28 +	make &&
    3.29 +	make install
    3.30 +#	make rdf &&
    3.31 +#	make caps.so || return 1
    3.32 +#
    3.33 +#	install -Dm644 $src/caps.rdf $install/usr/share/ladspa/rdf/caps.rdf
    3.34 +#	install -Dm755 $src/caps.so  $install/usr/lib/ladspa/caps.so
    3.35  }
    3.36  
    3.37  genpkg_rules() {
     4.1 --- a/cdrdao-utils/receipt	Sun Mar 04 04:56:40 2018 +0200
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,20 +0,0 @@
     4.4 -# SliTaz package receipt
     4.5 -
     4.6 -PACKAGE="cdrdao-utils"
     4.7 -VERSION="1.2.3"
     4.8 -CATEGORY="multimedia"
     4.9 -SHORT_DESC=" cdrdao extra utilities for recording audio/data CD-Rs"
    4.10 -MAINTAINER="jozee@slitaz.org"
    4.11 -LICENSE="GPL2"
    4.12 -WANTED="cdrdao"
    4.13 -WEB_SITE="http://downloads.sourceforge.net/$PACKAGE" 
    4.14 -
    4.15 -DEPENDS="lame libao libmad libogg libvorbis"
    4.16 -
    4.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.18 -genpkg_rules()
    4.19 -{
    4.20 -	mkdir -p $fs/usr/bin
    4.21 -	cp -a $install/usr/bin/ $fs/usr
    4.22 -	rm $fs/usr/bin/cdrdao
    4.23 -}
     5.1 --- a/cdrdao/receipt	Sun Mar 04 04:56:40 2018 +0200
     5.2 +++ b/cdrdao/receipt	Tue Mar 06 03:00:01 2018 +0200
     5.3 @@ -1,21 +1,20 @@
     5.4 -# SliTaz package receipt.
     5.5 +# SliTaz package receipt v2.
     5.6  
     5.7  PACKAGE="cdrdao"
     5.8  VERSION="1.2.3"
     5.9  CATEGORY="multimedia"
    5.10 -SHORT_DESC="Records audio/data CD-Rs using toc files"
    5.11 +SHORT_DESC="Records audio/data CD-Rs using TOC files"
    5.12  MAINTAINER="jozee@slitaz.org"
    5.13  LICENSE="GPL2"
    5.14 +WEB_SITE="https://sourceforge.net/projects/cdrdao/"
    5.15 +
    5.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    5.17 -WEB_SITE="http://downloads.sourceforge.net/$PACKAGE" 
    5.18 -WGET_URL="$WEB_SITE/$TARBALL"
    5.19 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    5.20  
    5.21 -DEPENDS="gcc-lib-base lame libmad libvorbis libao"
    5.22  BUILD_DEPENDS="lame-dev libmad-dev libvorbis-dev libao-dev libao libogg-dev"
    5.23 +SPLIT="cdrdao-utils"
    5.24  
    5.25 -# Rules to configure and make the package.
    5.26 -compile_rules()
    5.27 -{
    5.28 +compile_rules() {
    5.29  	for i in trackdb/*.cc ; do
    5.30  		grep -q string.h $i && continue
    5.31  		grep -q util.h $i || continue
    5.32 @@ -28,15 +27,28 @@
    5.33  		scsilib/libscg/scsi-linux-sg.c
    5.34  	patch -Np1 -i $stuff/$PACKAGE-$VERSION-stat.patch || return 1
    5.35  	export CXXFLAGS="-Wno-narrowing"
    5.36 -	./configure --prefix=/usr --with-lame $CONFIGURE_ARGS &&
    5.37 +	./configure \
    5.38 +		--prefix=/usr \
    5.39 +		--with-lame \
    5.40 +		$CONFIGURE_ARGS &&
    5.41  	make &&
    5.42  	make DESTDIR=$DESTDIR install
    5.43  }
    5.44  
    5.45 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.46 -genpkg_rules()
    5.47 -{
    5.48 -	mkdir -p $fs/usr/bin
    5.49 -	cp -a $install/usr/bin/cdrdao $fs/usr/bin
    5.50 -	cp -a $install/usr/share $fs/usr
    5.51 +genpkg_rules() {
    5.52 +	case $PACKAGE in
    5.53 +		cdrdao)
    5.54 +			mkdir -p $fs/usr/bin
    5.55 +			cp -a $install/usr/bin/cdrdao $fs/usr/bin
    5.56 +			cp -a $install/usr/share $fs/usr
    5.57 +			DEPENDS="gcc-lib-base lame libmad libvorbis libao"
    5.58 +			;;
    5.59 +		cdrdao-utils)
    5.60 +			mkdir -p $fs/usr/bin
    5.61 +			cp -a $install/usr/bin/ $fs/usr
    5.62 +			rm $fs/usr/bin/cdrdao
    5.63 +			CAT="multimedia|extra utilities"
    5.64 +			DEPENDS="lame libao libmad libogg libvorbis"
    5.65 +			;;
    5.66 +	esac
    5.67  }
     6.1 --- a/cndrvcups-common-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,19 +0,0 @@
     6.4 -# SliTaz package receipt.
     6.5 -
     6.6 -PACKAGE="cndrvcups-common-dev"
     6.7 -VERSION="1.80"
     6.8 -CATEGORY="development"
     6.9 -SHORT_DESC="cndrvcups-common devel file"
    6.10 -MAINTAINER="jozee@slitaz.org"
    6.11 -LICENSE="other"
    6.12 -WANTED="cndrvcups-common"
    6.13 -SOURCE="ufr2linuxv180"
    6.14 -WEB_SITE="http://www.canon.com.au/pps/colour/imagepress_c1_drivers.aspx"
    6.15 -
    6.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
    6.17 -genpkg_rules()
    6.18 -{
    6.19 -	mkdir -p $fs/usr/lib
    6.20 -	cp -a $install/usr/include $fs/usr
    6.21 -	cp -a $install/usr/lib/*.a $fs/usr/lib
    6.22 -}
     7.1 --- a/cndrvcups-common/receipt	Sun Mar 04 04:56:40 2018 +0200
     7.2 +++ b/cndrvcups-common/receipt	Tue Mar 06 03:00:01 2018 +0200
     7.3 @@ -1,89 +1,91 @@
     7.4 -# SliTaz package receipt.
     7.5 +# SliTaz package receipt v2.
     7.6  
     7.7  PACKAGE="cndrvcups-common"
     7.8  VERSION="1.80"
     7.9  CATEGORY="system-tools"
    7.10 +SHORT_DESC="Canon URF2 driver with support for LBP, iR and MF series printers"
    7.11  MAINTAINER="jozee@slitaz.org"
    7.12  LICENSE="other"
    7.13 -SHORT_DESC="Canon URF2 driver with support for LBP, iR and MF series printers"
    7.14  WEB_SITE="http://www.canon.com.au/pps/colour/imagepress_c1_drivers.aspx"
    7.15 -SOURCE="ufr2linuxv180"
    7.16 -TARBALL="${SOURCE}.zip"
    7.17 +
    7.18 +TARBALL="ufr2linuxv180.zip"
    7.19  WGET_URL="http://www.service.canon.com.au/drivers/files/$TARBALL"
    7.20 -TAGS="printer driver"
    7.21  
    7.22 -DEPENDS="cups cairo gtk+"
    7.23  BUILD_DEPENDS="autoconf automake cairo-dev gtk+-dev cups-dev libtool"
    7.24 -
    7.25 -# Rules to configure and make the package.
    7.26 +SPLIT="cndrvcups-common-dev"
    7.27  
    7.28  compile_rules() {
    7.29 -	
    7.30 -    cd $src
    7.31 +	[ -d cndrvcups-common-$VERSION ] || tar xzf Sources/cndrvcups-common-${VERSION}-1.tar.gz
    7.32  
    7.33 -    [ -d cndrvcups-common-$VERSION ] || tar xzf Sources/cndrvcups-common-${VERSION}-1.tar.gz
    7.34 +	cd $src/cndrvcups-common-$VERSION/buftool
    7.35 +	./autogen.sh --prefix=/usr $CONFIGURE_ARGS &&
    7.36 +	make &&
    7.37 +	make DESTDIR=$DESTDIR LIBDIR=/usr/lib install || return 1
    7.38  
    7.39 -    cd $src/cndrvcups-common-$VERSION/buftool
    7.40 -    ./autogen.sh --prefix=/usr $CONFIGURE_ARGS &&
    7.41 -    make &&
    7.42 -    make DESTDIR=$DESTDIR LIBDIR=/usr/lib install
    7.43 +	cd $src/cndrvcups-common-$VERSION/cpca
    7.44 +	./autogen.sh --prefix=/usr $CONFIGURE_ARGS &&
    7.45 +	make &&
    7.46 +	make DESTDIR=$DESTDIR LIBDIR=$DESTDIR/usr/lib install || return 1
    7.47  
    7.48 -    cd $src/cndrvcups-common-$VERSION/cpca
    7.49 -    ./autogen.sh --prefix=/usr $CONFIGURE_ARGS &&
    7.50 -    make &&
    7.51 -    make DESTDIR=$DESTDIR LIBDIR=$DESTDIR/usr/lib install
    7.52 +	cd $src/cndrvcups-common-$VERSION/cngplp
    7.53 +	./autogen.sh --prefix=/usr $CONFIGURE_ARGS &&
    7.54 +	make &&
    7.55 +	make DESTDIR=$DESTDIR install || return 1
    7.56  
    7.57 -    cd $src/cndrvcups-common-$VERSION/cngplp
    7.58 -    ./autogen.sh --prefix=/usr $CONFIGURE_ARGS &&
    7.59 -    make && \
    7.60 -    make DESTDIR=$DESTDIR install
    7.61 -
    7.62 -    cd $src/cndrvcups-common-$VERSION/c3plmod_ipc
    7.63 -    make && cp -a $src/cndrvcups-common-$VERSION $DESTDIR
    7.64 -}
    7.65 -	
    7.66 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.67 -genpkg_rules()
    7.68 -{
    7.69 -	mkdir -p $fs/usr/lib \
    7.70 -			 $fs/usr/bin/ \
    7.71 -			 $fs/usr/share/caepcm \
    7.72 -			 $fs/usr/share/licenses/$PACKAGE \
    7.73 -			 $fs/etc
    7.74 -
    7.75 -	cp -a $install/cndrvcups-common-$VERSION/libs/*.so* $fs/usr/lib
    7.76 -	cp -a $install/cndrvcups-common-$VERSION/libs/cnpkmodule $fs/usr/bin/
    7.77 -	cp -a $install/cndrvcups-common-$VERSION/libs/c3pldrv $fs/usr/bin/
    7.78 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    7.79 -	cp -a $install/etc $fs
    7.80 -	cp -a $install/usr $fs
    7.81 -	cp -a $install/cndrvcups-common-$VERSION/c3plmod_ipc/libcanonc3pl.so.1.0.0 $fs/usr/lib
    7.82 -	cp -a $install/cndrvcups-common-$VERSION/data/C*   $fs/usr/share/caepcm
    7.83 -
    7.84 -	# gzip all ppd files
    7.85 -	#find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9
    7.86 -
    7.87 -	cd $fs/usr/lib
    7.88 -    ln -sf libc3pl.so.0.0.1 libc3pl.so.0
    7.89 -    ln -sf libc3pl.so.0.0.1 libc3pl.so
    7.90 -
    7.91 -    ln -sf libcnaccm.so.1.0 libcnaccm.so.1
    7.92 -    ln -sf libcnaccm.so.1.0 libcnaccm.so
    7.93 -
    7.94 -    ln -sf libcaepcm.so.1.0 libcaepcm.so.1
    7.95 -    ln -sf libcaepcm.so.1.0 libcaepcm.so
    7.96 -
    7.97 -    ln -sf libcnlbcm.so.1.0 libcnlbcm.so.1
    7.98 -    ln -sf libcnlbcm.so.1.0 libcnlbcm.so
    7.99 -
   7.100 -    ln -sf libcaiowrap.so.1.0.0 libcaiowrap.so.1
   7.101 -    ln -sf libcaiowrap.so.1.0.0 libcaiowrap.so
   7.102 -
   7.103 -    ln -sf libcaiousb.so.1.0.0 libcaiousb.so.1
   7.104 -    ln -sf libcaiousb.so.1.0.0 libcaiousb.so
   7.105 -
   7.106 -    ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so.1
   7.107 -    ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so
   7.108 +	cd $src/cndrvcups-common-$VERSION/c3plmod_ipc
   7.109 +	make &&
   7.110 +	cp -a $src/cndrvcups-common-$VERSION $DESTDIR
   7.111  }
   7.112  
   7.113 +genpkg_rules() {
   7.114 +	case $PACKAGE in
   7.115 +		cndrvcups-common)
   7.116 +			mkdir -p $fs/usr/lib \
   7.117 +					 $fs/usr/bin/ \
   7.118 +					 $fs/usr/share/caepcm \
   7.119 +					 $fs/usr/share/licenses/$PACKAGE \
   7.120 +					 $fs/etc
   7.121  
   7.122 +			cp -a $install/cndrvcups-common-$VERSION/libs/*.so* $fs/usr/lib
   7.123 +			cp -a $install/cndrvcups-common-$VERSION/libs/cnpkmodule $fs/usr/bin/
   7.124 +			cp -a $install/cndrvcups-common-$VERSION/libs/c3pldrv $fs/usr/bin/
   7.125 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   7.126 +			cp -a $install/etc $fs
   7.127 +			cp -a $install/usr $fs
   7.128 +			cp -a $install/cndrvcups-common-$VERSION/c3plmod_ipc/libcanonc3pl.so.1.0.0 $fs/usr/lib
   7.129 +			cp -a $install/cndrvcups-common-$VERSION/data/C*   $fs/usr/share/caepcm
   7.130 +
   7.131 +			# gzip all ppd files
   7.132 +			#find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9
   7.133 +
   7.134 +			cd $fs/usr/lib
   7.135 +			ln -sf libc3pl.so.0.0.1 libc3pl.so.0
   7.136 +			ln -sf libc3pl.so.0.0.1 libc3pl.so
   7.137 +
   7.138 +			ln -sf libcnaccm.so.1.0 libcnaccm.so.1
   7.139 +			ln -sf libcnaccm.so.1.0 libcnaccm.so
   7.140 +
   7.141 +			ln -sf libcaepcm.so.1.0 libcaepcm.so.1
   7.142 +			ln -sf libcaepcm.so.1.0 libcaepcm.so
   7.143 +
   7.144 +			ln -sf libcnlbcm.so.1.0 libcnlbcm.so.1
   7.145 +			ln -sf libcnlbcm.so.1.0 libcnlbcm.so
   7.146 +
   7.147 +			ln -sf libcaiowrap.so.1.0.0 libcaiowrap.so.1
   7.148 +			ln -sf libcaiowrap.so.1.0.0 libcaiowrap.so
   7.149 +
   7.150 +			ln -sf libcaiousb.so.1.0.0 libcaiousb.so.1
   7.151 +			ln -sf libcaiousb.so.1.0.0 libcaiousb.so
   7.152 +
   7.153 +			ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so.1
   7.154 +			ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so
   7.155 +			DEPENDS="cups cairo gtk+"
   7.156 +			TAGS="printer driver"
   7.157 +			;;
   7.158 +		*-dev)
   7.159 +			mkdir -p $fs/usr/lib
   7.160 +			cp -a $install/usr/include $fs/usr
   7.161 +			cp -a $install/usr/lib/*.a $fs/usr/lib
   7.162 +			;;
   7.163 +	esac
   7.164 +}
     8.1 --- a/compface/receipt	Sun Mar 04 04:56:40 2018 +0200
     8.2 +++ b/compface/receipt	Tue Mar 06 03:00:01 2018 +0200
     8.3 @@ -11,19 +11,25 @@
     8.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     8.5  WGET_URL="http://ftp.xemacs.org/pub/xemacs/aux/$TARBALL"
     8.6  
     8.7 -SPLIT="compface-dev"
     8.8 +SPLIT="xbm2xface compface compface-dev"
     8.9  
    8.10 -# Rules to configure and make the package.
    8.11 -compile_rules()
    8.12 -{
    8.13 -	./configure $CONFIGURE_ARGS && make && make install
    8.14 +compile_rules() {
    8.15 +	./configure $CONFIGURE_ARGS && make && make install || return 1
    8.16 +
    8.17 +	install -Dm755 $src/xbm2xface.pl $install/usr/bin/xbm2xface.pl
    8.18  }
    8.19  
    8.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
    8.21 -genpkg_rules()
    8.22 -{
    8.23 +genpkg_rules() {
    8.24  	case $PACKAGE in
    8.25 -		compface) copy @std ;;
    8.26 -		compface-dev) copy @dev ;;
    8.27 +		xbm2xface)
    8.28 +			copy xbm2xface.pl
    8.29 +			DEPENDS="compface perl"
    8.30 +			;;
    8.31 +		compface)
    8.32 +			copy @std @rm
    8.33 +			;;
    8.34 +		*-dev)
    8.35 +			copy @dev
    8.36 +			;;
    8.37  	esac
    8.38  }
     9.1 --- a/esound-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,23 +0,0 @@
     9.4 -# SliTaz package receipt.
     9.5 -
     9.6 -PACKAGE="esound-dev"
     9.7 -VERSION="0.2.41"
     9.8 -CATEGORY="development"
     9.9 -SHORT_DESC="Enlightened Sound Daemon"
    9.10 -MAINTAINER="allan316@gmail.com"
    9.11 -LICENSE="GPL2"
    9.12 -WEB_SITE="http://www.tux.org/~ricdude/EsounD.html"
    9.13 -
    9.14 -WANTED="esound"
    9.15 -DEPENDS="esound pkg-config"
    9.16 -
    9.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    9.18 -genpkg_rules()
    9.19 -{
    9.20 -	mkdir -p $fs/usr/lib
    9.21 -	cp -a $install/usr/include $fs/usr
    9.22 -	cp -a $install/usr/lib/*.la $fs/usr/lib
    9.23 -	cp -a $install/usr/lib/*.a $fs/usr/lib
    9.24 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    9.25 -}
    9.26 -
    10.1 --- a/esound/receipt	Sun Mar 04 04:56:40 2018 +0200
    10.2 +++ b/esound/receipt	Tue Mar 06 03:00:01 2018 +0200
    10.3 @@ -1,4 +1,4 @@
    10.4 -# SliTaz package receipt.
    10.5 +# SliTaz package receipt v2.
    10.6  
    10.7  PACKAGE="esound"
    10.8  VERSION="0.2.41"
    10.9 @@ -7,16 +7,14 @@
   10.10  MAINTAINER="allan316@gmail.com"
   10.11  LICENSE="GPL2"
   10.12  WEB_SITE="http://www.tux.org/~ricdude/EsounD.html"
   10.13 +
   10.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   10.15  WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/esound/${VERSION%.*}/$TARBALL"
   10.16 -TAGS="audio sound"
   10.17  
   10.18 -DEPENDS="audiofile alsa-lib"
   10.19  BUILD_DEPENDS="audiofile-dev alsa-lib-dev"
   10.20 +SPLIT="esound-dev"
   10.21  
   10.22 -# Rules to configure and make the package.
   10.23 -compile_rules()
   10.24 -{
   10.25 +compile_rules() {
   10.26  	./configure \
   10.27  		--sysconfdir=/etc \
   10.28  		$CONFIGURE_ARGS &&
   10.29 @@ -24,11 +22,22 @@
   10.30  	make DESTDIR=$install install
   10.31  }
   10.32  
   10.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
   10.34 -genpkg_rules()
   10.35 -{
   10.36 -	mkdir -p $fs/usr/lib
   10.37 -	cp -a $install/usr/bin $fs/usr
   10.38 -	cp -a $install/etc $fs
   10.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   10.40 +genpkg_rules() {
   10.41 +	case $PACKAGE in
   10.42 +		esound)
   10.43 +			mkdir -p $fs/usr/lib
   10.44 +			cp -a $install/usr/bin $fs/usr
   10.45 +			cp -a $install/etc $fs
   10.46 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   10.47 +			DEPENDS="audiofile alsa-lib"
   10.48 +			TAGS="audio sound"
   10.49 +			;;
   10.50 +		*-dev)
   10.51 +			mkdir -p $fs/usr/lib
   10.52 +			cp -a $install/usr/include $fs/usr
   10.53 +			cp -a $install/usr/lib/*.la $fs/usr/lib
   10.54 +			cp -a $install/usr/lib/*.a $fs/usr/lib
   10.55 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   10.56 +			;;
   10.57 +	esac
   10.58  }
    11.1 --- a/espeak-dev/receipt	Sun Mar 04 04:56:40 2018 +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="espeak-dev"
    11.7 -VERSION="1.45.05"
    11.8 -CATEGORY="misc"
    11.9 -SHORT_DESC="Speech synthesizer devel files."
   11.10 -MAINTAINER="erjo@slitaz.org"
   11.11 -LICENSE="GPL3"
   11.12 -WANTED="espeak"
   11.13 -WEB_SITE="http://espeak.sourceforge.net/"
   11.14 -
   11.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   11.16 -genpkg_rules()
   11.17 -{
   11.18 -	mkdir -p $fs/usr/lib
   11.19 -	cp -a $install/usr/lib/*.a* $fs/usr/lib
   11.20 -	cp -a $install/usr/include $fs/usr
   11.21 -}
   11.22 -
    12.1 --- a/espeak/receipt	Sun Mar 04 04:56:40 2018 +0200
    12.2 +++ b/espeak/receipt	Tue Mar 06 03:00:01 2018 +0200
    12.3 @@ -1,42 +1,47 @@
    12.4 -# SliTaz package receipt.
    12.5 +# SliTaz package receipt v2.
    12.6  
    12.7  PACKAGE="espeak"
    12.8  VERSION="1.45.05"
    12.9  CATEGORY="misc"
   12.10 -SHORT_DESC="Speech synthesizer."
   12.11 +SHORT_DESC="Speech synthesizer"
   12.12  MAINTAINER="erjo@slitaz.org"
   12.13  LICENSE="GPL3"
   12.14 +WEB_SITE="http://espeak.sourceforge.net/"
   12.15 +
   12.16  TARBALL="$PACKAGE-$VERSION-source.zip"
   12.17 -WEB_SITE="http://espeak.sourceforge.net/"
   12.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   12.19 -TAGS="speech synthesis"
   12.20  
   12.21 -DEPENDS="portaudio jack"
   12.22 -BUILD_DEPENDS="$DEPENDS portaudio-dev jack-dev"
   12.23 +BUILD_DEPENDS="portaudio-dev jack-dev"
   12.24 +SPLIT="espeak-dev"
   12.25  
   12.26 -# Rules to configure and make the package.
   12.27 -compile_rules()
   12.28 -{
   12.29 +compile_rules() {
   12.30  	[ -d $src-source ] && mv $src-source $PACKAGE-$VERSION 2>/dev/null
   12.31  	cd $src/src
   12.32 -	
   12.33 +
   12.34  	# Using portaudio v19
   12.35  	cp portaudio19.h portaudio.h
   12.36 -	
   12.37 +
   12.38  	make && make DESTDIR=$DESTDIR install
   12.39  }
   12.40  
   12.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
   12.42 -genpkg_rules()
   12.43 -{
   12.44 -	
   12.45 -	mkdir -p $fs/usr/lib
   12.46 -	cp -a $install/usr/bin $fs/usr
   12.47 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   12.48 -	cp -a $install/usr/share $fs/usr
   12.49 -	
   12.50 -	# Make symlink
   12.51 -	#cd $fs/usr/lib
   12.52 -	#ln -s libespeak.so.1.1.42 libespeak.so.1
   12.53 +genpkg_rules() {
   12.54 +	case $PACKAGE in
   12.55 +		espeak)
   12.56 +			mkdir -p $fs/usr/lib
   12.57 +			cp -a $install/usr/bin $fs/usr
   12.58 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   12.59 +			cp -a $install/usr/share $fs/usr
   12.60 +
   12.61 +			# Make symlink
   12.62 +			#cd $fs/usr/lib
   12.63 +			#ln -s libespeak.so.1.1.42 libespeak.so.1
   12.64 +			DEPENDS="portaudio jack"
   12.65 +			TAGS="speech synthesis"
   12.66 +			;;
   12.67 +		*-dev)
   12.68 +			mkdir -p $fs/usr/lib
   12.69 +			cp -a $install/usr/lib/*.a* $fs/usr/lib
   12.70 +			cp -a $install/usr/include $fs/usr
   12.71 +			;;
   12.72 +	esac
   12.73  }
   12.74 -
    13.1 --- a/evolution-data-server-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,29 +0,0 @@
    13.4 -# SliTaz package receipt.
    13.5 -
    13.6 -PACKAGE="evolution-data-server-dev"
    13.7 -VERSION="2.28.1"
    13.8 -CATEGORY="development"
    13.9 -SHORT_DESC="Integrated mail, addressbook and calendaring, server developement files."
   13.10 -MAINTAINER="erjo@slitaz.org"
   13.11 -LICENSE="LGPL2"
   13.12 -WEB_SITE="http://projects.gnome.org/evolution/download.shtml"
   13.13 -WANTED="evolution-data-server"
   13.14 -
   13.15 -DEPENDS="evolution-data-server"
   13.16 -
   13.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   13.18 -genpkg_rules()
   13.19 -{
   13.20 -	mkdir -p $fs/usr/lib
   13.21 -	
   13.22 -	cp -a $install/usr/include $fs/usr 
   13.23 -	
   13.24 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   13.25 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   13.26 -	cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib
   13.27 -	
   13.28 -		# Clean unwated files
   13.29 -	cd $fs/usr/lib  ; find . -name "*.so*" -exec rm -f {} \;
   13.30 -
   13.31 -}
   13.32 -
    14.1 --- a/evolution-data-server/receipt	Sun Mar 04 04:56:40 2018 +0200
    14.2 +++ b/evolution-data-server/receipt	Tue Mar 06 03:00:01 2018 +0200
    14.3 @@ -1,23 +1,22 @@
    14.4 -# SliTaz package receipt.
    14.5 +# SliTaz package receipt v2.
    14.6  
    14.7  PACKAGE="evolution-data-server"
    14.8  VERSION="2.28.1"
    14.9  CATEGORY="network"
   14.10 -SHORT_DESC="Integrated mail, addressbook and calendaring, server."
   14.11 +SHORT_DESC="Integrated mail, addressbook and calendaring, server"
   14.12  MAINTAINER="erjo@slitaz.org"
   14.13  LICENSE="LGPL2"
   14.14 +WEB_SITE="http://projects.gnome.org/evolution/download.shtml"
   14.15 +
   14.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   14.17 -WEB_SITE="http://projects.gnome.org/evolution/download.shtml"
   14.18 -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/evolution-data-server/${VERSION%.*}/$TARBALL"
   14.19 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   14.20  
   14.21 -DEPENDS="libgnomeui libsoup"
   14.22 -BUILD_DEPENDS="libglade-dev libsoup-dev gtk+-dev orbit2-dev libbonobo-dev GConf-dev libical-dev
   14.23 - firefox-dev db-dev xorg-libxcb-dev popt-dev bison flex glib-dev sqlite3-dev"
   14.24 +BUILD_DEPENDS="libglade-dev libsoup-dev gtk+-dev orbit2-dev libbonobo-dev \
   14.25 +GConf-dev libical-dev firefox-dev db-dev xorg-libxcb-dev popt-dev bison flex \
   14.26 +glib-dev sqlite3-dev"
   14.27 +SPLIT="evolution-data-server-dev"
   14.28  
   14.29 -# Rules to configure and make the package.
   14.30 -compile_rules()
   14.31 -{
   14.32 -	cd $src
   14.33 +compile_rules() {
   14.34  	./configure \
   14.35  		--prefix=/usr \
   14.36  		--infodir=/usr/share/info \
   14.37 @@ -33,24 +32,38 @@
   14.38  	make && make DESTDIR=$DESTDIR install
   14.39  }
   14.40  
   14.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
   14.42 -genpkg_rules()
   14.43 -{
   14.44 -	mkdir -p $fs/usr/lib $fs/usr/share
   14.45 +genpkg_rules() {
   14.46 +	case $PACKAGE in
   14.47 +		evolution-data-server)
   14.48 +			mkdir -p $fs/usr/lib $fs/usr/share
   14.49  
   14.50 -	cp -a $install/usr/share/pixmaps $fs/usr/share
   14.51 -	cp -a $install/usr/share/evolution-data-server-2.28 $fs/usr/share
   14.52 -	cp -a $install/usr/share/idl $fs/usr/share
   14.53 -	
   14.54 -	cp -a $install/usr/lib/bonobo $fs/usr/lib
   14.55 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   14.56 -	cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib
   14.57 -	
   14.58 -		# Clean unwated files
   14.59 -	cd $fs/usr/lib  ; find . -name "*.*a" -exec rm -f {} \;
   14.60 -	
   14.61 -	# Stripping all
   14.62 -	find . -name "*.so" -exec strip -s {} \;
   14.63 -	
   14.64 +			cp -a $install/usr/share/pixmaps $fs/usr/share
   14.65 +			cp -a $install/usr/share/evolution-data-server-2.28 $fs/usr/share
   14.66 +			cp -a $install/usr/share/idl $fs/usr/share
   14.67 +
   14.68 +			cp -a $install/usr/lib/bonobo $fs/usr/lib
   14.69 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   14.70 +			cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib
   14.71 +
   14.72 +			# Clean unwated files
   14.73 +			cd $fs/usr/lib  ; find . -name "*.*a" -exec rm -f {} \;
   14.74 +
   14.75 +			# Stripping all
   14.76 +			find . -name "*.so" -exec strip -s {} \;
   14.77 +			DEPENDS="libgnomeui libsoup"
   14.78 +			;;
   14.79 +		*-dev)
   14.80 +			mkdir -p $fs/usr/lib
   14.81 +
   14.82 +			cp -a $install/usr/include $fs/usr 
   14.83 +
   14.84 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   14.85 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   14.86 +			cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib
   14.87 +
   14.88 +			# Clean unwated files
   14.89 +			cd $fs/usr/lib  ; find . -name "*.so*" -exec rm -f {} \;
   14.90 +			;;
   14.91 +	esac
   14.92  }
   14.93  
    15.1 --- a/gcc61-lib-base/receipt	Sun Mar 04 04:56:40 2018 +0200
    15.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.3 @@ -1,28 +0,0 @@
    15.4 -# SliTaz package receipt.
    15.5 -
    15.6 -PACKAGE="gcc61-lib-base"
    15.7 -VERSION="6.1.0"
    15.8 -CATEGORY="development"
    15.9 -SHORT_DESC="GCC base libraries, libgcc_s and libstdc++."
   15.10 -WEB_SITE="http://gcc.gnu.org/"
   15.11 -MAINTAINER="pankso@slitaz.org"
   15.12 -LICENSE="GPL2"
   15.13 -WANTED="gcc61"
   15.14 -PROVIDE="gcc-lib-base"
   15.15 -
   15.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
   15.17 -genpkg_rules()
   15.18 -{
   15.19 -	mkdir -p $fs/usr/lib
   15.20 -	cp -a $install/usr/libgcc61/libgcc_s.so* $fs/usr/lib
   15.21 -	cp -a $install/usr/libgcc61/libstdc++.so* $fs/usr/lib
   15.22 -	rm -f $fs/usr/lib/*-gdb.py
   15.23 -}
   15.24 -
   15.25 -post_remove()
   15.26 -{
   15.27 -	cd "$1/usr/lib"
   15.28 -	ln -s libstdc++.so.6.*.* libstdc++.so.6
   15.29 -	ln -s libstdc++.so.6.*.* libstdc++.so
   15.30 -	cd - >/dev/null
   15.31 -}
    16.1 --- a/gcc61/receipt	Sun Mar 04 04:56:40 2018 +0200
    16.2 +++ b/gcc61/receipt	Tue Mar 06 03:00:01 2018 +0200
    16.3 @@ -1,26 +1,23 @@
    16.4 -# SliTaz package receipt.
    16.5 +# SliTaz package receipt v2.
    16.6  
    16.7  PACKAGE="gcc61"
    16.8 -SOURCE="gcc"
    16.9  VERSION="6.1.0"
   16.10  CATEGORY="development"
   16.11 -SHORT_DESC="The GNU Compiler Collection."
   16.12 +SHORT_DESC="The GNU Compiler Collection"
   16.13  MAINTAINER="pankso@slitaz.org"
   16.14  LICENSE="GPL2"
   16.15 -TARBALL="$SOURCE-$VERSION.tar.bz2"
   16.16  WEB_SITE="http://gcc.gnu.org/"
   16.17 +
   16.18 +TARBALL="gcc-$VERSION.tar.bz2"
   16.19  WGET_URL="ftp://gcc.gnu.org/pub/gcc/releases/gcc-$VERSION/$TARBALL"
   16.20 -TAGS="compiler C C++"
   16.21  
   16.22  # We need gawk since busybox awk is not sufficient. We have BUILD_DEPENDS
   16.23  # for cookutils that are not used by tazwok/cook-toolchain since it installs
   16.24  # and uses its own copy.
   16.25 -DEPENDS="binutils libgomp libobjc gcc-lib-base mpc-library elfutils"
   16.26  BUILD_DEPENDS="mpc-library-dev mpfr-dev gmp-dev elfutils-dev zlib-dev"
   16.27 +SPLIT="gcc61-lib-base"
   16.28  
   16.29 -# Rules to configure and make the package.
   16.30 -compile_rules()
   16.31 -{
   16.32 +compile_rules() {
   16.33  	ARCH_ARGS="--with-tune=$ARCH"
   16.34  	pkgversion="SliTaz"
   16.35  	languages="c,c++"
   16.36 @@ -51,19 +48,38 @@
   16.37  	make && make install
   16.38  }
   16.39  
   16.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
   16.41 -genpkg_rules()
   16.42 -{
   16.43 -	mkdir -p  $fs/usr/share
   16.44 -	cp -a $install/usr/bin $fs/usr
   16.45 +genpkg_rules() {
   16.46 +	case $PACKAGE in
   16.47 +		gcc61)
   16.48 +			mkdir -p  $fs/usr/share
   16.49 +			cp -a $install/usr/bin $fs/usr
   16.50  
   16.51 -	# Copy all libs. Do not hide gcc-lib-base.
   16.52 -	cp -a $install/usr/lib* $fs/usr
   16.53 +			# Copy all libs. Do not hide gcc-lib-base.
   16.54 +			cp -a $install/usr/lib* $fs/usr
   16.55  
   16.56 -	# Include files.
   16.57 -	cp -a $install/usr/include $fs/usr
   16.58 +			# Include files.
   16.59 +			cp -a $install/usr/include $fs/usr
   16.60  
   16.61 -	# Remove build directory.
   16.62 -	rm -rf $WOK/$PACKAGE/source/$PACKAGE-build
   16.63 -	rm -rf $WOK/$PACKAGE/$PACKAGE-build
   16.64 +			# Remove build directory.
   16.65 +			rm -rf $WOK/$PACKAGE/source/$PACKAGE-build
   16.66 +			rm -rf $WOK/$PACKAGE/$PACKAGE-build
   16.67 +			DEPENDS="binutils libgomp libobjc gcc-lib-base mpc-library elfutils"
   16.68 +			TAGS="compiler C C++"
   16.69 +			;;
   16.70 +		gcc61-lib-base)
   16.71 +			mkdir -p $fs/usr/lib
   16.72 +			cp -a $install/usr/libgcc61/libgcc_s.so* $fs/usr/lib
   16.73 +			cp -a $install/usr/libgcc61/libstdc++.so* $fs/usr/lib
   16.74 +			rm -f $fs/usr/lib/*-gdb.py
   16.75 +			CAT="development|base libraries, libgcc_s and libstdc++"
   16.76 +			PROVIDE="gcc-lib-base"
   16.77 +			;;
   16.78 +	esac
   16.79  }
   16.80 +
   16.81 +post_remove_gcc61_lib_base() {
   16.82 +	cd "$1/usr/lib"
   16.83 +	ln -s libstdc++.so.6.*.* libstdc++.so.6
   16.84 +	ln -s libstdc++.so.6.*.* libstdc++.so
   16.85 +	cd - >/dev/null
   16.86 +}
    17.1 --- a/gnome-keyring/receipt	Sun Mar 04 04:56:40 2018 +0200
    17.2 +++ b/gnome-keyring/receipt	Tue Mar 06 03:00:01 2018 +0200
    17.3 @@ -1,21 +1,20 @@
    17.4 -# SliTaz package receipt.
    17.5 +# SliTaz package receipt v2.
    17.6  
    17.7  PACKAGE="gnome-keyring"
    17.8  VERSION="2.32.1"
    17.9  CATEGORY="x-window"
   17.10 -SHORT_DESC="A program that keep password and other secrets for users."
   17.11 +SHORT_DESC="A program that keep password and other secrets for users"
   17.12  MAINTAINER="pankso@slitaz.org"
   17.13  LICENSE="GPL2"
   17.14 +WEB_SITE="http://www.gnome.org"
   17.15 +
   17.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   17.17 -WEB_SITE="http://www.gnome.org"
   17.18 -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
   17.19 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   17.20  
   17.21 -DEPENDS="libgcrypt libtasn1 python dbus gtk+"
   17.22  BUILD_DEPENDS="libgcrypt-dev libtasn1-dev python-dev dbus-dev intltool gtk+-dev"
   17.23 +SPLIT="gnome-keyring-dev"
   17.24  
   17.25 -# Rules to configure and make the package.
   17.26 -compile_rules()
   17.27 -{
   17.28 +compile_rules() {
   17.29  	sed -i	-e 's|<glib.h>|&\n#include <libtasn1.h>|' \
   17.30  		-e  's|const struct static_struct_asn|const ASN1_ARRAY_TYPE|' \
   17.31  		egg/egg-asn1x.h
   17.32 @@ -26,21 +25,26 @@
   17.33  	make && make install
   17.34  }
   17.35  
   17.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   17.37 -genpkg_rules()
   17.38 -{
   17.39 -	mkdir -p $fs/usr/lib $fs/usr/share
   17.40 -	cp -a $install/etc $fs
   17.41 -	cp -a $install/usr/bin $fs/usr
   17.42 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   17.43 -	cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
   17.44 -	for i in dbus-1 GConf gcr glib-2.0 $PACKAGE
   17.45 -	do
   17.46 -		cp -a $install/usr/share/$i $fs/usr/share
   17.47 -	done
   17.48 -	
   17.49 -	# Remove devel files.
   17.50 -	rm -rf $fs/usr/lib/gnome-keyring/devel
   17.51 -	find $fs/usr/lib -name *.*a -exec rm -f {} \;	
   17.52 +genpkg_rules() {
   17.53 +	case $PACKAGE in
   17.54 +		gnome-keyring)
   17.55 +			mkdir -p $fs/usr/lib $fs/usr/share
   17.56 +			cp -a $install/etc $fs
   17.57 +			cp -a $install/usr/bin $fs/usr
   17.58 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   17.59 +			cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
   17.60 +			for i in dbus-1 GConf gcr glib-2.0 $PACKAGE
   17.61 +			do
   17.62 +				cp -a $install/usr/share/$i $fs/usr/share
   17.63 +			done
   17.64 +
   17.65 +			# Remove devel files.
   17.66 +			rm -rf $fs/usr/lib/gnome-keyring/devel
   17.67 +			find $fs/usr/lib -name *.*a -exec rm -f {} \;
   17.68 +			DEPENDS="libgcrypt libtasn1 python dbus gtk+"
   17.69 +			;;
   17.70 +		*-dev)
   17.71 +			;;
   17.72 +	esac
   17.73  }
   17.74  
    18.1 --- a/gnome-menus-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,25 +0,0 @@
    18.4 -# SliTaz package receipt.
    18.5 -
    18.6 -PACKAGE="gnome-menus-dev"
    18.7 -VERSION="2.30.2"
    18.8 -CATEGORY="development"
    18.9 -SHORT_DESC="GNOME menu used by e17."
   18.10 -MAINTAINER="pankso@slitaz.org"
   18.11 -LICENSE="GPL2"
   18.12 -WANTED="gnome-menus"
   18.13 -WEB_SITE="http://www.gnome.org/"
   18.14 -
   18.15 -DEPENDS="python-dev pkg-config"
   18.16 -
   18.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   18.18 -genpkg_rules()
   18.19 -{
   18.20 -	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
   18.21 -	mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages
   18.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   18.23 -	cp -a $install/usr/lib/$PYTHON_LIB/site-packages/*.*a \
   18.24 -		$fs/usr/lib/$PYTHON_LIB/site-packages
   18.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   18.26 -	cp -a $install/usr/include $fs/usr
   18.27 -}
   18.28 -
    19.1 --- a/gnome-menus/receipt	Sun Mar 04 04:56:40 2018 +0200
    19.2 +++ b/gnome-menus/receipt	Tue Mar 06 03:00:01 2018 +0200
    19.3 @@ -1,22 +1,21 @@
    19.4 -# SliTaz package receipt.
    19.5 +# SliTaz package receipt v2.
    19.6  
    19.7  PACKAGE="gnome-menus"
    19.8  VERSION="2.30.2"
    19.9  CATEGORY="x-window"
   19.10 -SHORT_DESC="GNOME menu libs and tools (without desktop files)."
   19.11 +SHORT_DESC="GNOME menu libs and tools (without desktop files)"
   19.12  MAINTAINER="pankso@slitaz.org"
   19.13  LICENSE="GPL2"
   19.14 +WEB_SITE="http://www.gnome.org/"
   19.15 +
   19.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   19.17 -WEB_SITE="http://www.gnome.org/"
   19.18 -WGET_URL="http://ftp.gnome.org/pub/GNOME/desktop/${VERSION%.*}/$VERSION/sources/$TARBALL"
   19.19 +#WGET_URL="http://ftp.gnome.org/pub/GNOME/desktop/${VERSION%.*}/$VERSION/sources/$TARBALL"
   19.20 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   19.21  
   19.22 -DEPENDS="glib"
   19.23  BUILD_DEPENDS="intltool python-dev python glib-dev"
   19.24 -SUGGESTED="python gamin"
   19.25 +SPLIT="gnome-menus-dev"
   19.26  
   19.27 -# Rules to configure and make the package.
   19.28 -compile_rules()
   19.29 -{
   19.30 +compile_rules() {
   19.31  	./configure \
   19.32  		--prefix=/usr \
   19.33  		--sysconfdir=/etc \
   19.34 @@ -26,12 +25,26 @@
   19.35  	make DESTDIR=$DESTDIR install
   19.36  }
   19.37  
   19.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   19.39 -genpkg_rules()
   19.40 -{
   19.41 -	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
   19.42 -	mkdir -p $fs/usr/lib
   19.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   19.44 -	cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
   19.45 -	rm $fs/usr/lib/$PYTHON_LIB/site-packages/*.*a
   19.46 +genpkg_rules() {
   19.47 +	case $PACKAGE in
   19.48 +		gnome-menus)
   19.49 +			PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
   19.50 +			mkdir -p $fs/usr/lib
   19.51 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   19.52 +			cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
   19.53 +			rm $fs/usr/lib/$PYTHON_LIB/site-packages/*.*a
   19.54 +			DEPENDS="glib"
   19.55 +			SUGGESTED="python gamin"
   19.56 +			;;
   19.57 +		*-dev)
   19.58 +			PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
   19.59 +			mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages
   19.60 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   19.61 +			cp -a $install/usr/lib/$PYTHON_LIB/site-packages/*.*a \
   19.62 +				$fs/usr/lib/$PYTHON_LIB/site-packages
   19.63 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   19.64 +			cp -a $install/usr/include $fs/usr
   19.65 +			DEPENDS="gnome-menus python-dev"
   19.66 +			;;
   19.67 +	esac
   19.68  }
    20.1 --- a/gsoap-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    20.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.3 @@ -1,21 +0,0 @@
    20.4 -# SliTaz package receipt.
    20.5 -
    20.6 -PACKAGE="gsoap-dev"
    20.7 -VERSION="2.8.7"
    20.8 -CATEGORY="development"
    20.9 -SHORT_DESC="devel files for gsoap"
   20.10 -MAINTAINER="slaxemulator@gmail.com"
   20.11 -LICENSE="GPL2"
   20.12 -WEB_SITE="http://www.cs.fsu.edu/~engelen/soap.html"
   20.13 -WANTED="gsoap"
   20.14 -
   20.15 -DEPENDS="gsoap pkg-config"
   20.16 -
   20.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   20.18 -genpkg_rules()
   20.19 -{
   20.20 -	mkdir -p $fs/usr/lib
   20.21 -	cp -a $install/usr/include $fs/usr
   20.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   20.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   20.24 -}
    21.1 --- a/gsoap/receipt	Sun Mar 04 04:56:40 2018 +0200
    21.2 +++ b/gsoap/receipt	Tue Mar 06 03:00:01 2018 +0200
    21.3 @@ -1,4 +1,4 @@
    21.4 -# SliTaz package receipt.
    21.5 +# SliTaz package receipt v2.
    21.6  
    21.7  PACKAGE="gsoap"
    21.8  VERSION="2.8.7"
    21.9 @@ -7,26 +7,37 @@
   21.10  MAINTAINER="slaxemulator@gmail.com"
   21.11  LICENSE="GPL2"
   21.12  WEB_SITE="http://www.cs.fsu.edu/~engelen/soap.html"
   21.13 +
   21.14  TARBALL="${PACKAGE}_${VERSION}.zip"
   21.15  WGET_URL="$SF_MIRROR/gsoap2/$TARBALL"
   21.16  
   21.17 -DEPENDS="openssl zlib"
   21.18  BUILD_DEPENDS="autoconf automake openssl-dev zlib-dev flex"
   21.19 +SPLIT="gsoap-dev"
   21.20  
   21.21 -# Rules to configure and make the package.
   21.22 -compile_rules()
   21.23 -{
   21.24 -	cd $src
   21.25 +compile_rules() {
   21.26  	sed -i 's/aclocal-.{am__api_version}/aclocal/' configure
   21.27  	sed -i 's/automake-.{am__api_version}/automake/' configure
   21.28 -	CXXFLAGS=-fPIC CFLAGS=-fPIC LDFLAGS=-fPIC ./configure \
   21.29 -	$CONFIGURE_ARGS && make -j1 && make install
   21.30 +	CXXFLAGS=-fPIC \
   21.31 +	CFLAGS=-fPIC \
   21.32 +	LDFLAGS=-fPIC \
   21.33 +	./configure \
   21.34 +		$CONFIGURE_ARGS &&
   21.35 +	make -j1 && make install
   21.36  }
   21.37  
   21.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   21.39 -genpkg_rules()
   21.40 -{
   21.41 -	mkdir -p $fs/usr/lib $fs/usr/share
   21.42 -	cp -a $install/usr/bin $fs/usr
   21.43 -	cp -a $install/usr/share/gsoap $fs/usr/share
   21.44 +genpkg_rules() {
   21.45 +	case $PACKAGE in
   21.46 +		gsoap)
   21.47 +			mkdir -p $fs/usr/lib $fs/usr/share
   21.48 +			cp -a $install/usr/bin $fs/usr
   21.49 +			cp -a $install/usr/share/gsoap $fs/usr/share
   21.50 +			DEPENDS="openssl zlib"
   21.51 +			;;
   21.52 +		*-dev)
   21.53 +			mkdir -p $fs/usr/lib
   21.54 +			cp -a $install/usr/include $fs/usr
   21.55 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   21.56 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   21.57 +			;;
   21.58 +	esac
   21.59  }
    22.1 --- a/gtk-sharp-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    22.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.3 @@ -1,18 +0,0 @@
    22.4 -# SliTaz package receipt.
    22.5 -
    22.6 -PACKAGE="gtk-sharp-dev"
    22.7 -VERSION="2.12.26"
    22.8 -CATEGORY="development"
    22.9 -SHORT_DESC="Gtk# is a Graphical User Interface Toolkit for mono and .Net"
   22.10 -MAINTAINER="al.bobylev@gmail.com"
   22.11 -LICENSE="LGPL2.1"
   22.12 -WEB_SITE="http://www.mono-project.com/docs/gui/gtksharp/"
   22.13 -
   22.14 -WANTED="gtk-sharp"
   22.15 -DEPENDS="gtk-sharp"
   22.16 -
   22.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   22.18 -genpkg_rules()
   22.19 -{
   22.20 -	copy bin/ *.a *.la *.pc *.xml *.exe *.pl
   22.21 -}
    23.1 --- a/gtk-sharp/receipt	Sun Mar 04 04:56:40 2018 +0200
    23.2 +++ b/gtk-sharp/receipt	Tue Mar 06 03:00:01 2018 +0200
    23.3 @@ -1,4 +1,4 @@
    23.4 -# SliTaz package receipt.
    23.5 +# SliTaz package receipt v2.
    23.6  
    23.7  PACKAGE="gtk-sharp"
    23.8  VERSION="2.12.26"
    23.9 @@ -7,25 +7,31 @@
   23.10  MAINTAINER="al.bobylev@gmail.com"
   23.11  LICENSE="LGPL2.1"
   23.12  WEB_SITE="http://www.mono-project.com/docs/gui/gtksharp/"
   23.13 +
   23.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   23.15 -num=${VERSION%.*}; num=${num//./}
   23.16 -WGET_URL="http://download.mono-project.com/sources/gtk-sharp$num/$TARBALL"
   23.17 +SERIES=${VERSION%.*}
   23.18 +WGET_URL="http://download.mono-project.com/sources/gtk-sharp${SERIES//./}/$TARBALL"
   23.19  
   23.20 -DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib glibc-base gtk+ \
   23.21 -harfbuzz libffi libglade libpng16 xorg-libxcb libxml2 pango pcre xorg-pixman \
   23.22 -xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
   23.23 -xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \
   23.24 -xorg-libXrender zlib"
   23.25  BUILD_DEPENDS="gtk+-dev mono-dev libglade-dev"
   23.26 +SPLIT="gtk-sharp-dev"
   23.27  
   23.28 -# Rules to configure and make the package.
   23.29 -compile_rules()
   23.30 -{
   23.31 +compile_rules() {
   23.32  	./configure $CONFIGURE_ARGS && make && make install
   23.33  }
   23.34  
   23.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
   23.36 -genpkg_rules()
   23.37 -{
   23.38 -	copy *.so *.dll *.config
   23.39 +genpkg_rules() {
   23.40 +	case $PACKAGE in
   23.41 +		gtk-sharp)
   23.42 +			copy *.so *.dll *.config
   23.43 +			DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib \
   23.44 +			glibc-base gtk+ harfbuzz libffi libglade libpng16 xorg-libxcb \
   23.45 +			libxml2 pango pcre xorg-pixman xorg-libX11 xorg-libXau \
   23.46 +			xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
   23.47 +			xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \
   23.48 +			xorg-libXrender zlib"
   23.49 +			;;
   23.50 +		*-dev)
   23.51 +			copy bin/ *.a *.la *.pc *.xml *.exe *.pl
   23.52 +			;;
   23.53 +	esac
   23.54  }
    24.1 --- a/gtkmm-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    24.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.3 @@ -1,23 +0,0 @@
    24.4 -# SliTaz package receipt.
    24.5 -
    24.6 -PACKAGE="gtkmm-dev"
    24.7 -VERSION="2.24.5"
    24.8 -CATEGORY="development"
    24.9 -SHORT_DESC="Callback Framework for C++ devel files."
   24.10 -MAINTAINER="pankso@slitaz.org"
   24.11 -LICENSE="LGPL2.1"
   24.12 -WANTED="gtkmm"
   24.13 -WEB_SITE="http://www.gtkmm.org/"
   24.14 -
   24.15 -DEPENDS="gtkmm gtk+-dev atkmm-dev glibmm-dev libgiomm-dev pangomm-dev pkg-config"
   24.16 -
   24.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   24.18 -genpkg_rules()
   24.19 -{
   24.20 -	mkdir -p $fs/usr/lib
   24.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   24.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   24.23 -	cp -a $install/usr/lib/gtkmm-2.4 $fs/usr/lib
   24.24 -	cp -a $install/usr/lib/gdkmm-2.4 $fs/usr/lib
   24.25 -	cp -a $install/usr/include $fs/usr
   24.26 -}
    25.1 --- a/gtkmm/receipt	Sun Mar 04 04:56:40 2018 +0200
    25.2 +++ b/gtkmm/receipt	Tue Mar 06 03:00:01 2018 +0200
    25.3 @@ -1,24 +1,21 @@
    25.4 -# SliTaz package receipt.
    25.5 +# SliTaz package receipt v2.
    25.6  
    25.7  PACKAGE="gtkmm"
    25.8  VERSION="2.24.5"
    25.9  CATEGORY="x-window"
   25.10 -SHORT_DESC="C++ interface for the popular GUI library GTK+."
   25.11 +SHORT_DESC="C++ interface for the popular GUI library GTK+"
   25.12  MAINTAINER="pankso@slitaz.org"
   25.13  LICENSE="LGPL2.1"
   25.14 +WEB_SITE="http://www.gtkmm.org/"
   25.15 +
   25.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
   25.17 -WEB_SITE="http://www.gtkmm.org/"
   25.18  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
   25.19  
   25.20 -DEPENDS="gtk+ atkmm glibmm cairomm libsigc++ xorg-libXdamage libgiomm pangomm \
   25.21 -gcc-lib-base"
   25.22  BUILD_DEPENDS="doxygen gtk+-dev atkmm-dev glibmm-dev cairomm-dev libsigc++-dev \
   25.23  pangomm-dev glibmm-dev mm-common"
   25.24 +SPLIT="gtkmm-dev"
   25.25  
   25.26 -# Rules to configure and make the package.
   25.27 -compile_rules()
   25.28 -{
   25.29 -	cd $src
   25.30 +compile_rules() {
   25.31  	./configure \
   25.32  		--disable-documentation \
   25.33  		$CONFIGURE_ARGS &&
   25.34 @@ -26,9 +23,23 @@
   25.35  	make install
   25.36  }
   25.37  
   25.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   25.39 -genpkg_rules()
   25.40 -{
   25.41 -	mkdir -p $fs/usr/lib
   25.42 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   25.43 +genpkg_rules() {
   25.44 +	case $PACKAGE in
   25.45 +		gtkmm)
   25.46 +			mkdir -p $fs/usr/lib
   25.47 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   25.48 +			DEPENDS="gtk+ atkmm glibmm cairomm libsigc++ xorg-libXdamage \
   25.49 +			libgiomm pangomm gcc-lib-base"
   25.50 +			;;
   25.51 +		*-dev)
   25.52 +			mkdir -p $fs/usr/lib
   25.53 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   25.54 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   25.55 +			cp -a $install/usr/lib/gtkmm-2.4 $fs/usr/lib
   25.56 +			cp -a $install/usr/lib/gdkmm-2.4 $fs/usr/lib
   25.57 +			cp -a $install/usr/include $fs/usr
   25.58 +			DEPENDS="gtkmm gtk+-dev atkmm-dev glibmm-dev libgiomm-dev \
   25.59 +			pangomm-dev"
   25.60 +			;;
   25.61 +	esac
   25.62  }
    26.1 --- a/i3-man/receipt	Sun Mar 04 04:56:40 2018 +0200
    26.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.3 @@ -1,20 +0,0 @@
    26.4 -# SliTaz package receipt.
    26.5 -
    26.6 -PACKAGE="i3-man"
    26.7 -VERSION="4.5.1"
    26.8 -CATEGORY="x-window"
    26.9 -SHORT_DESC="i3 tiling window manager man pages"
   26.10 -MAINTAINER="ybringler@gmail.com"
   26.11 -LICENSE="BSD"
   26.12 -WEB_SITE="http://i3wm.org"
   26.13 -WANTED="i3"
   26.14 -
   26.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   26.16 -
   26.17 -genpkg_rules()
   26.18 -{
   26.19 -	mkdir -p $fs/usr/share/man
   26.20 -	for i in $src/man/*.man; do
   26.21 -		cp $i $fs/usr/share/man/raw-${i##*/}
   26.22 -	done
   26.23 -}
    27.1 --- a/i3/receipt	Sun Mar 04 04:56:40 2018 +0200
    27.2 +++ b/i3/receipt	Tue Mar 06 03:00:01 2018 +0200
    27.3 @@ -1,4 +1,4 @@
    27.4 -# SliTaz package receipt.
    27.5 +# SliTaz package receipt v2.
    27.6  
    27.7  PACKAGE="i3"
    27.8  VERSION="4.5.1"
    27.9 @@ -7,24 +7,32 @@
   27.10  MAINTAINER="ybringler@gmail.com"
   27.11  LICENSE="BSD"
   27.12  WEB_SITE="http://i3wm.org"
   27.13 +
   27.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   27.15  WGET_URL="$WEB_SITE/downloads/$TARBALL"
   27.16  
   27.17 -DEPENDS="xorg-libxcb xorg-libXcursor xorg-libX11 yajl libev dmenu \
   27.18 -startup-notification xorg-xcb-util"
   27.19  BUILD_DEPENDS="make gcc pkg-config xorg-xcb-proto xorg-libxcb-dev xorg-xcb-util-dev \
   27.20  libev-dev flex bison yajl t2 docbook-xml xorg-libXcursor-dev xorg-libX11-dev \
   27.21  pcre-dev startup-notification-dev xorg-xcb-util-keysyms-dev xorg-xcb-util-wm-dev pango-dev"
   27.22 +SPLIT="i3-man"
   27.23  
   27.24 -# Rules to configure and make the package.
   27.25 -compile_rules()
   27.26 -{
   27.27 +compile_rules() {
   27.28  	make && make install
   27.29  }
   27.30  
   27.31 -# Rules to gen a SliTaz package suitable for Tazpkg.
   27.32 -
   27.33 -genpkg_rules()
   27.34 -{
   27.35 -	cp -a $install/* $fs
   27.36 +genpkg_rules() {
   27.37 +	case $PACKAGE in
   27.38 +		i3)
   27.39 +			cp -a $install/* $fs
   27.40 +			DEPENDS="xorg-libxcb xorg-libXcursor xorg-libX11 yajl libev dmenu \
   27.41 +			startup-notification xorg-xcb-util"
   27.42 +			;;
   27.43 +		i3-man)
   27.44 +			CAT="x-window|man pages"
   27.45 +			mkdir -p $fs/usr/share/man
   27.46 +			for i in $src/man/*.man; do
   27.47 +				cp $i $fs/usr/share/man/raw-${i##*/}
   27.48 +			done
   27.49 +			;;
   27.50 +	esac
   27.51  }
    28.1 --- a/libappindicator-gtk2/receipt	Sun Mar 04 04:56:40 2018 +0200
    28.2 +++ b/libappindicator-gtk2/receipt	Tue Mar 06 03:00:01 2018 +0200
    28.3 @@ -3,7 +3,7 @@
    28.4  PACKAGE="libappindicator-gtk2"
    28.5  VERSION="12.10.0"
    28.6  CATEGORY="x-window"
    28.7 -SHORT_DESC="Allow applications to extend a menu via Ayatana indicators (GTK+2)"
    28.8 +SHORT_DESC="Allow applications to extend a menu via Ayatana indicators"
    28.9  MAINTAINER="al.bobylev@gmail.com"
   28.10  LICENSE="LGPL2.1 LGPL3"
   28.11  WEB_SITE="https://launchpad.net/libappindicator"
   28.12 @@ -13,17 +13,22 @@
   28.13  
   28.14  BUILD_DEPENDS="glib-dev gtk-doc gtk+-dev libindicator-gtk2-dev \
   28.15  libdbusmenu-gtk2-dev dbus-glib-dev gobject-introspection-dev vala python-dev \
   28.16 -pygtk-dev pygobject-dev"
   28.17 -SPLIT="libappindicator-gtk2-python libappindicator-gtk2-dev"
   28.18 -SIBLINGS="libappindicator-gtk3"
   28.19 +pygtk-dev pygobject-dev gtk+3-dev libindicator-gtk3-dev libdbusmenu-gtk3-dev"
   28.20 +SPLIT="libappindicator-gtk2 libappindicator-gtk2-python \
   28.21 +libappindicator-gtk2-dev libappindicator-gtk3:3 libappindicator-gtk3-dev:3"
   28.22  
   28.23  compile_rules() {
   28.24 +	case $SET in
   28.25 +		'') SET_ARGS='--with-gtk=2';;
   28.26 +		3)  SET_ARGS='--with-gtk=3';;
   28.27 +	esac
   28.28 +
   28.29  	sed -i 's|example ||g' Makefile.in
   28.30  	export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
   28.31  	./configure \
   28.32  		--sysconfdir=/etc \
   28.33  		--localstatedir=/var \
   28.34 -		--with-gtk=2 \
   28.35 +		$SET_ARGS \
   28.36  		$CONFIGURE_ARGS &&
   28.37  	make &&
   28.38  	make install
   28.39 @@ -33,15 +38,16 @@
   28.40  	case $PACKAGE in
   28.41  		libappindicator-gtk2)
   28.42  			copy libappindicator.so*
   28.43 +			CAT="x-window|GTK+2"
   28.44  			DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ \
   28.45  			libdbusmenu-gtk2 libindicator-gtk2 pango"
   28.46  			;;
   28.47 -		*-python)
   28.48 +		libappindicator-gtk2-python)
   28.49  			copy @std @rm
   28.50  			DEPENDS="libappindicator-gtk2 python"
   28.51 -			CAT="python|Python bindings"
   28.52 +			CAT="python|GTK+2 Python bindings"
   28.53  			;;
   28.54 -		*-dev)
   28.55 +		libappindicator-gtk2-dev)
   28.56  			copy @dev
   28.57  			DEPENDS="libappindicator-gtk2 libappindicator-gtk2-python \
   28.58  			atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \
   28.59 @@ -52,5 +58,23 @@
   28.60  			xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
   28.61  			xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
   28.62  			;;
   28.63 +
   28.64 +		libappindicator-gtk3)
   28.65 +			copy @std
   28.66 +			CAT="x-window|GTK+3"
   28.67 +			DEPENDS="atk cairo gdk-pixbuf glib gtk+3 libdbusmenu-gtk3 \
   28.68 +			libindicator-gtk3 pango"
   28.69 +			;;
   28.70 +		libappindicator-gtk3-dev)
   28.71 +			copy @dev
   28.72 +			DEPENDS="libappindicator-gtk3 \
   28.73 +			atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \
   28.74 +			gdk-pixbuf-dev glib-dev gtk+3-dev harfbuzz-dev \
   28.75 +			libdbusmenu-gtk3-dev libffi-dev libindicator-gtk3-dev libpng16-dev \
   28.76 +			libxml2-dev pango-dev pcre-dev util-linux-blkid-dev \
   28.77 +			util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \
   28.78 +			xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
   28.79 +			xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
   28.80 +			;;
   28.81  	esac
   28.82  }
    29.1 --- a/libappindicator-gtk3/receipt	Sun Mar 04 04:56:40 2018 +0200
    29.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.3 @@ -1,50 +0,0 @@
    29.4 -# SliTaz package receipt v2.
    29.5 -
    29.6 -PACKAGE="libappindicator-gtk3"
    29.7 -VERSION="12.10.0"
    29.8 -CATEGORY="x-window"
    29.9 -SHORT_DESC="Allow applications to extend a menu via Ayatana indicators (GTK+3)"
   29.10 -MAINTAINER="al.bobylev@gmail.com"
   29.11 -LICENSE="LGPL2.1 LGPL3"
   29.12 -WEB_SITE="https://launchpad.net/libappindicator"
   29.13 -
   29.14 -TARBALL="libappindicator-$VERSION.tar.gz"
   29.15 -WGET_URL="https://launchpad.net/libappindicator/${VERSION%.*}/$VERSION/+download/$TARBALL"
   29.16 -
   29.17 -BUILD_DEPENDS="glib-dev gtk-doc gtk+3-dev libindicator-gtk3-dev \
   29.18 -libdbusmenu-gtk3-dev dbus-glib-dev vala python-dev pygtk-dev gtk+-dev \
   29.19 -pygobject-dev"
   29.20 -SPLIT="libappindicator-gtk3-dev"
   29.21 -SIBLINGS="libappindicator-gtk2"
   29.22 -
   29.23 -compile_rules() {
   29.24 -	sed -i 's|example ||g' Makefile.in
   29.25 -	export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
   29.26 -	./configure \
   29.27 -		--sysconfdir=/etc \
   29.28 -		--localstatedir=/var \
   29.29 -		--with-gtk=3 \
   29.30 -		$CONFIGURE_ARGS &&
   29.31 -	make &&
   29.32 -	make install
   29.33 -}
   29.34 -
   29.35 -genpkg_rules() {
   29.36 -	case $PACKAGE in
   29.37 -		libappindicator-gtk3)
   29.38 -			copy @std
   29.39 -			DEPENDS="atk cairo gdk-pixbuf glib gtk+3 libdbusmenu-gtk3 \
   29.40 -			libindicator-gtk3 pango"
   29.41 -			;;
   29.42 -		*-dev)
   29.43 -			copy @dev
   29.44 -			DEPENDS="libappindicator-gtk3 atk-dev bzip2-dev cairo-dev \
   29.45 -			fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev \
   29.46 -			harfbuzz-dev libdbusmenu-gtk3-dev libffi-dev libindicator-gtk3-dev \
   29.47 -			libpng16-dev libxml2-dev pango-dev pcre-dev util-linux-blkid-dev \
   29.48 -			util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \
   29.49 -			xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
   29.50 -			xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
   29.51 -			;;
   29.52 -	esac
   29.53 -}
    30.1 --- a/libasyncns-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    30.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.3 @@ -1,22 +0,0 @@
    30.4 -# SliTaz package receipt.
    30.5 -
    30.6 -PACKAGE="libasyncns-dev"
    30.7 -VERSION="0.8"
    30.8 -CATEGORY="development"
    30.9 -SHORT_DESC="devel files for libasyncns."
   30.10 -MAINTAINER="slaxemulator@gmail.com"
   30.11 -LICENSE="LGPL2.1"
   30.12 -WEB_SITE="http://0pointer.de/lennart/projects/libasyncns"
   30.13 -WANTED="libasyncns"
   30.14 -
   30.15 -DEPENDS="libasyncns pkg-config"
   30.16 -
   30.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   30.18 -genpkg_rules()
   30.19 -{
   30.20 -	mkdir -p $fs/usr/lib
   30.21 -	cp -a $install/usr/include $fs/usr
   30.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   30.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   30.24 -}
   30.25 -
    31.1 --- a/libasyncns/receipt	Sun Mar 04 04:56:40 2018 +0200
    31.2 +++ b/libasyncns/receipt	Tue Mar 06 03:00:01 2018 +0200
    31.3 @@ -1,21 +1,20 @@
    31.4 -# SliTaz package receipt.
    31.5 +# SliTaz package receipt v2.
    31.6  
    31.7  PACKAGE="libasyncns"
    31.8  VERSION="0.8"
    31.9  CATEGORY="development"
   31.10 -SHORT_DESC="A C library for Linux/Unix for executing name service queries asynchronously."
   31.11 +SHORT_DESC="A C library for Linux/Unix for executing name service queries \
   31.12 +asynchronously"
   31.13  MAINTAINER="slaxemulator@gmail.com"
   31.14  LICENSE="LGPL2.1"
   31.15 +WEB_SITE="http://0pointer.de/lennart/projects/libasyncns"
   31.16 +
   31.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
   31.18 -WEB_SITE="http://0pointer.de/lennart/projects/libasyncns"
   31.19  WGET_URL="$WEB_SITE/$TARBALL"
   31.20  
   31.21 -DEPENDS="glibc-base"
   31.22 +SPLIT="libasyncns-dev"
   31.23  
   31.24 -# Rules to configure and make the package.
   31.25 -compile_rules()
   31.26 -{
   31.27 -	cd $src
   31.28 +compile_rules() {
   31.29  	./configure \
   31.30  		--prefix=/usr \
   31.31  		--infodir=/usr/share/info \
   31.32 @@ -25,10 +24,18 @@
   31.33  	make && make DESTDIR=$DESTDIR install
   31.34  }
   31.35  
   31.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   31.37 -genpkg_rules()
   31.38 -{
   31.39 -	mkdir -p $fs/usr/lib
   31.40 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   31.41 +genpkg_rules() {
   31.42 +	case $PACKAGE in
   31.43 +		libasyncns)
   31.44 +			mkdir -p $fs/usr/lib
   31.45 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   31.46 +			DEPENDS="glibc-base"
   31.47 +			;;
   31.48 +		*-dev)
   31.49 +			mkdir -p $fs/usr/lib
   31.50 +			cp -a $install/usr/include $fs/usr
   31.51 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   31.52 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   31.53 +			;;
   31.54 +	esac
   31.55  }
   31.56 -
    32.1 --- a/libftdi-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    32.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.3 @@ -1,21 +0,0 @@
    32.4 -# SliTaz package receipt.
    32.5 -
    32.6 -PACKAGE="libftdi-dev"
    32.7 -VERSION="0.18"
    32.8 -CATEGORY="development"
    32.9 -SHORT_DESC="libftdi devel files."
   32.10 -MAINTAINER="rcx@zoominternet.net"
   32.11 -LICENSE="BSD GPL2 LGPL2"
   32.12 -WEB_SITE="http://www.intra2net.com/en/developer/libftdi/"
   32.13 -WANTED="libftdi"
   32.14 -
   32.15 -DEPENDS="pkg-config libftdi"
   32.16 -
   32.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   32.18 -genpkg_rules()
   32.19 -{
   32.20 -	mkdir -p $fs/usr/lib
   32.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   32.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   32.23 -	cp -a $install/usr/include $fs/usr
   32.24 -}
    33.1 --- a/libftdi/receipt	Sun Mar 04 04:56:40 2018 +0200
    33.2 +++ b/libftdi/receipt	Tue Mar 06 03:00:01 2018 +0200
    33.3 @@ -1,21 +1,20 @@
    33.4 -# SliTaz package receipt.
    33.5 +# SliTaz package receipt v2.
    33.6  
    33.7  PACKAGE="libftdi"
    33.8  VERSION="0.18"
    33.9  CATEGORY="system-tools"
   33.10 -SHORT_DESC="A library to talk to FTDI chips using libusb."
   33.11 +SHORT_DESC="A library to talk to FTDI chips using libusb"
   33.12  MAINTAINER="rcx@zoominternet.net"
   33.13  LICENSE="BSD GPL2 LGPL2"
   33.14 +WEB_SITE="http://www.intra2net.com/en/developer/libftdi/"
   33.15 +
   33.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   33.17 -WEB_SITE="http://www.intra2net.com/en/developer/libftdi/"
   33.18  WGET_URL="http://www.intra2net.com/en/developer/libftdi/download/$TARBALL"
   33.19  
   33.20 -DEPENDS="glibc-base libusb libusb-compat gcc-lib-base"
   33.21  BUILD_DEPENDS="slitaz-toolchain libusb-dev libusb libusb-compat-dev udev-dev"
   33.22 +SPLIT="libftdi-dev"
   33.23  
   33.24 -# Rules to configure and make the package.
   33.25 -compile_rules()
   33.26 -{
   33.27 +compile_rules() {
   33.28  	./configure \
   33.29  		--prefix=/usr \
   33.30  		$CONFIGURE_ARGS &&
   33.31 @@ -23,10 +22,19 @@
   33.32  	make DESTDIR=$DESTDIR install
   33.33  }
   33.34  
   33.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
   33.36 -genpkg_rules()
   33.37 -{
   33.38 -	mkdir -p $fs/usr/lib
   33.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   33.40 -	cp -a $install/usr/bin $fs/usr
   33.41 +genpkg_rules() {
   33.42 +	case $PACKAGE in
   33.43 +		libftdi)
   33.44 +			mkdir -p $fs/usr/lib
   33.45 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   33.46 +			cp -a $install/usr/bin $fs/usr
   33.47 +			DEPENDS="glibc-base libusb libusb-compat gcc-lib-base"
   33.48 +			;;
   33.49 +		*-dev)
   33.50 +			mkdir -p $fs/usr/lib
   33.51 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   33.52 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   33.53 +			cp -a $install/usr/include $fs/usr
   33.54 +			;;
   33.55 +	esac
   33.56  }
    34.1 --- a/libglu-mesa-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    34.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.3 @@ -1,21 +0,0 @@
    34.4 -# SliTaz package receipt.
    34.5 -
    34.6 -PACKAGE="libglu-mesa-dev"
    34.7 -VERSION="9.0.0"
    34.8 -CATEGORY="development"
    34.9 -SHORT_DESC="OpenGL utility library, development files."
   34.10 -MAINTAINER="pascal.bellard@slitaz.org"
   34.11 -LICENSE="MIT"
   34.12 -WEB_SITE="http://www.mesa3d.org/"
   34.13 -
   34.14 -WANTED="libglu-mesa"
   34.15 -DEPENDS="libglu-mesa pkg-config"
   34.16 -
   34.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   34.18 -genpkg_rules()
   34.19 -{
   34.20 -	mkdir -p $fs/usr/lib
   34.21 -	cp -a $install/usr/lib/libGLU*a $fs/usr/lib
   34.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   34.23 -	cp -a $install/usr/include $fs/usr
   34.24 -}
    35.1 --- a/libglu-mesa/receipt	Sun Mar 04 04:56:40 2018 +0200
    35.2 +++ b/libglu-mesa/receipt	Tue Mar 06 03:00:01 2018 +0200
    35.3 @@ -1,34 +1,39 @@
    35.4 -# SliTaz package receipt.
    35.5 +# SliTaz package receipt v2.
    35.6  
    35.7  PACKAGE="libglu-mesa"
    35.8  VERSION="9.0.0"
    35.9  CATEGORY="x-window"
   35.10 -SHORT_DESC="OpenGL utility library."
   35.11 +SHORT_DESC="OpenGL utility library"
   35.12  MAINTAINER="pascal.bellard@slitaz.org"
   35.13  LICENSE="MIT"
   35.14 +WEB_SITE="http://www.mesa3d.org/"
   35.15 +
   35.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   35.17 -WEB_SITE="http://www.mesa3d.org/"
   35.18  WGET_URL="git|git://anongit.freedesktop.org/mesa/glu.git"
   35.19 -PROVIDE="libglu"
   35.20  
   35.21 -DEPENDS="glibc-base gcc-lib-base mesa"
   35.22  BUILD_DEPENDS="mesa-dev automake autoconf libtool expat-dev xorg-dev \
   35.23 -	xorg-libxshmfence-dev"
   35.24 +xorg-libxshmfence-dev"
   35.25 +SPLIT="libglu-mesa-dev"
   35.26  
   35.27 -# Rules to configure and make the package.
   35.28 -compile_rules()
   35.29 -{
   35.30 -	cd $src
   35.31 -	./autogen.sh
   35.32 -	./configure \
   35.33 -		--prefix=/usr \
   35.34 -		$CONFIGURE_ARGS &&
   35.35 +compile_rules() {
   35.36 +	./autogen.sh &&
   35.37 +	./configure $CONFIGURE_ARGS &&
   35.38  	make $MAKEFLAGS && make install
   35.39  }
   35.40  
   35.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
   35.42 -genpkg_rules()
   35.43 -{
   35.44 -	mkdir -p $fs/usr/lib
   35.45 -	cp -a $install/usr/lib/libGLU*so* $fs/usr/lib
   35.46 +genpkg_rules() {
   35.47 +	case $PACKAGE in
   35.48 +		libglu-mesa)
   35.49 +			mkdir -p $fs/usr/lib
   35.50 +			cp -a $install/usr/lib/libGLU*so* $fs/usr/lib
   35.51 +			DEPENDS="glibc-base gcc-lib-base mesa"
   35.52 +			PROVIDE="libglu"
   35.53 +			;;
   35.54 +		*-dev)
   35.55 +			mkdir -p $fs/usr/lib
   35.56 +			cp -a $install/usr/lib/libGLU*a $fs/usr/lib
   35.57 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   35.58 +			cp -a $install/usr/include $fs/usr
   35.59 +			;;
   35.60 +	esac
   35.61  }
    36.1 --- a/libhangul-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    36.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    36.3 @@ -1,23 +0,0 @@
    36.4 -# SliTaz package receipt.
    36.5 -
    36.6 -PACKAGE="libhangul-dev"
    36.7 -VERSION="0.1.0"
    36.8 -CATEGORY="development"
    36.9 -SHORT_DESC="devel files for libhangul"
   36.10 -MAINTAINER="allan316@gmail.com"
   36.11 -LICENSE="LGPL2.1"
   36.12 -WEB_SITE="http://kldp.net/projects/hangul"
   36.13 -WANTED="libhangul"
   36.14 -
   36.15 -DEPENDS="libhangul pkg-config"
   36.16 -
   36.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   36.18 -genpkg_rules()
   36.19 -{
   36.20 -	mkdir -p $fs/usr/lib
   36.21 -	cp -a $install/usr/lib/*.a $fs/usr/lib
   36.22 -	cp -a $install/usr/lib/*.la $fs/usr/lib
   36.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   36.24 -	cp -a $install/usr/include $fs/usr
   36.25 -}
   36.26 -
    37.1 --- a/libhangul/receipt	Sun Mar 04 04:56:40 2018 +0200
    37.2 +++ b/libhangul/receipt	Tue Mar 06 03:00:01 2018 +0200
    37.3 @@ -1,21 +1,19 @@
    37.4 -# SliTaz package receipt.
    37.5 +# SliTaz package receipt v2.
    37.6  
    37.7  PACKAGE="libhangul"
    37.8  VERSION="0.1.0"
    37.9  CATEGORY="misc"
   37.10 -SHORT_DESC="library for Hangul"
   37.11 +SHORT_DESC="Library for Hangul"
   37.12  MAINTAINER="allan316@gmail.com"
   37.13  LICENSE="LGPL2.1"
   37.14 +WEB_SITE="http://kldp.net/projects/hangul"
   37.15 +
   37.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   37.17 -WEB_SITE="http://kldp.net/projects/hangul"
   37.18  WGET_URL="http://libhangul.googlecode.com/files/$TARBALL"
   37.19  
   37.20 -DEPENDS=""
   37.21 +SPLIT="libhangul-dev"
   37.22  
   37.23 -# Rules to configure and make the package.
   37.24 -compile_rules()
   37.25 -{
   37.26 -	cd $src
   37.27 +compile_rules() {
   37.28  	./configure \
   37.29  		--prefix=/usr \
   37.30  		--infodir=/usr/share/info \
   37.31 @@ -25,11 +23,20 @@
   37.32  	make && make DESTDIR=$DESTDIR install
   37.33  }
   37.34  
   37.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
   37.36 -genpkg_rules()
   37.37 -{
   37.38 -	mkdir -p $fs/usr/lib
   37.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   37.40 -	cp -a $install/usr/lib/libhangul $fs/usr/lib
   37.41 +genpkg_rules() {
   37.42 +	case $PACKAGE in
   37.43 +		libhangul)
   37.44 +			mkdir -p $fs/usr/lib
   37.45 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   37.46 +			cp -a $install/usr/lib/libhangul $fs/usr/lib
   37.47 +			;;
   37.48 +		*-dev)
   37.49 +			mkdir -p $fs/usr/lib
   37.50 +			cp -a $install/usr/lib/*.a $fs/usr/lib
   37.51 +			cp -a $install/usr/lib/*.la $fs/usr/lib
   37.52 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   37.53 +			cp -a $install/usr/include $fs/usr
   37.54 +			;;
   37.55 +	esac
   37.56  }
   37.57  
    38.1 --- a/libhx-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    38.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    38.3 @@ -1,22 +0,0 @@
    38.4 -# SliTaz package receipt.
    38.5 -
    38.6 -PACKAGE="libhx-dev"
    38.7 -VERSION="3.21"
    38.8 -CATEGORY="development"
    38.9 -SHORT_DESC="data structures and functions for scripting languages, dev files."
   38.10 -MAINTAINER="pascal.bellard@slitaz.org"
   38.11 -LICENSE="LGPL3 LGPL2.1"
   38.12 -SOURCE="libHX"
   38.13 -WANTED="libhx"
   38.14 -WEB_SITE="http://libhx.sourceforge.net/"
   38.15 -
   38.16 -DEPENDS="pkg-config"
   38.17 -
   38.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   38.19 -genpkg_rules()
   38.20 -{
   38.21 -	mkdir -p $fs/usr/lib
   38.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
   38.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   38.24 -	cp -a $install/usr/include $fs/usr
   38.25 -}
    39.1 --- a/libhx/receipt	Sun Mar 04 04:56:40 2018 +0200
    39.2 +++ b/libhx/receipt	Tue Mar 06 03:00:01 2018 +0200
    39.3 @@ -1,30 +1,39 @@
    39.4 -# SliTaz package receipt.
    39.5 +# SliTaz package receipt v2.
    39.6  
    39.7  PACKAGE="libhx"
    39.8  VERSION="3.21"
    39.9  CATEGORY="development"
   39.10 -SHORT_DESC="data structures and functions for scripting languages."
   39.11 +SHORT_DESC="Data structures and functions for scripting languages"
   39.12  MAINTAINER="pascal.bellard@slitaz.org"
   39.13  LICENSE="LGPL3 LGPL2.1"
   39.14 -SOURCE="libHX"
   39.15 -TARBALL="$SOURCE-$VERSION.tar.xz"
   39.16 -WEB_SITE="http://$PACKAGE.sourceforge.net/"
   39.17 +WEB_SITE="http://libhx.sourceforge.net/"
   39.18 +
   39.19 +TARBALL="libHX-$VERSION.tar.xz"
   39.20  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   39.21  
   39.22 -DEPENDS="coreutils-file-special"
   39.23  BUILD_DEPENDS="coreutils-file-special"
   39.24 +SPLIT="libhx"
   39.25  
   39.26 -# Rules to configure and make the package.
   39.27 -compile_rules()
   39.28 -{
   39.29 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
   39.30 +compile_rules() {
   39.31 +	./configure \
   39.32 +		--prefix=/usr \
   39.33 +		$CONFIGURE_ARGS &&
   39.34  	make &&
   39.35  	make DESTDIR=$DESTDIR install
   39.36  }
   39.37  
   39.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   39.39 -genpkg_rules()
   39.40 -{
   39.41 -	mkdir -p $fs/usr/lib
   39.42 -	cp -a $install/usr/lib/libHX.so* $fs/usr/lib
   39.43 +genpkg_rules() {
   39.44 +	case $PACKAGE in
   39.45 +		libhx)
   39.46 +			mkdir -p $fs/usr/lib
   39.47 +			cp -a $install/usr/lib/libHX.so* $fs/usr/lib
   39.48 +			DEPENDS="coreutils-file-special"
   39.49 +			;;
   39.50 +		*-dev)
   39.51 +			mkdir -p $fs/usr/lib
   39.52 +			cp -a $install/usr/lib/*a $fs/usr/lib
   39.53 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   39.54 +			cp -a $install/usr/include $fs/usr
   39.55 +			;;
   39.56 +	esac
   39.57  }
    40.1 --- a/libmcrypt-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    40.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    40.3 @@ -1,23 +0,0 @@
    40.4 -# SliTaz package receipt.
    40.5 -
    40.6 -PACKAGE="libmcrypt-dev"
    40.7 -VERSION="2.5.8"
    40.8 -CATEGORY="development"
    40.9 -SHORT_DESC="Encryption Library dev files"
   40.10 -MAINTAINER="erjo@slitaz.org"
   40.11 -LICENSE="LGPL2.1"
   40.12 -WEB_SITE="http://mcrypt.sourceforge.net/"
   40.13 -WANTED="libmcrypt"
   40.14 -
   40.15 -DEPENDS="libmcrypt"
   40.16 -
   40.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   40.18 -genpkg_rules()
   40.19 -{
   40.20 -	mkdir -p $fs/usr/lib $fs/usr/share
   40.21 -	cp -a $install/usr/lib/*.*a  $fs/usr/lib
   40.22 -	cp -a $install/usr/share/aclocal  $fs/usr/share
   40.23 -	cp -a $install/usr/include  $fs/usr
   40.24 -	cp -a $install/usr/bin  $fs/usr
   40.25 -}
   40.26 -
    41.1 --- a/libmcrypt/receipt	Sun Mar 04 04:56:40 2018 +0200
    41.2 +++ b/libmcrypt/receipt	Tue Mar 06 03:00:01 2018 +0200
    41.3 @@ -1,4 +1,4 @@
    41.4 -# SliTaz package receipt.
    41.5 +# SliTaz package receipt v2.
    41.6  
    41.7  PACKAGE="libmcrypt"
    41.8  VERSION="2.5.8"
    41.9 @@ -6,15 +6,14 @@
   41.10  SHORT_DESC="Encryption Library"
   41.11  MAINTAINER="erjo@slitaz.org"
   41.12  LICENSE="LGPL2.1"
   41.13 +WEB_SITE="http://mcrypt.sourceforge.net/"
   41.14 +
   41.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   41.16 -WEB_SITE="http://mcrypt.sourceforge.net/"
   41.17 -WGET_URL="http://downloads.sourceforge.net/project/mcrypt/Libmcrypt/$VERSION/$TARBALL"
   41.18 +WGET_URL="$SF_MIRROR/mcrypt/$TARBALL"
   41.19  
   41.20 -DEPENDS=""
   41.21 +SPLIT="libmcrypt-dev"
   41.22  
   41.23 -# Rules to configure and make the package.
   41.24 -compile_rules()
   41.25 -{
   41.26 +compile_rules() {
   41.27  	./configure \
   41.28  		--prefix=/usr \
   41.29  		--infodir=/usr/share/info \
   41.30 @@ -23,10 +22,19 @@
   41.31  	make && make DESTDIR=$DESTDIR install
   41.32  }
   41.33  
   41.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   41.35 -genpkg_rules()
   41.36 -{
   41.37 -	mkdir -p $fs/usr/lib
   41.38 -	cp -a $install/usr/lib/libmcrypt  $fs/usr/lib
   41.39 -	cp -a $install/usr/lib/*.so*  $fs/usr/lib
   41.40 +genpkg_rules() {
   41.41 +	case $PACKAGE in
   41.42 +		libmcrypt)
   41.43 +			mkdir -p $fs/usr/lib
   41.44 +			cp -a $install/usr/lib/libmcrypt  $fs/usr/lib
   41.45 +			cp -a $install/usr/lib/*.so*  $fs/usr/lib
   41.46 +			;;
   41.47 +		*-dev)
   41.48 +			mkdir -p $fs/usr/lib $fs/usr/share
   41.49 +			cp -a $install/usr/lib/*.*a  $fs/usr/lib
   41.50 +			cp -a $install/usr/share/aclocal  $fs/usr/share
   41.51 +			cp -a $install/usr/include  $fs/usr
   41.52 +			cp -a $install/usr/bin  $fs/usr
   41.53 +			;;
   41.54 +	esac
   41.55  }
    42.1 --- a/libmediainfo-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    42.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    42.3 @@ -1,19 +0,0 @@
    42.4 -# SliTaz package receipt.
    42.5 -
    42.6 -PACKAGE="libmediainfo-dev"
    42.7 -VERSION="0.7.79"
    42.8 -CATEGORY="development"
    42.9 -SHORT_DESC="Library reading metadata from media files development files"
   42.10 -MAINTAINER="al.bobylev@gmail.com"
   42.11 -LICENSE="zlib/libpng"
   42.12 -WEB_SITE="http://mediaarea.net/"
   42.13 -
   42.14 -WANTED="libmediainfo"
   42.15 -DEPENDS="libmediainfo"
   42.16 -
   42.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   42.18 -genpkg_rules()
   42.19 -{
   42.20 -	cp -a $install/* $fs
   42.21 -	rm $fs/usr/lib/*.so*
   42.22 -}
    43.1 --- a/libmediainfo/receipt	Sun Mar 04 04:56:40 2018 +0200
    43.2 +++ b/libmediainfo/receipt	Tue Mar 06 03:00:01 2018 +0200
    43.3 @@ -1,4 +1,4 @@
    43.4 -# SliTaz package receipt.
    43.5 +# SliTaz package receipt v2.
    43.6  
    43.7  PACKAGE="libmediainfo"
    43.8  VERSION="0.7.79"
    43.9 @@ -7,15 +7,14 @@
   43.10  MAINTAINER="al.bobylev@gmail.com"
   43.11  LICENSE="zlib/libpng"
   43.12  WEB_SITE="http://mediaarea.net/"
   43.13 +
   43.14  TARBALL="${PACKAGE}_$VERSION.tar.xz"
   43.15  WGET_URL="${WEB_SITE}download/source/$PACKAGE/$VERSION/$TARBALL"
   43.16  
   43.17 -DEPENDS="libcurl libmms"
   43.18  BUILD_DEPENDS="libzen libtool automake autoconf curl-dev libmms-dev"
   43.19 +SPLIT="libmediainfo-dev"
   43.20  
   43.21 -# Rules to configure and make the package.
   43.22 -compile_rules()
   43.23 -{
   43.24 +compile_rules() {
   43.25  	cd Project/GNU/Library
   43.26  	./autogen.sh
   43.27  	./configure \
   43.28 @@ -26,7 +25,7 @@
   43.29  		--with-libcurl \
   43.30  		--with-libmms \
   43.31  		$CONFIGURE_ARGS &&
   43.32 -	make && make install
   43.33 +	make && make install || return 1
   43.34  
   43.35  	mkdir -p $install/usr/bin
   43.36  	cp -a libmediainfo-config $install/usr/bin
   43.37 @@ -34,9 +33,16 @@
   43.38  		$install/usr/bin/libmediainfo-config
   43.39  }
   43.40  
   43.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
   43.42 -genpkg_rules()
   43.43 -{
   43.44 -	mkdir -p $fs/usr/lib
   43.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   43.46 +genpkg_rules() {
   43.47 +	case $PACKAGE in
   43.48 +		libmediainfo)
   43.49 +			mkdir -p $fs/usr/lib
   43.50 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   43.51 +			DEPENDS="libcurl libmms"
   43.52 +			;;
   43.53 +		*-dev)
   43.54 +			cp -a $install/* $fs
   43.55 +			rm $fs/usr/lib/*.so*
   43.56 +			;;
   43.57 +	esac
   43.58  }
    44.1 --- a/libmikmod-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    44.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    44.3 @@ -1,21 +0,0 @@
    44.4 -# SliTaz package receipt.
    44.5 -
    44.6 -PACKAGE="libmikmod-dev"
    44.7 -VERSION="3.3.6"
    44.8 -CATEGORY="development"
    44.9 -SHORT_DESC="Libmikmod devel files and headers."
   44.10 -LICENSE="LGPL2 LGPL2.1"
   44.11 -MAINTAINER="paul@slitaz.org"
   44.12 -WANTED="libmikmod"
   44.13 -WEB_SITE="http://mikmod.shlomifish.org/"
   44.14 -
   44.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   44.16 -genpkg_rules()
   44.17 -{
   44.18 -	mkdir -p $fs/usr/lib $fs/usr/share
   44.19 -	cp -a $install/usr/bin $fs/usr
   44.20 -	cp -a $install/usr/include $fs/usr
   44.21 -	cp -a $install/usr/lib/*.*a* $fs/usr/lib
   44.22 -	cp -a $install/usr/share/aclocal $fs/usr/share
   44.23 -}
   44.24 -
    45.1 --- a/libmikmod/receipt	Sun Mar 04 04:56:40 2018 +0200
    45.2 +++ b/libmikmod/receipt	Tue Mar 06 03:00:01 2018 +0200
    45.3 @@ -1,33 +1,41 @@
    45.4 -# SliTaz package receipt.
    45.5 +# SliTaz package receipt v2.
    45.6  
    45.7  PACKAGE="libmikmod"
    45.8  VERSION="3.3.6"
    45.9  CATEGORY="development"
   45.10 -SHORT_DESC="Mikmod module player library."
   45.11 +SHORT_DESC="Mikmod module player library"
   45.12  MAINTAINER="paul@slitaz.org"
   45.13  LICENSE="LGPL2 LGPL2.1"
   45.14 +WEB_SITE="http://mikmod.shlomifish.org/"
   45.15 +
   45.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   45.17 -WEB_SITE="http://mikmod.shlomifish.org/"
   45.18 -WGET_URL="http://downloads.sourceforge.net/project/mikmod/$PACKAGE/$VERSION/$TARBALL"
   45.19 +WGET_URL="$SF_MIRROR/mikmod/$TARBALL"
   45.20  
   45.21 -DEPENDS=""
   45.22  BUILD_DEPENDS="bash"
   45.23 +SPLIT="libmikmod-dev"
   45.24  
   45.25 -# Rules to configure and make the package.
   45.26 -compile_rules()
   45.27 -{
   45.28 -	cd $src
   45.29 +compile_rules() {
   45.30  	touch macintosh/_libmikmodversion.r
   45.31  	sed -i 's|\$(SHELL)|/bin/bash|' configure
   45.32 -	./configure --prefix=/usr \
   45.33 +	./configure \
   45.34 +		--prefix=/usr \
   45.35  		$CONFIGURE_ARGS &&
   45.36  	make && make install
   45.37  }
   45.38  
   45.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
   45.40 -genpkg_rules()
   45.41 -{
   45.42 -	mkdir -p $fs/usr/lib
   45.43 -	cp -a $install/usr/lib/*.so* /$fs/usr/lib
   45.44 +genpkg_rules() {
   45.45 +	case $PACKAGE in
   45.46 +		libmikmod)
   45.47 +			mkdir -p $fs/usr/lib
   45.48 +			cp -a $install/usr/lib/*.so* /$fs/usr/lib
   45.49 +			;;
   45.50 +		*-dev)
   45.51 +			mkdir -p $fs/usr/lib $fs/usr/share
   45.52 +			cp -a $install/usr/bin $fs/usr
   45.53 +			cp -a $install/usr/include $fs/usr
   45.54 +			cp -a $install/usr/lib/*.*a* $fs/usr/lib
   45.55 +			cp -a $install/usr/share/aclocal $fs/usr/share
   45.56 +			;;
   45.57 +	esac
   45.58  }
   45.59  
    46.1 --- a/libmowgli-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    46.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    46.3 @@ -1,22 +0,0 @@
    46.4 -# SliTaz package receipt.
    46.5 -
    46.6 -PACKAGE="libmowgli-dev"
    46.7 -VERSION="2.0.0"
    46.8 -CATEGORY="development"
    46.9 -SHORT_DESC="High performance and highly flexible algorithms."
   46.10 -MAINTAINER="mimas@slitaz.org"
   46.11 -LICENSE="BSD"
   46.12 -WANTED="libmowgli"
   46.13 -WEB_SITE="http://www.atheme.org/projects/mowgli.shtml"
   46.14 -
   46.15 -DEPENDS="libmowgli pkg-config"
   46.16 -
   46.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   46.18 -genpkg_rules()
   46.19 -{
   46.20 -	mkdir -p $fs/usr/lib/pkgconfig
   46.21 -	cp -a $install/usr/include $fs/usr
   46.22 -	#cp -a $install/usr/lib/*.*a $fs/usr/lib
   46.23 -	cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig
   46.24 -}
   46.25 -
    47.1 --- a/libmowgli/receipt	Sun Mar 04 04:56:40 2018 +0200
    47.2 +++ b/libmowgli/receipt	Tue Mar 06 03:00:01 2018 +0200
    47.3 @@ -1,30 +1,37 @@
    47.4 -# SliTaz package receipt.
    47.5 +# SliTaz package receipt v2.
    47.6  
    47.7  PACKAGE="libmowgli"
    47.8  VERSION="2.0.0"
    47.9  CATEGORY="system-tools"
   47.10 -SHORT_DESC="High performance and highly flexible algorithms."
   47.11 +SHORT_DESC="High performance and highly flexible algorithms"
   47.12  MAINTAINER="mimas@slitaz.org"
   47.13  LICENSE="BSD"
   47.14 +WEB_SITE="http://www.atheme.org/projects/mowgli"
   47.15 +
   47.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   47.17 -WEB_SITE="http://www.atheme.org/projects/mowgli"
   47.18  WGET_URL="https://github.com/atheme/libmowgli-2/archive/$TARBALL"
   47.19  
   47.20  BUILD_DEPENDS="wget"
   47.21 +SPLIT="libmowgli-dev"
   47.22  
   47.23 -# Rules to configure and make the package.
   47.24 -compile_rules()
   47.25 -{
   47.26 -	cd $src
   47.27 +compile_rules() {
   47.28  	sed -i "s/touch -t 0001010000 /touch /g" configure
   47.29  	./configure \
   47.30  		$CONFIGURE_ARGS &&
   47.31  	make && make install
   47.32  }
   47.33  
   47.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   47.35 -genpkg_rules()
   47.36 -{
   47.37 -	mkdir -p $fs/usr/lib
   47.38 -	cp -a $install/usr/lib/libmowgli*.so* $fs/usr/lib
   47.39 +genpkg_rules() {
   47.40 +	case $PACKAGE in
   47.41 +		libmowgli)
   47.42 +			mkdir -p $fs/usr/lib
   47.43 +			cp -a $install/usr/lib/libmowgli*.so* $fs/usr/lib
   47.44 +			;;
   47.45 +		*-dev)
   47.46 +			mkdir -p $fs/usr/lib/pkgconfig
   47.47 +			cp -a $install/usr/include $fs/usr
   47.48 +			#cp -a $install/usr/lib/*.*a $fs/usr/lib
   47.49 +			cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig
   47.50 +			;;
   47.51 +	esac
   47.52  }
    48.1 --- a/libofx-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    48.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    48.3 @@ -1,23 +0,0 @@
    48.4 -# SliTaz package receipt.
    48.5 -
    48.6 -PACKAGE="libofx-dev"
    48.7 -VERSION="0.9.8"
    48.8 -CATEGORY="development"
    48.9 -SHORT_DESC="OFX parser library dev files"
   48.10 -MAINTAINER="remyhr@free.fr"
   48.11 -LICENSE="GPL2"
   48.12 -WEB_SITE="http://libofx.sourceforge.net/"
   48.13 -WANTED="libofx"
   48.14 -
   48.15 -DEPENDS="libofx opensp-dev"
   48.16 -
   48.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   48.18 -genpkg_rules()
   48.19 -{
   48.20 -	mkdir -p $fs/usr/share $fs/usr/lib
   48.21 -
   48.22 -	cp -a $install/usr/share/libofx $fs/usr/lib
   48.23 -	cp -a $install/usr/include $fs/usr
   48.24 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   48.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   48.26 -}
    49.1 --- a/libofx/receipt	Sun Mar 04 04:56:40 2018 +0200
    49.2 +++ b/libofx/receipt	Tue Mar 06 03:00:01 2018 +0200
    49.3 @@ -1,4 +1,4 @@
    49.4 -# SliTaz package receipt.
    49.5 +# SliTaz package receipt v2.
    49.6  
    49.7  PACKAGE="libofx"
    49.8  VERSION="0.9.8"
    49.9 @@ -6,17 +6,15 @@
   49.10  SHORT_DESC="OFX parser library"
   49.11  MAINTAINER="remyhr@free.fr"
   49.12  LICENSE="GPL2"
   49.13 +WEB_SITE="http://libofx.sourceforge.net/"
   49.14 +
   49.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   49.16 -WEB_SITE="http://libofx.sourceforge.net/"
   49.17 -WGET_URL="http://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/$VERSION/$TARBALL"
   49.18 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   49.19  
   49.20 -DEPENDS="opensp"
   49.21  BUILD_DEPENDS="opensp-dev"
   49.22 +SPLIT="libofx-dev"
   49.23  
   49.24 -# Rules to configure and make the package.
   49.25 -compile_rules()
   49.26 -{
   49.27 -	cd $src
   49.28 +compile_rules() {
   49.29  	./configure \
   49.30  		--prefix=/usr \
   49.31  		$CONFIGURE_ARGS &&
   49.32 @@ -24,11 +22,22 @@
   49.33  	make DESTDIR=$DESTDIR install
   49.34  }
   49.35  
   49.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   49.37 -genpkg_rules()
   49.38 -{
   49.39 -	mkdir -p $fs/usr/bin $fs/usr/include /usr/lib
   49.40 -	cp -a $install/usr/bin $fs/usr
   49.41 -	cp -a $install/usr/include $fs/usr
   49.42 -	cp -a $install/usr/lib $fs/usr
   49.43 +genpkg_rules() {
   49.44 +	case $PACKAGE in
   49.45 +		libofx)
   49.46 +			mkdir -p $fs/usr/bin $fs/usr/include /usr/lib
   49.47 +			cp -a $install/usr/bin $fs/usr
   49.48 +			cp -a $install/usr/include $fs/usr
   49.49 +			cp -a $install/usr/lib $fs/usr
   49.50 +			DEPENDS="opensp"
   49.51 +			;;
   49.52 +		*-dev)
   49.53 +			mkdir -p $fs/usr/share $fs/usr/lib
   49.54 +			cp -a $install/usr/share/libofx $fs/usr/lib
   49.55 +			cp -a $install/usr/include $fs/usr
   49.56 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   49.57 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   49.58 +			DEPENDS="libofx opensp-dev"
   49.59 +			;;
   49.60 +	esac
   49.61  }
    50.1 --- a/libpri-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    50.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    50.3 @@ -1,18 +0,0 @@
    50.4 -# SliTaz package receipt.
    50.5 -
    50.6 -PACKAGE="libpri-dev"
    50.7 -VERSION="1.4.11.4"
    50.8 -CATEGORY="system-tools"
    50.9 -SHORT_DESC="The libpri devel files."
   50.10 -MAINTAINER="pankso@slitaz.org"
   50.11 -LICENSE="GPL2"
   50.12 -WEB_SITE="http://www.asterisk.org/"
   50.13 -WANTED="libpri"
   50.14 -
   50.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   50.16 -genpkg_rules()
   50.17 -{
   50.18 -	mkdir -p $fs/usr/lib $fs/usr/include
   50.19 -	cp -a $src/*.*a $fs/usr/lib
   50.20 -	cp -a $src/libpri.h $fs/usr/include
   50.21 -}
    51.1 --- a/libpri/receipt	Sun Mar 04 04:56:40 2018 +0200
    51.2 +++ b/libpri/receipt	Tue Mar 06 03:00:01 2018 +0200
    51.3 @@ -1,27 +1,35 @@
    51.4 -# SliTaz package receipt.
    51.5 +# SliTaz package receipt v2.
    51.6  
    51.7  PACKAGE="libpri"
    51.8  VERSION="1.4.11.4"
    51.9  CATEGORY="system-tools"
   51.10 -SHORT_DESC="C implementation of the Primary Rate ISDN specification (with BRI support)."
   51.11 +SHORT_DESC="C implementation of the Primary Rate ISDN specification (with BRI \
   51.12 +support)"
   51.13  MAINTAINER="pankso@slitaz.org"
   51.14  LICENSE="GPL2"
   51.15 +WEB_SITE="http://www.asterisk.org/"
   51.16 +
   51.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
   51.18 -WEB_SITE="http://www.asterisk.org/"
   51.19  WGET_URL="http://downloads.asterisk.org/pub/telephony/libpri/$TARBALL"
   51.20  
   51.21 -# Rules to configure and make the package.
   51.22 -compile_rules()
   51.23 -{
   51.24 -	cd $src
   51.25 +SPLIT="libpri-dev"
   51.26 +
   51.27 +compile_rules() {
   51.28  	export CFLAGS="-Wno-error=unused-but-set-variable"
   51.29  	sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' q921.c
   51.30 -	make
   51.31 +	make || return 1
   51.32 +
   51.33 +	mkdir -p $install/lib
   51.34 +	cp -a $src/*.so* $install/lib
   51.35 +
   51.36 +	mkdir -p $install/usr/lib $install/usr/include
   51.37 +	cp -a $src/*.*a $install/usr/lib
   51.38 +	cp -a $src/libpri.h $install/usr/include
   51.39  }
   51.40  
   51.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
   51.42 -genpkg_rules()
   51.43 -{
   51.44 -	mkdir -p $fs/lib
   51.45 -	cp -a $src/*.so* $fs/lib
   51.46 +genpkg_rules() {
   51.47 +	case $PACKAGE in
   51.48 +		libpri) copy @std;;
   51.49 +		*-dev)  copy @dev;;
   51.50 +	esac
   51.51  }
    52.1 --- a/libsmpeg-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    52.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    52.3 @@ -1,26 +0,0 @@
    52.4 -# SliTaz package receipt.
    52.5 -
    52.6 -PACKAGE="libsmpeg-dev"
    52.7 -VERSION="399"
    52.8 -CATEGORY="development"
    52.9 -SHORT_DESC="Mpeg decoding library devel files"
   52.10 -MAINTAINER="claudinei@slitaz.org"
   52.11 -LICENSE="LGPL2"
   52.12 -WEB_SITE="http://icculus.org/smpeg"
   52.13 -WANTED="libsmpeg"
   52.14 -
   52.15 -DEPENDS="libsmpeg"
   52.16 -
   52.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   52.18 -genpkg_rules()
   52.19 -{
   52.20 -	mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share $fs/usr/include
   52.21 -	cp $install/usr/bin/smpeg-config $fs/usr/bin
   52.22 -	chmod +x $fs/usr/bin/smpeg-config
   52.23 -	cp -a $install/usr/include/smpeg $fs/usr/include
   52.24 -	cp -a $install/usr/lib/*.a $fs/usr/lib
   52.25 -	cp -a $install/usr/share/aclocal $fs/usr/share
   52.26 -	#fix aclocal warnings
   52.27 -	sed -i "s#(AM_PATH_SMPEG#([AM_PATH_SMPEG]#" $fs/usr/share/aclocal/smpeg.m4
   52.28 -}
   52.29 -
    53.1 --- a/libsmpeg/receipt	Sun Mar 04 04:56:40 2018 +0200
    53.2 +++ b/libsmpeg/receipt	Tue Mar 06 03:00:01 2018 +0200
    53.3 @@ -1,33 +1,48 @@
    53.4 -# SliTaz package receipt.
    53.5 +# SliTaz package receipt v2.
    53.6  
    53.7  PACKAGE="libsmpeg"
    53.8  VERSION="399"
    53.9  CATEGORY="development"
   53.10 -SHORT_DESC="Mpeg decoding library"
   53.11 +SHORT_DESC="MPEG decoding library"
   53.12  MAINTAINER="claudinei@slitaz.org"
   53.13  LICENSE="LGPL2"
   53.14  WEB_SITE="http://icculus.org/smpeg"
   53.15 -DEPENDS="libsdl gcc-lib-base"
   53.16 +
   53.17 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
   53.18 +BRANCH="$VERSION"
   53.19 +WGET_URL="subversion|svn://svn.icculus.org/smpeg/trunk"
   53.20 +
   53.21  BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion tar"
   53.22 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
   53.23 -WGET_URL="subversion|svn://svn.icculus.org/smpeg/trunk"
   53.24 -BRANCH="$VERSION"
   53.25 +SPLIT="libsmpeg-dev"
   53.26  
   53.27 -# Rules to configure and make the package.
   53.28 -compile_rules()
   53.29 -{
   53.30 +compile_rules() {
   53.31  	sed -i 's/ 0-1/(unsigned int)&/g' audio/hufftable.cpp
   53.32  	chmod +x install-sh
   53.33  	./autogen.sh
   53.34 -	./configure --prefix=/usr --disable-gtk-player $CONFIGURE_ARGS &&
   53.35 +	./configure \
   53.36 +		--prefix=/usr \
   53.37 +		--disable-gtk-player \
   53.38 +		$CONFIGURE_ARGS &&
   53.39  	make LDFLAGS+=-lstdc++ &&
   53.40  	make DESTDIR=$DESTDIR install
   53.41  }
   53.42  
   53.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
   53.44 -genpkg_rules()
   53.45 -{
   53.46 -	mkdir -p $fs/usr/lib
   53.47 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   53.48 -
   53.49 +genpkg_rules() {
   53.50 +	case $PACKAGE in
   53.51 +		libsmpeg)
   53.52 +			mkdir -p $fs/usr/lib
   53.53 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   53.54 +			DEPENDS="libsdl gcc-lib-base"
   53.55 +			;;
   53.56 +		*-dev)
   53.57 +			mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share $fs/usr/include
   53.58 +			cp $install/usr/bin/smpeg-config $fs/usr/bin
   53.59 +			chmod +x $fs/usr/bin/smpeg-config
   53.60 +			cp -a $install/usr/include/smpeg $fs/usr/include
   53.61 +			cp -a $install/usr/lib/*.a $fs/usr/lib
   53.62 +			cp -a $install/usr/share/aclocal $fs/usr/share
   53.63 +			#fix aclocal warnings
   53.64 +			sed -i "s#(AM_PATH_SMPEG#([AM_PATH_SMPEG]#" $fs/usr/share/aclocal/smpeg.m4
   53.65 +			;;
   53.66 +	esac
   53.67  }
    54.1 --- a/libva-intel-driver/receipt	Sun Mar 04 04:56:40 2018 +0200
    54.2 +++ b/libva-intel-driver/receipt	Tue Mar 06 03:00:01 2018 +0200
    54.3 @@ -12,7 +12,7 @@
    54.4  WGET_URL="https://www.freedesktop.org/software/vaapi/releases/$PACKAGE/$TARBALL"
    54.5  
    54.6  BUILD_DEPENDS="autoconf automake libtool python libdrm-dev libva-dev \
    54.7 -xorg-libpciaccess-dev"
    54.8 +xorg-libpciaccess-dev xorg-libX11-dev"
    54.9  SPLIT="libva-intel-driver-dev"
   54.10  
   54.11  compile_rules() {
    55.1 --- a/libvalhalla-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    55.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    55.3 @@ -1,22 +0,0 @@
    55.4 -# SliTaz package receipt.
    55.5 -
    55.6 -PACKAGE="libvalhalla-dev"
    55.7 -VERSION="2.1.0"
    55.8 -CATEGORY="multimedia"
    55.9 -SHORT_DESC="The libvalhalla devel files."
   55.10 -MAINTAINER="pankso@slitaz.org"
   55.11 -LICENSE="LGPL2.1"
   55.12 -WANTED="libvalhalla"
   55.13 -WEB_SITE="http://libvalhalla.geexbox.org/"
   55.14 -
   55.15 -DEPENDS="sqlite3-dev"
   55.16 -
   55.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   55.18 -genpkg_rules()
   55.19 -{
   55.20 -	mkdir -p $fs/usr/lib
   55.21 -	cp -a $install/usr/bin $fs/usr
   55.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   55.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   55.24 -	cp -a $install/usr/include $fs/usr
   55.25 -}
    56.1 --- a/libvalhalla/receipt	Sun Mar 04 04:56:40 2018 +0200
    56.2 +++ b/libvalhalla/receipt	Tue Mar 06 03:00:01 2018 +0200
    56.3 @@ -1,49 +1,60 @@
    56.4 -# SliTaz package receipt.
    56.5 +# SliTaz package receipt v2.
    56.6  
    56.7  PACKAGE="libvalhalla"
    56.8  VERSION="2.1.0"
    56.9  CATEGORY="multimedia"
   56.10 -SHORT_DESC="A tiny media scanner API."
   56.11 +SHORT_DESC="A tiny media scanner API"
   56.12  MAINTAINER="pankso@slitaz.org"
   56.13  LICENSE="LGPL2.1"
   56.14 +WEB_SITE="http://libvalhalla.geexbox.org/"
   56.15 +
   56.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   56.17 -WEB_SITE="http://libvalhalla.geexbox.org/"
   56.18  WGET_URL="http://libvalhalla.geexbox.org/releases/$TARBALL"
   56.19  
   56.20 -DEPENDS="ffmpeg ffmpeg-compat libexif libsqlite3 libxml2 libgcrypt libcurl \
   56.21 -openssl"
   56.22  BUILD_DEPENDS="ffmpeg-dev ffmpeg-compat-dev libsqlite3 sqlite3-dev \
   56.23  libxml2-dev libexif-dev curl-dev"
   56.24 +SPLIT="libvalhalla-dev"
   56.25  
   56.26 -# Handle cross compilation
   56.27 -case "$ARCH" in
   56.28 -	i?86)
   56.29 -		#export LDFLAGS="$LDFLAGS -lavformat"
   56.30 -		export PKG_CONFIG_PATH=/usr/lib/ffmpeg-compat/pkgconfig
   56.31 -		export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/ffmpeg-compat" ;;
   56.32 -	arm*)
   56.33 -		export PKG_CONFIG_PATH=/cross/$ARCH/sysroot/usr/lib/ffmpeg-compat/pkgconfig
   56.34 -		export LDFLAGS="$LDFLAGS -Wl,-rpath=/cross/$ARCH/sysroot/usr/lib/ffmpeg-compat"
   56.35 -		export CFLAGS="$CFLAGS -I/cross/$ARCH/sysroot/usr/include/ffmpeg-compat"
   56.36 -		export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib/ffmpeg-compat -lavformat" 
   56.37 -		ARCH_ARGS="--cross-compile" ;;
   56.38 -esac
   56.39 +compile_rules() {
   56.40 +	case "$ARCH" in
   56.41 +		arm*)
   56.42 +			export PKG_CONFIG_PATH=/cross/$ARCH/sysroot/usr/lib/ffmpeg-compat/pkgconfig
   56.43 +			export LDFLAGS="$LDFLAGS -Wl,-rpath=/cross/$ARCH/sysroot/usr/lib/ffmpeg-compat"
   56.44 +			export CFLAGS="$CFLAGS -I/cross/$ARCH/sysroot/usr/include/ffmpeg-compat"
   56.45 +			export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib/ffmpeg-compat -lavformat" 
   56.46 +			ARCH_ARGS="--cross-compile"
   56.47 +			;;
   56.48 +		*)
   56.49 +			#export LDFLAGS="$LDFLAGS -lavformat"
   56.50 +			export PKG_CONFIG_PATH=/usr/lib/ffmpeg-compat/pkgconfig
   56.51 +			export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/ffmpeg-compat"
   56.52 +			;;
   56.53 +	esac
   56.54  
   56.55 -# Rules to configure and make the package.
   56.56 -compile_rules()
   56.57 -{
   56.58  	# Fix Busybox cat
   56.59 -	sed -i 's/cat -n/awk '"'"'{ printf "%6d  %s\\n",++n,$0 }'"'"' </' \
   56.60 -		configure
   56.61 -	
   56.62 +	sed -i 's/cat -n/awk '"'"'{ printf "%6d  %s\\n",++n,$0 }'"'"' </' configure
   56.63 +
   56.64  	./configure \
   56.65 -		--prefix=/usr ${ARCH_ARGS} &&
   56.66 +		--prefix=/usr \
   56.67 +		$ARCH_ARGS &&
   56.68  	make && make install
   56.69  }
   56.70  
   56.71 -# Rules to gen a SliTaz package suitable for Tazpkg.
   56.72 -genpkg_rules()
   56.73 -{
   56.74 -	mkdir -p $fs/usr/lib
   56.75 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   56.76 +genpkg_rules() {
   56.77 +	case $PACKAGE in
   56.78 +		libvalhalla)
   56.79 +			mkdir -p $fs/usr/lib
   56.80 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   56.81 +			DEPENDS="ffmpeg ffmpeg-compat libexif libsqlite3 libxml2 libgcrypt \
   56.82 +			libcurl openssl"
   56.83 +			;;
   56.84 +		*-dev)
   56.85 +			mkdir -p $fs/usr/lib
   56.86 +			cp -a $install/usr/bin $fs/usr
   56.87 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   56.88 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   56.89 +			cp -a $install/usr/include $fs/usr
   56.90 +			DEPENDS="libvalhalla sqlite3-dev"
   56.91 +			;;
   56.92 +	esac
   56.93  }
    57.1 --- a/libzim-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    57.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    57.3 @@ -1,20 +0,0 @@
    57.4 -# SliTaz package receipt.
    57.5 -
    57.6 -PACKAGE="libzim-dev"
    57.7 -VERSION="1.0"
    57.8 -CATEGORY="development"
    57.9 -SHORT_DESC="Read and write method for ZIM files used by Wikipedia, development files."
   57.10 -MAINTAINER="pascal.bellard@slitaz.org"
   57.11 -LICENSE="GPL2"
   57.12 -WEB_SITE="http://www.openzim.org/wiki/Zimlib"
   57.13 -WANTED="libzim"
   57.14 -
   57.15 -DEPENDS="libzim"
   57.16 -
   57.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   57.18 -genpkg_rules()
   57.19 -{
   57.20 -	mkdir -p $fs/usr/lib
   57.21 -	cp -a $install/usr/lib/*a $fs/usr/lib/
   57.22 -	cp -a $install/usr/include $fs/usr
   57.23 -}
    58.1 --- a/libzim/receipt	Sun Mar 04 04:56:40 2018 +0200
    58.2 +++ b/libzim/receipt	Tue Mar 06 03:00:01 2018 +0200
    58.3 @@ -1,32 +1,39 @@
    58.4 -# SliTaz package receipt.
    58.5 +# SliTaz package receipt v2.
    58.6  
    58.7  PACKAGE="libzim"
    58.8 -SOURCE="zimlib"
    58.9  VERSION="1.0"
   58.10  CATEGORY="office"
   58.11 -SHORT_DESC="Read and write method for ZIM files used by Wikipedia."
   58.12 +SHORT_DESC="Read and write method for ZIM files used by Wikipedia"
   58.13  MAINTAINER="pascal.bellard@slitaz.org"
   58.14  LICENSE="GPL2"
   58.15 -TARBALL="$SOURCE-$VERSION.tar.gz"
   58.16  WEB_SITE="http://www.openzim.org/wiki/Zimlib"
   58.17 -WGET_URL="http://www.openzim.org/download/$TARBALL"
   58.18  
   58.19 -DEPENDS="liblzma"
   58.20 +TARBALL="zimlib-$VERSION.tar.gz"
   58.21 +WGET_URL="http://www.openzim.org/archive/$TARBALL"
   58.22 +
   58.23  BUILD_DEPENDS="xz-dev autoconf automake libtool"
   58.24 +SPLIT="libzim-dev"
   58.25  
   58.26 -# Rules to configure and make the package.
   58.27 -compile_rules()
   58.28 -{
   58.29 -	./configure --prefix=/usr \
   58.30 +compile_rules() {
   58.31 +	./configure \
   58.32 +		--prefix=/usr \
   58.33  		$CONFIGURE_ARGS &&
   58.34  	make &&
   58.35  	make DESTDIR=$DESTDIR install
   58.36  }
   58.37  
   58.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   58.39 -genpkg_rules()
   58.40 -{
   58.41 -	mkdir -p $fs/usr/lib
   58.42 -	cp -a $install/usr/lib/*.so* $fs/usr/lib/
   58.43 -	cp -a $install/usr/bin $fs/usr
   58.44 +genpkg_rules() {
   58.45 +	case $PACKAGE in
   58.46 +		libzim)
   58.47 +			mkdir -p $fs/usr/lib
   58.48 +			cp -a $install/usr/lib/*.so* $fs/usr/lib/
   58.49 +			cp -a $install/usr/bin $fs/usr
   58.50 +			DEPENDS="liblzma"
   58.51 +			;;
   58.52 +		*-dev)
   58.53 +			mkdir -p $fs/usr/lib
   58.54 +			cp -a $install/usr/lib/*a $fs/usr/lib/
   58.55 +			cp -a $install/usr/include $fs/usr
   58.56 +			;;
   58.57 +	esac
   58.58  }
    59.1 --- a/matio-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    59.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    59.3 @@ -1,21 +0,0 @@
    59.4 -# SliTaz package receipt.
    59.5 -
    59.6 -PACKAGE="matio-dev"
    59.7 -VERSION="1.5.2"
    59.8 -CATEGORY="development"
    59.9 -SHORT_DESC="MAT File I/O Library."
   59.10 -MAINTAINER="pascal.bellard@slitaz.org"
   59.11 -LICENSE="BSD"
   59.12 -WEB_SITE="http://sourceforge.net/projects/matio/"
   59.13 -WANTED="matio"
   59.14 -
   59.15 -DEPENDS="matio pkg-config"
   59.16 -
   59.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   59.18 -genpkg_rules()
   59.19 -{
   59.20 -	mkdir -p $fs/usr/lib
   59.21 -	cp -a $install/usr/include $fs/usr
   59.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
   59.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   59.24 -}
    60.1 --- a/matio/receipt	Sun Mar 04 04:56:40 2018 +0200
    60.2 +++ b/matio/receipt	Tue Mar 06 03:00:01 2018 +0200
    60.3 @@ -1,31 +1,41 @@
    60.4 -# SliTaz package receipt.
    60.5 +# SliTaz package receipt v2.
    60.6  
    60.7  PACKAGE="matio"
    60.8  VERSION="1.5.2"
    60.9  CATEGORY="development"
   60.10 -SHORT_DESC="MAT File I/O Library."
   60.11 +SHORT_DESC="MAT File I/O Library"
   60.12  MAINTAINER="pascal.bellard@slitaz.org"
   60.13  LICENSE="BSD"
   60.14 +WEB_SITE="http://sourceforge.net/projects/matio/"
   60.15 +
   60.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   60.17 -WEB_SITE="http://sourceforge.net/projects/matio/"
   60.18 -WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
   60.19 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   60.20  
   60.21 -DEPENDS="zlib"
   60.22 +SPLIT="matio-dev"
   60.23  
   60.24 -# Rules to configure and make the package.
   60.25 -compile_rules()
   60.26 -{
   60.27 -	./configure --prefix=/usr --infodir=/usr/share/info \
   60.28 +compile_rules() {
   60.29 +	./configure \
   60.30 +		--prefix=/usr \
   60.31 +		--infodir=/usr/share/info \
   60.32  		--mandir=/usr/share/man \
   60.33  		$CONFIGURE_ARGS &&
   60.34  	make &&
   60.35  	make DESTDIR=$DESTDIR install
   60.36  }
   60.37  
   60.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   60.39 -genpkg_rules()
   60.40 -{
   60.41 -	mkdir -p $fs/usr/lib
   60.42 -	cp -a $install/usr/bin $fs/usr
   60.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   60.44 +genpkg_rules() {
   60.45 +	case $PACKAGE in
   60.46 +		matio)
   60.47 +			mkdir -p $fs/usr/lib
   60.48 +			cp -a $install/usr/bin $fs/usr
   60.49 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   60.50 +			DEPENDS="zlib"
   60.51 +			;;
   60.52 +		*-dev)
   60.53 +			mkdir -p $fs/usr/lib
   60.54 +			cp -a $install/usr/include $fs/usr
   60.55 +			cp -a $install/usr/lib/*a $fs/usr/lib
   60.56 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   60.57 +			;;
   60.58 +	esac
   60.59  }
    61.1 --- a/mhash-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    61.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    61.3 @@ -1,19 +0,0 @@
    61.4 -# SliTaz package receipt.
    61.5 -
    61.6 -PACKAGE="mhash-dev"
    61.7 -VERSION="0.9.9.9"
    61.8 -CATEGORY="development"
    61.9 -SHORT_DESC="uniform interface to a large number of hash algorithms devel files."
   61.10 -MAINTAINER="pascal.bellard@slitaz.org"
   61.11 -LICENSE="GPL2"
   61.12 -WEB_SITE="http://mhash.sourceforge.net/"
   61.13 -WANTED="mhash"
   61.14 -
   61.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   61.16 -genpkg_rules()
   61.17 -{
   61.18 -	mkdir -p $fs/usr/lib
   61.19 -	cp -a $install/usr/include $fs/usr
   61.20 -	cp -a $install/usr/lib/libmhash*a $fs/usr/lib
   61.21 -}
   61.22 -
    62.1 --- a/mhash/receipt	Sun Mar 04 04:56:40 2018 +0200
    62.2 +++ b/mhash/receipt	Tue Mar 06 03:00:01 2018 +0200
    62.3 @@ -1,29 +1,39 @@
    62.4 -# SliTaz package receipt.
    62.5 +# SliTaz package receipt v2.
    62.6  
    62.7  PACKAGE="mhash"
    62.8  VERSION="0.9.9.9"
    62.9  CATEGORY="development"
   62.10 -SHORT_DESC="uniform interface to a large number of hash algorithms."
   62.11 +SHORT_DESC="Uniform interface to a large number of hash algorithms"
   62.12  MAINTAINER="pascal.bellard@slitaz.org"
   62.13  LICENSE="GPL2"
   62.14 +WEB_SITE="http://mhash.sourceforge.net/"
   62.15 +
   62.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   62.17 -WEB_SITE="http://mhash.sourceforge.net/"
   62.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   62.19  
   62.20 -# Rules to configure and make the package.
   62.21 -compile_rules()
   62.22 -{
   62.23 -	cd $src
   62.24 -	./configure --prefix=/usr --infodir=/usr/share/info \
   62.25 -	--mandir=/usr/share/man $CONFIGURE_ARGS
   62.26 -	make
   62.27 +SPLIT="mhash-dev"
   62.28 +
   62.29 +compile_rules() {
   62.30 +	./configure \
   62.31 +		--prefix=/usr \
   62.32 +		--infodir=/usr/share/info \
   62.33 +		--mandir=/usr/share/man \
   62.34 +		$CONFIGURE_ARGS &&
   62.35 +	make &&
   62.36  	make DESTDIR=$DESTDIR install
   62.37  }
   62.38  
   62.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
   62.40 -genpkg_rules()
   62.41 -{
   62.42 -	mkdir -p $fs/usr/lib
   62.43 -	cp -a $install/usr/lib/libmhash.so* $fs/usr/lib
   62.44 +genpkg_rules() {
   62.45 +	case $PACKAGE in
   62.46 +		mhash)
   62.47 +			mkdir -p $fs/usr/lib
   62.48 +			cp -a $install/usr/lib/libmhash.so* $fs/usr/lib
   62.49 +			;;
   62.50 +		*-dev)
   62.51 +			mkdir -p $fs/usr/lib
   62.52 +			cp -a $install/usr/include $fs/usr
   62.53 +			cp -a $install/usr/lib/libmhash*a $fs/usr/lib
   62.54 +			;;
   62.55 +	esac
   62.56  }
   62.57  
    63.1 --- a/mlt-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    63.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    63.3 @@ -1,20 +0,0 @@
    63.4 -# SliTaz package receipt.
    63.5 -
    63.6 -PACKAGE="mlt-dev"
    63.7 -VERSION="0.7.2"
    63.8 -CATEGORY="development"
    63.9 -MAINTAINER="jozee@slitaz.org"
   63.10 -LICENSE="LGPL2.1"
   63.11 -SHORT_DESC="mlt devel files"
   63.12 -WEB_SITE="http://www.mltframework.org"
   63.13 -WANTED="mlt"
   63.14 -
   63.15 -DEPENDS="mlt pkg-config"
   63.16 -
   63.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   63.18 -genpkg_rules()
   63.19 -{
   63.20 -	mkdir -p $fs/usr/lib
   63.21 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   63.22 -	cp -a $install/usr/include $fs/usr
   63.23 -}
    64.1 --- a/mlt/receipt	Sun Mar 04 04:56:40 2018 +0200
    64.2 +++ b/mlt/receipt	Tue Mar 06 03:00:01 2018 +0200
    64.3 @@ -1,4 +1,4 @@
    64.4 -# SliTaz package receipt.
    64.5 +# SliTaz package receipt v2.
    64.6  
    64.7  PACKAGE="mlt"
    64.8  VERSION="0.7.2"
    64.9 @@ -7,32 +7,40 @@
   64.10  LICENSE="LGPL2.1"
   64.11  SHORT_DESC="An open source multimedia framework"
   64.12  WEB_SITE="http://www.mltframework.org"
   64.13 +
   64.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   64.15  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   64.16 -TAGS="multimedia"
   64.17  
   64.18 -DEPENDS="libsdl-image libsamplerate libdv qt4 sox libxml2 gtk+ ffmpeg frei0r-plugins"
   64.19 -
   64.20 -# Rules to configure and make the package.
   64.21 +SPLIT="mlt-dev"
   64.22  
   64.23  compile_rules() {
   64.24 -  cd $src
   64.25 -  ./configure --prefix=/usr \
   64.26 -			  --enable-gpl \
   64.27 -			  --disable-mmx \
   64.28 -			  --qimage-libdir=/usr/lib/ \
   64.29 -			  --qimage-includedir=/usr/include/Qt \
   64.30 -			  --avformat-swscale &&
   64.31 -  make &&
   64.32 -  make install 
   64.33 +	./configure \
   64.34 +		--prefix=/usr \
   64.35 +		--enable-gpl \
   64.36 +		--disable-mmx \
   64.37 +		--qimage-libdir=/usr/lib/ \
   64.38 +		--qimage-includedir=/usr/include/Qt \
   64.39 +		--avformat-swscale &&
   64.40 +	make &&
   64.41 +	make install
   64.42  }
   64.43 -	
   64.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
   64.45 -genpkg_rules()
   64.46 -{
   64.47 -	mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share
   64.48 -	cp -a $install/usr/bin $fs/usr
   64.49 -	cp -a $install/usr/lib/*so* $fs/usr/lib/
   64.50 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
   64.51 -	cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
   64.52 +
   64.53 +genpkg_rules() {
   64.54 +	case $PACKAGE in
   64.55 +		mlt)
   64.56 +			mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share
   64.57 +			cp -a $install/usr/bin $fs/usr
   64.58 +			cp -a $install/usr/lib/*so* $fs/usr/lib/
   64.59 +			cp -a $install/usr/share/$PACKAGE $fs/usr/share
   64.60 +			cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
   64.61 +			DEPENDS="libsdl-image libsamplerate libdv qt4 sox libxml2 gtk+ \
   64.62 +			ffmpeg frei0r-plugins"
   64.63 +			TAGS="multimedia"
   64.64 +			;;
   64.65 +		*-dev)
   64.66 +			mkdir -p $fs/usr/lib
   64.67 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   64.68 +			cp -a $install/usr/include $fs/usr
   64.69 +			;;
   64.70 +	esac
   64.71  }
    65.1 --- a/network-manager-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    65.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    65.3 @@ -1,23 +0,0 @@
    65.4 -# SliTaz package receipt.
    65.5 -
    65.6 -PACKAGE="network-manager-dev"
    65.7 -VERSION="0.9.8.10"
    65.8 -CATEGORY="development"
    65.9 -SHORT_DESC="devel files for Gnome network manager"
   65.10 -MAINTAINER="mojo@slitaz.org"
   65.11 -LICENSE="GPL2"
   65.12 -WEB_SITE="http://projects.gnome.org/NetworkManager/"
   65.13 -WANTED="network-manager"
   65.14 -
   65.15 -DEPENDS="network-manager pkg-config"
   65.16 -
   65.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   65.18 -genpkg_rules()
   65.19 -{
   65.20 -	mkdir -p $fs/usr/lib/pppd/2.4.5 $fs/usr/include
   65.21 -	cp -a $install/usr/lib/*.la               $fs/usr/lib
   65.22 -	cp -a $install/usr/lib/pppd/2.4.5/*la     $fs/usr/lib/pppd/2.4.5
   65.23 -	cp -a $install/usr/lib/pkgconfig          $fs/usr/lib
   65.24 -	cp -a $install/usr/include/libnm*         $fs/usr/include
   65.25 -	cp -a $install/usr/include/NetworkManager $fs/usr/include
   65.26 -}
    66.1 --- a/network-manager/receipt	Sun Mar 04 04:56:40 2018 +0200
    66.2 +++ b/network-manager/receipt	Tue Mar 06 03:00:01 2018 +0200
    66.3 @@ -1,23 +1,21 @@
    66.4 -# SliTaz package receipt.
    66.5 +# SliTaz package receipt v2.
    66.6  
    66.7  PACKAGE="network-manager"
    66.8  VERSION="0.9.8.10"
    66.9  CATEGORY="system-tools"
   66.10 -SHORT_DESC="Gnome network manager."
   66.11 +SHORT_DESC="GNOME network manager"
   66.12  MAINTAINER="pankso@slitaz.org"
   66.13  LICENSE="GPL2"
   66.14 -SOURCE="NetworkManager"
   66.15 -TARBALL="$SOURCE-$VERSION.tar.xz"
   66.16  WEB_SITE="http://projects.gnome.org/NetworkManager/"
   66.17 -WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*.*}/$TARBALL"
   66.18  
   66.19 -DEPENDS="dbus dbus-glib gtk+ wireless_tools libgudev libnl nss ppp iptables dhcp-client"
   66.20 +TARBALL="NetworkManager-$VERSION.tar.xz"
   66.21 +WGET_URL="$GNOME_MIRROR/NetworkManager/${VERSION%.*.*}/$TARBALL"
   66.22 +
   66.23  BUILD_DEPENDS="dbus-dev dbus-glib-dev gtk+-dev wireless_tools-dev libgudev-dev \
   66.24  libnl-dev nss-dev ppp-dev iptables-dev util-linux-uuid-dev dhcp-client intltool"
   66.25 +SPLIT="network-manager-dev"
   66.26  
   66.27 -# Rules to configure and make the package.
   66.28 -compile_rules()
   66.29 -{
   66.30 +compile_rules() {
   66.31  	sed -i '/expires > 0)$/{p;s/.*/{/;NNN;s/$/\n}/}' \
   66.32  		src/ip6-manager/nm-ip6-manager.c
   66.33  	sed -i 's/.\(if (.nm_supplicant_config_add_setting_8021x\)/    \1/' \
   66.34 @@ -32,19 +30,31 @@
   66.35  	make && make install
   66.36  }
   66.37  
   66.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   66.39 -genpkg_rules()
   66.40 -{
   66.41 -	mkdir -p $fs/usr/lib/pppd/2.4.5 $fs/usr/share $fs $fs/lib
   66.42 -	cp -a $install/etc                      $fs
   66.43 -	cp -a $install/var                      $fs
   66.44 -	cp -a $install/usr/*bin                 $fs/usr
   66.45 -	cp -a $install/usr/lib/pppd/2.4.5/*so   $fs/usr/lib/pppd/2.4.5
   66.46 -	cp -a $install/usr/lib/libnm*.so*       $fs/usr/lib
   66.47 -	cp -a $install/usr/lib/network-manager  $fs/usr/lib
   66.48 -	cp -a $install/usr/lib/NetworkManager   $fs/usr/lib
   66.49 -	cp -a $install/usr/share/dbus-1         $fs/usr/share
   66.50 -	cp -a $install/usr/share/locale         $fs/usr/share
   66.51 -	cp -a $install/usr/share/polkit-1       $fs/usr/share
   66.52 -	cp -a $install/lib/udev                 $fs/lib
   66.53 +genpkg_rules() {
   66.54 +	case $PACKAGE in
   66.55 +		network-manager)
   66.56 +			mkdir -p $fs/usr/lib/pppd/2.4.5 $fs/usr/share $fs $fs/lib
   66.57 +			cp -a $install/etc                      $fs
   66.58 +			cp -a $install/var                      $fs
   66.59 +			cp -a $install/usr/*bin                 $fs/usr
   66.60 +			cp -a $install/usr/lib/pppd/2.4.5/*so   $fs/usr/lib/pppd/2.4.5
   66.61 +			cp -a $install/usr/lib/libnm*.so*       $fs/usr/lib
   66.62 +			cp -a $install/usr/lib/network-manager  $fs/usr/lib
   66.63 +			cp -a $install/usr/lib/NetworkManager   $fs/usr/lib
   66.64 +			cp -a $install/usr/share/dbus-1         $fs/usr/share
   66.65 +			cp -a $install/usr/share/locale         $fs/usr/share
   66.66 +			cp -a $install/usr/share/polkit-1       $fs/usr/share
   66.67 +			cp -a $install/lib/udev                 $fs/lib
   66.68 +			DEPENDS="dbus dbus-glib gtk+ wireless_tools libgudev libnl nss ppp \
   66.69 +			iptables dhcp-client"
   66.70 +			;;
   66.71 +		*-dev)
   66.72 +			mkdir -p $fs/usr/lib/pppd/2.4.5 $fs/usr/include
   66.73 +			cp -a $install/usr/lib/*.la               $fs/usr/lib
   66.74 +			cp -a $install/usr/lib/pppd/2.4.5/*la     $fs/usr/lib/pppd/2.4.5
   66.75 +			cp -a $install/usr/lib/pkgconfig          $fs/usr/lib
   66.76 +			cp -a $install/usr/include/libnm*         $fs/usr/include
   66.77 +			cp -a $install/usr/include/NetworkManager $fs/usr/include
   66.78 +			;;
   66.79 +	esac
   66.80  }
    67.1 --- a/ossp-uuid-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    67.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    67.3 @@ -1,21 +0,0 @@
    67.4 -# SliTaz package receipt.
    67.5 -
    67.6 -PACKAGE="ossp-uuid-dev"
    67.7 -VERSION="1.6.1"
    67.8 -CATEGORY="development"
    67.9 -SHORT_DESC="Universally Unique Identifier tools, development files"
   67.10 -MAINTAINER="pascal.bellard@slitaz.org"
   67.11 -LICENSE="MIT"
   67.12 -WEB_SITE="http://www.ossp.org/pkg/lib/uuid/"
   67.13 -WANTED="ossp-uuid"
   67.14 -
   67.15 -DEPENDS="ossp-uuid"
   67.16 -
   67.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   67.18 -genpkg_rules()
   67.19 -{
   67.20 -	mkdir -p $fs/usr/lib
   67.21 -	cp -a $install/usr/include $fs/usr
   67.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
   67.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   67.24 -}
    68.1 --- a/ossp-uuid/receipt	Sun Mar 04 04:56:40 2018 +0200
    68.2 +++ b/ossp-uuid/receipt	Tue Mar 06 03:00:01 2018 +0200
    68.3 @@ -1,30 +1,39 @@
    68.4 -# SliTaz package receipt.
    68.5 +# SliTaz package receipt v2.
    68.6  
    68.7  PACKAGE="ossp-uuid"
    68.8 -SOURCE="uuid"
    68.9  VERSION="1.6.1"
   68.10  CATEGORY="base-system"
   68.11  SHORT_DESC="Universally Unique Identifier tools"
   68.12  MAINTAINER="pascal.bellard@slitaz.org"
   68.13  LICENSE="MIT"
   68.14 -TARBALL="$SOURCE-$VERSION.tar.gz"
   68.15  WEB_SITE="http://www.ossp.org/pkg/lib/uuid/"
   68.16 -WGET_URL="ftp://ftp.ossp.org/pkg/lib/$SOURCE/$TARBALL"
   68.17  
   68.18 -# Rules to configure and make the package.
   68.19 -compile_rules()
   68.20 -{
   68.21 -	./configure --prefix=/usr \
   68.22 +TARBALL="uuid-$VERSION.tar.gz"
   68.23 +WGET_URL="ftp://ftp.ossp.org/pkg/lib/uuid/$TARBALL"
   68.24 +
   68.25 +SPLIT="ossp-uuid-dev"
   68.26 +
   68.27 +compile_rules() {
   68.28 +	./configure \
   68.29 +		--prefix=/usr \
   68.30  		--mandir=/usr/share/man \
   68.31  		$CONFIGURE_ARGS &&
   68.32  	make &&
   68.33  	make DESTDIR=$DESTDIR install
   68.34  }
   68.35  
   68.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   68.37 -genpkg_rules()
   68.38 -{
   68.39 -	mkdir -p $fs/usr/lib
   68.40 -	cp -a $install/usr/bin $fs/usr
   68.41 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   68.42 +genpkg_rules() {
   68.43 +	case $PACKAGE in
   68.44 +		ossp-uuid)
   68.45 +			mkdir -p $fs/usr/lib
   68.46 +			cp -a $install/usr/bin $fs/usr
   68.47 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   68.48 +			;;
   68.49 +		*-dev)
   68.50 +			mkdir -p $fs/usr/lib
   68.51 +			cp -a $install/usr/include $fs/usr
   68.52 +			cp -a $install/usr/lib/*a $fs/usr/lib
   68.53 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   68.54 +			;;
   68.55 +	esac
   68.56  }
    69.1 --- a/parted-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    69.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    69.3 @@ -1,21 +0,0 @@
    69.4 -# SliTaz package receipt.
    69.5 -
    69.6 -PACKAGE="parted-dev"
    69.7 -VERSION="3.2"
    69.8 -CATEGORY="development"
    69.9 -SHORT_DESC="GNU parted editor devel files."
   69.10 -MAINTAINER="pankso@slitaz.org"
   69.11 -LICENSE="GPL3"
   69.12 -WANTED="parted"
   69.13 -WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
   69.14 -
   69.15 -DEPENDS="pkg-config"
   69.16 -
   69.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   69.18 -genpkg_rules()
   69.19 -{
   69.20 -	mkdir -p $fs/usr/lib
   69.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   69.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   69.23 -	cp -a $install/usr/include $fs/usr
   69.24 -}
    70.1 --- a/parted/receipt	Sun Mar 04 04:56:40 2018 +0200
    70.2 +++ b/parted/receipt	Tue Mar 06 03:00:01 2018 +0200
    70.3 @@ -7,38 +7,28 @@
    70.4  MAINTAINER="pankso@slitaz.org"
    70.5  LICENSE="GPL3"
    70.6  WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
    70.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/parted.html"
    70.8  
    70.9 +TARBALL="$PACKAGE-$VERSION.tar.xz"
   70.10  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
   70.11 -TARBALL="$PACKAGE-$VERSION.tar.xz"
   70.12  
   70.13  BUILD_DEPENDS="gettext util-linux-uuid-dev readline-dev check-dev texinfo"
   70.14  SPLIT="parted-dev"
   70.15  
   70.16 -# Rules to configure and make the package.
   70.17 -compile_rules()
   70.18 -{
   70.19 -#	grep -qs 'define u8' libparted/arch/linux.c ||
   70.20 -#	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' libparted/arch/linux.c
   70.21 -
   70.22 -	# http://www.linuxfromscratch.org/blfs/view/stable/postlfs/parted.html
   70.23 +compile_rules() {
   70.24  	./configure \
   70.25  		--disable-static \
   70.26 -		--disable-device-mapper \
   70.27  		$CONFIGURE_ARGS &&
   70.28  	make &&
   70.29  	make -C doc html &&
   70.30  	makeinfo --html      -o doc/html       doc/parted.texi &&
   70.31  	makeinfo --plaintext -o doc/parted.txt doc/parted.texi &&
   70.32 -	make install &&
   70.33 -	docdir="$install/usr/share/doc/parted-$VERSION" &&
   70.34 -	mkdir -p $docdir/html &&
   70.35 -	install -v -m644 doc/html/* $docdir/html &&
   70.36 -	install -v -m644 doc/FAT doc/API doc/parted.txt doc/parted.html $docdir
   70.37 +	make install || return 1
   70.38 +
   70.39 +	cook_pick_docs doc/html/ doc/FAT doc/API doc/parted.txt doc/parted.html
   70.40  }
   70.41  
   70.42 -# Rules to gen a SliTaz package suitable for Tazpkg.
   70.43 -genpkg_rules()
   70.44 -{
   70.45 +genpkg_rules() {
   70.46  	case $PACKAGE in
   70.47  		parted)
   70.48  			copy *.so* sbin/
    71.1 --- a/physfs-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    71.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    71.3 @@ -1,18 +0,0 @@
    71.4 -# SliTaz package receipt.
    71.5 -
    71.6 -PACKAGE="physfs-dev"
    71.7 -VERSION="2.0.2"
    71.8 -CATEGORY="development"
    71.9 -SHORT_DESC="Abstraction layer for filesystem and archive access"
   71.10 -MAINTAINER="devl547@gmail.com"
   71.11 -LICENSE="LGPL"
   71.12 -WANTED="physfs"
   71.13 -WEB_SITE="http://icculus.org/physfs/"
   71.14 -
   71.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   71.16 -genpkg_rules()
   71.17 -{
   71.18 -	mkdir -p $fs/usr/lib
   71.19 -	cp -a $install/usr/include $fs/usr
   71.20 -	cp $install/usr/lib/*.a $fs/usr/lib
   71.21 -}
    72.1 --- a/physfs/receipt	Sun Mar 04 04:56:40 2018 +0200
    72.2 +++ b/physfs/receipt	Tue Mar 06 03:00:01 2018 +0200
    72.3 @@ -1,4 +1,4 @@
    72.4 -# SliTaz package receipt.
    72.5 +# SliTaz package receipt v2.
    72.6  
    72.7  PACKAGE="physfs"
    72.8  VERSION="2.0.2"
    72.9 @@ -6,29 +6,37 @@
   72.10  SHORT_DESC="Abstraction layer for filesystem and archive access"
   72.11  MAINTAINER="devl547@gmail.com"
   72.12  LICENSE="LGPL"
   72.13 +WEB_SITE="http://icculus.org/physfs/"
   72.14 +
   72.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   72.16 -WEB_SITE="http://icculus.org/physfs/"
   72.17  WGET_URL="http://icculus.org/physfs/downloads/$TARBALL"
   72.18  
   72.19  BUILD_DEPENDS="cmake wget"
   72.20 +SPLIT="physfs-dev"
   72.21  
   72.22 -# Rules to configure and make the package.
   72.23 -compile_rules()
   72.24 -{
   72.25 -	cd $src
   72.26 +compile_rules() {
   72.27  	export CFLAGS="-Wno-error=unused-but-set-variable"
   72.28  	cmake $src &&
   72.29 -	cmake -DCMAKE_INSTALL_PREFIX=/usr \
   72.30 -	-DPHYSFS_BUILD_SHARED=ON \
   72.31 -	-DPHYSFS_BUILD_TEST=OFF \
   72.32 -	-DPHYSFS_BUILD_WX_TEST=OFF \
   72.33 -	-DPHYSFS_INTERNAL_ZLIB=OFF .	&&
   72.34 +	cmake \
   72.35 +		-DCMAKE_INSTALL_PREFIX=/usr \
   72.36 +		-DPHYSFS_BUILD_SHARED=ON \
   72.37 +		-DPHYSFS_BUILD_TEST=OFF \
   72.38 +		-DPHYSFS_BUILD_WX_TEST=OFF \
   72.39 +		-DPHYSFS_INTERNAL_ZLIB=OFF \
   72.40 +		. &&
   72.41  	make DESTDIR=$DESTDIR install
   72.42  }
   72.43  
   72.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
   72.45 -genpkg_rules()
   72.46 -{
   72.47 -	mkdir -p $fs/usr/lib
   72.48 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   72.49 +genpkg_rules() {
   72.50 +	case $PACKAGE in
   72.51 +		physfs)
   72.52 +			mkdir -p $fs/usr/lib
   72.53 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   72.54 +			;;
   72.55 +		*-dev)
   72.56 +			mkdir -p $fs/usr/lib
   72.57 +			cp -a $install/usr/include $fs/usr
   72.58 +			cp $install/usr/lib/*.a $fs/usr/lib
   72.59 +			;;
   72.60 +	esac
   72.61  }
    73.1 --- a/podofo-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    73.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    73.3 @@ -1,21 +0,0 @@
    73.4 -# SliTaz package receipt.
    73.5 -
    73.6 -PACKAGE="podofo-dev"
    73.7 -VERSION="0.9.1"
    73.8 -CATEGORY="development"
    73.9 -SHORT_DESC="PDF library development files."
   73.10 -MAINTAINER="pankso@slitaz.org"
   73.11 -LICENSE="GPL2"
   73.12 -WEB_SITE="http://podofo.sourceforge.net/"
   73.13 -WANTED="podofo"
   73.14 -
   73.15 -DEPENDS="podofo"
   73.16 -
   73.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   73.18 -genpkg_rules()
   73.19 -{
   73.20 -	mkdir -p $fs/usr/lib
   73.21 -	cp -a $install/usr/include $fs/usr
   73.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
   73.23 -}
   73.24 -
    74.1 --- a/podofo/receipt	Sun Mar 04 04:56:40 2018 +0200
    74.2 +++ b/podofo/receipt	Tue Mar 06 03:00:01 2018 +0200
    74.3 @@ -1,33 +1,46 @@
    74.4 -# SliTaz package receipt.
    74.5 +# SliTaz package receipt v2.
    74.6  
    74.7  PACKAGE="podofo"
    74.8  VERSION="0.9.1"
    74.9  CATEGORY="office"
   74.10 -SHORT_DESC="PDF library."
   74.11 +SHORT_DESC="PDF library"
   74.12  MAINTAINER="pankso@slitaz.org"
   74.13  LICENSE="GPL2"
   74.14 +WEB_SITE="http://podofo.sourceforge.net/"
   74.15 +
   74.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   74.17 -WEB_SITE="http://podofo.sourceforge.net/"
   74.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   74.19 -DEPENDS="fontconfig freetype zlib jpeg tiff gcc-lib-base libpng16"
   74.20 +
   74.21  BUILD_DEPENDS="cmake fontconfig-dev freetype-dev zlib-dev jpeg-dev tiff-dev \
   74.22  libpng16-dev"
   74.23 +SPLIT="podofo-dev"
   74.24  
   74.25 -# Rules to configure and make the package.
   74.26 -compile_rules()
   74.27 -{
   74.28 -	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE \
   74.29 -	      -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \
   74.30 -	      -DPODOFO_BUILD_STATIC:BOOL=TRUE \
   74.31 -	      -DPODOFO_BUILD_SHARED:BOOL=TRUE . &&
   74.32 +compile_rules() {
   74.33 +	mkdir build
   74.34 +	cd    build
   74.35 +	cmake \
   74.36 +		-DCMAKE_INSTALL_PREFIX=/usr \
   74.37 +		-DCMAKE_BUILD_TYPE=RELEASE \
   74.38 +		-DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \
   74.39 +		-DPODOFO_BUILD_STATIC:BOOL=TRUE \
   74.40 +		-DPODOFO_BUILD_SHARED:BOOL=TRUE \
   74.41 +		.. &&
   74.42  	make &&
   74.43  	make DESTDIR=$DESTDIR install
   74.44  }
   74.45  
   74.46 -# Rules to gen a SliTaz package suitable for Tazpkg.
   74.47 -genpkg_rules()
   74.48 -{
   74.49 -	mkdir -p $fs/usr/lib
   74.50 -	cp -a $install/usr/bin $fs/usr
   74.51 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   74.52 +genpkg_rules() {
   74.53 +	case $PACKAGE in
   74.54 +		podofo)
   74.55 +			mkdir -p $fs/usr/lib
   74.56 +			cp -a $install/usr/bin $fs/usr
   74.57 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   74.58 +			DEPENDS="fontconfig freetype zlib jpeg tiff gcc-lib-base libpng16"
   74.59 +			;;
   74.60 +		*-dev)
   74.61 +			mkdir -p $fs/usr/lib
   74.62 +			cp -a $install/usr/include $fs/usr
   74.63 +			cp -a $install/usr/lib/*a $fs/usr/lib
   74.64 +			;;
   74.65 +	esac
   74.66  }
    75.1 --- a/python-vte/receipt	Sun Mar 04 04:56:40 2018 +0200
    75.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    75.3 @@ -1,21 +0,0 @@
    75.4 -# SliTaz package receipt.
    75.5 -
    75.6 -PACKAGE="python-vte"
    75.7 -VERSION="0.28.2"
    75.8 -CATEGORY="development"
    75.9 -SHORT_DESC="Terminal capabilities for GTK+ widgets devel files."
   75.10 -WANTED="vte"
   75.11 -MAINTAINER="pankso@slitaz.org"
   75.12 -LICENSE="GPL2"
   75.13 -WEB_SITE="http://www.gnome.org/"
   75.14 -
   75.15 -DEPENDS="vte"
   75.16 -
   75.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   75.18 -genpkg_rules()
   75.19 -{
   75.20 -	#PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
   75.21 -	mkdir -p $fs/usr/lib $fs/usr/share
   75.22 -	cp -a $install/usr/lib/python* $fs/usr/lib
   75.23 -	cp -a $install/usr/share/pygtk $fs/usr/share
   75.24 -}
    76.1 --- a/qxmpp-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    76.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    76.3 @@ -1,18 +0,0 @@
    76.4 -# SliTaz package receipt.
    76.5 -
    76.6 -PACKAGE="qxmpp-dev"
    76.7 -VERSION="0.8.0"
    76.8 -CATEGORY="development"
    76.9 -SHORT_DESC="Development files for qxmpp"
   76.10 -MAINTAINER="al.bobylev@gmail.com"
   76.11 -LICENSE="LGPL2.1"
   76.12 -WEB_SITE="https://github.com/qxmpp-project/qxmpp/"
   76.13 -WANTED="qxmpp"
   76.14 -DEPENDS="qxmpp"
   76.15 -
   76.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
   76.17 -genpkg_rules()
   76.18 -{
   76.19 -	cp -a $install/* $fs
   76.20 -	rm -f $fs/usr/lib/*.so*
   76.21 -}
    77.1 --- a/qxmpp/receipt	Sun Mar 04 04:56:40 2018 +0200
    77.2 +++ b/qxmpp/receipt	Tue Mar 06 03:00:01 2018 +0200
    77.3 @@ -1,4 +1,4 @@
    77.4 -# SliTaz package receipt.
    77.5 +# SliTaz package receipt v2.
    77.6  
    77.7  PACKAGE="qxmpp"
    77.8  VERSION="0.8.0"
    77.9 @@ -7,26 +7,37 @@
   77.10  MAINTAINER="al.bobylev@gmail.com"
   77.11  LICENSE="LGPL2.1"
   77.12  WEB_SITE="https://github.com/qxmpp-project/qxmpp/"
   77.13 +
   77.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   77.15  WGET_URL="https://github.com/qxmpp-project/qxmpp/archive/v$VERSION.tar.gz"
   77.16  
   77.17 -DEPENDS="libQtNetwork libQtXml libtheora-enc libvpx speex"
   77.18  BUILD_DEPENDS="qmake Qt4-dev speex-dev libtheora-dev libogg-dev libvpx-dev \
   77.19  doxygen wget"
   77.20 +SPLIT="qxmpp-dev"
   77.21  
   77.22 -# Rules to configure and make the package.
   77.23 -compile_rules()
   77.24 -{
   77.25 +compile_rules() {
   77.26  	sed -i 's/ltheoraenc/& -logg/' src/src.pro
   77.27 -	qmake PREFIX=/usr QXMPP_USE_SPEEX=1 QXMPP_USE_THEORA=1 QXMPP_USE_VPX=1 &&
   77.28 +	qmake \
   77.29 +		PREFIX=/usr \
   77.30 +		QXMPP_USE_SPEEX=1 \
   77.31 +		QXMPP_USE_THEORA=1 \
   77.32 +		QXMPP_USE_VPX=1 \
   77.33 +		&&
   77.34  	make &&
   77.35  	mkdir -p $src/doc/html &&
   77.36  	make INSTALL_ROOT=$install install
   77.37  }
   77.38  
   77.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
   77.40 -genpkg_rules()
   77.41 -{
   77.42 -	mkdir -p $fs/usr/lib
   77.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   77.44 +genpkg_rules() {
   77.45 +	case $PACKAGE in
   77.46 +		qxmpp)
   77.47 +			mkdir -p $fs/usr/lib
   77.48 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   77.49 +			DEPENDS="libQtNetwork libQtXml libtheora-enc libvpx speex"
   77.50 +			;;
   77.51 +		*-dev)
   77.52 +			cp -a $install/* $fs
   77.53 +			rm -f $fs/usr/lib/*.so*
   77.54 +			;;
   77.55 +	esac
   77.56  }
    78.1 --- a/radiusclient-ng-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    78.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    78.3 @@ -1,18 +0,0 @@
    78.4 -# SliTaz package receipt.
    78.5 -
    78.6 -PACKAGE="radiusclient-ng-dev"
    78.7 -VERSION="0.5.6"
    78.8 -CATEGORY="development"
    78.9 -SHORT_DESC="RADIUS Client Library dev files."
   78.10 -MAINTAINER="pascal.bellard@slitaz.org"
   78.11 -LICENSE="BSD"
   78.12 -WEB_SITE="http://developer.berlios.de/projects/$PACKAGE/"
   78.13 -WANTED="radiusclient-ng"
   78.14 -
   78.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   78.16 -genpkg_rules()
   78.17 -{
   78.18 -	mkdir -p $fs/usr/lib
   78.19 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   78.20 -	cp -a $install/usr/include $fs/usr
   78.21 -}
    79.1 --- a/radiusclient-ng/receipt	Sun Mar 04 04:56:40 2018 +0200
    79.2 +++ b/radiusclient-ng/receipt	Tue Mar 06 03:00:01 2018 +0200
    79.3 @@ -1,31 +1,42 @@
    79.4 -# SliTaz package receipt.
    79.5 +# SliTaz package receipt v2.
    79.6  
    79.7  PACKAGE="radiusclient-ng"
    79.8  VERSION="0.5.6"
    79.9  CATEGORY="system-tools"
   79.10 -SHORT_DESC="RADIUS Client Library."
   79.11 +SHORT_DESC="RADIUS Client Library"
   79.12  MAINTAINER="pascal.bellard@slitaz.org"
   79.13  LICENSE="BSD"
   79.14 +WEB_SITE="http://developer.berlios.de/projects/radiusclient-ng/"
   79.15 +
   79.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   79.17 -WEB_SITE="http://developer.berlios.de/projects/$PACKAGE/"
   79.18 -WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
   79.19 +WGET_URL="http://download.berlios.de/radiusclient-ng/$TARBALL"
   79.20  
   79.21 -# Rules to configure and make the package.
   79.22 -compile_rules()
   79.23 -{
   79.24 -	./configure --prefix=/usr --infodir=/usr/share/info \
   79.25 -	--sysconfdir=/etc \
   79.26 -	--mandir=/usr/share/man $CONFIGURE_ARGS
   79.27 -	make
   79.28 +SPLIT="radiusclient-ng-dev"
   79.29 +
   79.30 +compile_rules() {
   79.31 +	./configure \
   79.32 +		--prefix=/usr \
   79.33 +		--infodir=/usr/share/info \
   79.34 +		--sysconfdir=/etc \
   79.35 +		--mandir=/usr/share/man \
   79.36 +		$CONFIGURE_ARGS &&
   79.37 +	make &&
   79.38  	make -j 1 DESTDIR=$DESTDIR install
   79.39  }
   79.40  
   79.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
   79.42 -genpkg_rules()
   79.43 -{
   79.44 -	mkdir -p $fs/usr/lib
   79.45 -	cp -a $install/etc $fs
   79.46 -	cp -a $install/usr/sbin $fs/usr
   79.47 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   79.48 +genpkg_rules() {
   79.49 +	case $PACKAGE in
   79.50 +		radiusclient-ng)
   79.51 +			mkdir -p $fs/usr/lib
   79.52 +			cp -a $install/etc $fs
   79.53 +			cp -a $install/usr/sbin $fs/usr
   79.54 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   79.55 +			;;
   79.56 +		*-dev)
   79.57 +			mkdir -p $fs/usr/lib
   79.58 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   79.59 +			cp -a $install/usr/include $fs/usr
   79.60 +			;;
   79.61 +	esac
   79.62  }
   79.63  
    80.1 --- a/rsh/receipt	Sun Mar 04 04:56:40 2018 +0200
    80.2 +++ b/rsh/receipt	Tue Mar 06 03:00:01 2018 +0200
    80.3 @@ -1,28 +1,36 @@
    80.4 -# SliTaz package receipt.
    80.5 +# SliTaz package receipt v2.
    80.6  
    80.7  PACKAGE="rsh"
    80.8 -SOURCE="rsh-redone"
    80.9  VERSION="85"
   80.10  CATEGORY="network"
   80.11  SHORT_DESC="Reimplementation of rsh and rlogin"
   80.12  MAINTAINER="pascal.bellard@slitaz.org"
   80.13  LICENSE="GPL"
   80.14 -TARBALL="${SOURCE}_$VERSION.orig.tar.gz"
   80.15  WEB_SITE="https://packages.debian.org/source/sid/rsh-redone"
   80.16 -WGET_URL="http://ftp.de.debian.org/debian/pool/main/${SOURCE:0:1}/$SOURCE/$TARBALL"
   80.17 +
   80.18 +TARBALL="rsh-redone_$VERSION.orig.tar.gz"
   80.19 +WGET_URL="http://ftp.de.debian.org/debian/pool/main/r/rsh-redone/$TARBALL"
   80.20  
   80.21  BUILD_DEPENDS="pam-dev"
   80.22 +SPLIT="rshd"
   80.23  
   80.24 -# Rules to configure and make the package.
   80.25 -compile_rules()
   80.26 -{
   80.27 +compile_rules() {
   80.28  	make &&
   80.29  	make DESTDIR=$DESTDIR install
   80.30  }
   80.31  
   80.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
   80.33 -genpkg_rules()
   80.34 -{
   80.35 -	mkdir -p $fs/usr
   80.36 -	cp -a $install/usr/bin $fs/usr
   80.37 +genpkg_rules() {
   80.38 +	case $PACKAGE in
   80.39 +		rsh)
   80.40 +			mkdir -p $fs/usr
   80.41 +			cp -a $install/usr/bin $fs/usr
   80.42 +			;;
   80.43 +		rshd)
   80.44 +			mkdir -p $fs/usr
   80.45 +			cp -a $install/usr/sbin $fs/usr
   80.46 +			cp -a $install/usr/etc $fs
   80.47 +			CAT="network|rshd and rlogind"
   80.48 +			DEPENDS="pam"
   80.49 +			;;
   80.50 +	esac
   80.51  }
    81.1 --- a/rshd/receipt	Sun Mar 04 04:56:40 2018 +0200
    81.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    81.3 @@ -1,20 +0,0 @@
    81.4 -# SliTaz package receipt.
    81.5 -
    81.6 -PACKAGE="rshd"
    81.7 -VERSION="85"
    81.8 -CATEGORY="network"
    81.9 -SHORT_DESC="Reimplementation of rshd and rlogind"
   81.10 -MAINTAINER="pascal.bellard@slitaz.org"
   81.11 -LICENSE="GPL"
   81.12 -WEB_SITE="https://packages.debian.org/source/sid/rsh-redone"
   81.13 -WANTED="rsh"
   81.14 -
   81.15 -DEPENDS="pam"
   81.16 -
   81.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   81.18 -genpkg_rules()
   81.19 -{
   81.20 -	mkdir -p $fs/usr
   81.21 -	cp -a $install/usr/sbin $fs/usr
   81.22 -	cp -a $install/usr/etc $fs
   81.23 -}
    82.1 --- a/thunar-vfs-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    82.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    82.3 @@ -1,26 +0,0 @@
    82.4 -# SliTaz package receipt.
    82.5 -
    82.6 -PACKAGE="thunar-vfs-dev"
    82.7 -VERSION="1.2.0"
    82.8 -CATEGORY="development"
    82.9 -SHORT_DESC="Thnuar file manager libraries development files"
   82.10 -MAINTAINER="erjo@slitaz.org"
   82.11 -LICENSE="LGPL2"
   82.12 -WANTED="thunar-vfs"
   82.13 -WEB_SITE="http://www.xfce.org"
   82.14 -
   82.15 -DEPENDS="thunar-vfs pkg-config"
   82.16 -
   82.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   82.18 -genpkg_rules()
   82.19 -{
   82.20 -	
   82.21 -	mkdir -p $fs/usr \
   82.22 -		$fs/usr/lib/ \
   82.23 -
   82.24 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   82.25 -	cp -a $install/usr/include $fs/usr
   82.26 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   82.27 -	
   82.28 -}
   82.29 -
    83.1 --- a/thunar-vfs/receipt	Sun Mar 04 04:56:40 2018 +0200
    83.2 +++ b/thunar-vfs/receipt	Tue Mar 06 03:00:01 2018 +0200
    83.3 @@ -1,4 +1,4 @@
    83.4 -# SliTaz package receipt.
    83.5 +# SliTaz package receipt v2.
    83.6  
    83.7  PACKAGE="thunar-vfs"
    83.8  VERSION="1.2.0"
    83.9 @@ -6,21 +6,19 @@
   83.10  SHORT_DESC="Thunar File Manager Libraries"
   83.11  MAINTAINER="erjo@slitaz.org"
   83.12  LICENSE="LGPL2"
   83.13 +WEB_SITE="http://www.xfce.org"
   83.14 +
   83.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   83.16 -WEB_SITE="http://www.xfce.org"
   83.17  WGET_URL="http://archive.xfce.org/xfce/4.8/src/$TARBALL"
   83.18  
   83.19 -DEPENDS="libpng16 jpeg libxfce4util dbus startup-notification xfce4-panel \
   83.20 -gamin pcre libexif util-linux-uuid-dev hal"
   83.21 -BUILD_DEPENDS="libpng16-dev jpeg-dev libxfce4util-dev dbus-dev 
   83.22 - startup-notification-dev xfce4-panel-dev zlib-dev intltool exo-dev dbus-glib-dev \
   83.23 - util-linux-uuid-dev hal-dev"
   83.24 - 
   83.25 -# Rules to configure and make the package.
   83.26 -compile_rules()
   83.27 -{
   83.28 -	cd $src
   83.29 -	./configure --prefix=/usr \
   83.30 +BUILD_DEPENDS="libpng16-dev jpeg-dev libxfce4util-dev dbus-dev \
   83.31 +startup-notification-dev xfce4-panel-dev zlib-dev intltool exo-dev \
   83.32 +dbus-glib-dev util-linux-uuid-dev hal-dev"
   83.33 +SPLIT="thunar-vfs-dev"
   83.34 +
   83.35 +compile_rules() {
   83.36 +	./configure \
   83.37 +		--prefix=/usr \
   83.38  		--sysconfdir=/etc \
   83.39  		--enable-dbus \
   83.40  		--enable-startup-notification \
   83.41 @@ -30,22 +28,33 @@
   83.42  	make && make DESTDIR=$DESTDIR install
   83.43  }
   83.44  
   83.45 -# Rules to gen a SliTaz package suitable for Tazpkg.
   83.46 -genpkg_rules()
   83.47 -{
   83.48 -	
   83.49 -	mkdir -p $fs/usr \
   83.50 -		$fs/usr/share/locale \
   83.51 -		$fs/usr/lib/ \
   83.52 -		$fs/usr/share
   83.53 +genpkg_rules() {
   83.54 +	case $PACKAGE in
   83.55 +		thunar-vfs)
   83.56 +			mkdir -p $fs/usr \
   83.57 +				$fs/usr/share/locale \
   83.58 +				$fs/usr/lib/ \
   83.59 +				$fs/usr/share
   83.60  
   83.61 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   83.62 -	cp -a $install/usr/lib/thunar-vfs-1 $fs/usr/lib
   83.63 -	
   83.64 -	cp -a $install/usr/share/locale/fr $fs/usr/share/locale
   83.65 -	cp -a $install/usr/share/thumbnailers $fs/usr/share
   83.66 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   83.67 +			cp -a $install/usr/lib/thunar-vfs-1 $fs/usr/lib
   83.68  
   83.69 -	# Strip all
   83.70 -	find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
   83.71 +			cp -a $install/usr/share/locale/fr $fs/usr/share/locale
   83.72 +			cp -a $install/usr/share/thumbnailers $fs/usr/share
   83.73 +
   83.74 +			# Strip all
   83.75 +			find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
   83.76 +			DEPENDS="libpng16 jpeg libxfce4util dbus startup-notification \
   83.77 +			xfce4-panel gamin pcre libexif util-linux-uuid-dev hal"
   83.78 +			;;
   83.79 +		*-dev)
   83.80 +			mkdir -p $fs/usr \
   83.81 +				$fs/usr/lib/ \
   83.82 +
   83.83 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   83.84 +			cp -a $install/usr/include $fs/usr
   83.85 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   83.86 +			;;
   83.87 +	esac
   83.88  }
   83.89  
    84.1 --- a/weston-dev/receipt	Sun Mar 04 04:56:40 2018 +0200
    84.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    84.3 @@ -1,19 +0,0 @@
    84.4 -# SliTaz package receipt.
    84.5 -
    84.6 -PACKAGE="weston-dev"
    84.7 -VERSION="1.4.0"
    84.8 -CATEGORY="development"
    84.9 -SHORT_DESC="Weston compositor devel files."
   84.10 -MAINTAINER="pankso@slitaz.org"
   84.11 -LICENSE="MIT"
   84.12 -WANTED="weston"
   84.13 -WEB_SITE="http://www.bluez.org/"
   84.14 -
   84.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   84.16 -genpkg_rules()
   84.17 -{
   84.18 -	mkdir -p $fs/usr/lib/weston $fs/usr/share
   84.19 -	cp -a $install/usr/include $fs/usr
   84.20 -	cp -a $install/usr/lib/weston/*.*a $fs/usr/lib/weston
   84.21 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   84.22 -}
    85.1 --- a/weston/receipt	Sun Mar 04 04:56:40 2018 +0200
    85.2 +++ b/weston/receipt	Tue Mar 06 03:00:01 2018 +0200
    85.3 @@ -1,24 +1,22 @@
    85.4 -# SliTaz package receipt.
    85.5 +# SliTaz package receipt v2.
    85.6  
    85.7  PACKAGE="weston"
    85.8  VERSION="1.4.0"
    85.9  CATEGORY="x-window"
   85.10 -SHORT_DESC="Reference implementation of a Wayland compositor."
   85.11 +SHORT_DESC="Reference implementation of a Wayland compositor"
   85.12  MAINTAINER="pankso@slitaz.org"
   85.13  LICENSE="MIT"
   85.14 +WEB_SITE="https://wayland.freedesktop.org/"
   85.15 +
   85.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
   85.17 -WEB_SITE="http://www.slitaz.org/"
   85.18  WGET_URL="http://wayland.freedesktop.org/releases/$TARBALL"
   85.19  
   85.20 -DEPENDS="wayland mesa-wayland cairo-gl libxkbcommon libunwind mtdev \
   85.21 -xorg-libXcursor pam liblzma"
   85.22  BUILD_DEPENDS="wayland-dev mesa-wayland-dev cairo-gl-dev libxkbcommon-dev \
   85.23  libunwind-dev mtdev-dev xorg-libXcursor-dev pam-dev xz-dev \
   85.24  gegl-dev libdrm-dev xorg-libXxf86vm-dev udev-dev pkg-config jpeg-dev"
   85.25 +SPLIT="weston-dev"
   85.26  
   85.27 -# Rules to configure and make the package.
   85.28 -compile_rules()
   85.29 -{
   85.30 +compile_rules() {
   85.31  	./configure \
   85.32  		--prefix=/usr \
   85.33  		--libexec=/usr/lib/weston \
   85.34 @@ -27,15 +25,24 @@
   85.35  	make && make install
   85.36  }
   85.37  
   85.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   85.39 -genpkg_rules()
   85.40 -{
   85.41 -	mkdir -p $fs/usr/lib/weston $fs/usr/share
   85.42 -	cp -a $install/usr/bin $fs/usr
   85.43 -	cp -a $install/usr/lib/weston/*.so* $fs/usr/lib/weston
   85.44 -	cp -a $install/usr/lib/weston/weston-* $fs/usr/lib/weston
   85.45 -	cp -a $install/usr/share/weston $fs/usr/share
   85.46 -	# Custom weston-session
   85.47 -	cp -f $stuff/weston-session $fs/usr/bin
   85.48 +genpkg_rules() {
   85.49 +	case $PACKAGE in
   85.50 +		weston)
   85.51 +			mkdir -p $fs/usr/lib/weston $fs/usr/share
   85.52 +			cp -a $install/usr/bin $fs/usr
   85.53 +			cp -a $install/usr/lib/weston/*.so* $fs/usr/lib/weston
   85.54 +			cp -a $install/usr/lib/weston/weston-* $fs/usr/lib/weston
   85.55 +			cp -a $install/usr/share/weston $fs/usr/share
   85.56 +			# Custom weston-session
   85.57 +			cp -f $stuff/weston-session $fs/usr/bin
   85.58 +			DEPENDS="wayland mesa-wayland cairo-gl libxkbcommon libunwind \
   85.59 +			mtdev xorg-libXcursor pam liblzma"
   85.60 +			;;
   85.61 +		*-dev)
   85.62 +			mkdir -p $fs/usr/lib/weston $fs/usr/share
   85.63 +			cp -a $install/usr/include $fs/usr
   85.64 +			cp -a $install/usr/lib/weston/*.*a $fs/usr/lib/weston
   85.65 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   85.66 +			;;
   85.67 +	esac
   85.68  }
   85.69 -
    86.1 --- a/x11vnc-extra/receipt	Sun Mar 04 04:56:40 2018 +0200
    86.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    86.3 @@ -1,26 +0,0 @@
    86.4 -# SliTaz package receipt.
    86.5 -
    86.6 -PACKAGE="x11vnc-extra"
    86.7 -VERSION="0.9.13"
    86.8 -CATEGORY="network"
    86.9 -SHORT_DESC="java VNC viewer"
   86.10 -MAINTAINER="pascal.bellard@slitaz.org"
   86.11 -LICENSE="GPL2"
   86.12 -WEB_SITE="http://www.karlrunge.com/x11vnc/"
   86.13 -WANTED="x11vnc"
   86.14 -TAGS="vnc"
   86.15 -
   86.16 -DEPENDS="x11vnc"
   86.17 -
   86.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   86.19 -genpkg_rules()
   86.20 -{
   86.21 -	mkdir -p $fs/usr/share
   86.22 -	cp -a $install/usr/share/x11vnc $fs/usr/share
   86.23 -}
   86.24 -
   86.25 -# Post install/remove commands for Tazpkg.
   86.26 -post_install()
   86.27 -{
   86.28 -	sed -i 's/X11VNC_OPTIONS="/X11VNC_OPTIONS="-ssl -http /' "$1/etc/daemons.conf"
   86.29 -}
    87.1 --- a/x11vnc/receipt	Sun Mar 04 04:56:40 2018 +0200
    87.2 +++ b/x11vnc/receipt	Tue Mar 06 03:00:01 2018 +0200
    87.3 @@ -1,4 +1,4 @@
    87.4 -# SliTaz package receipt.
    87.5 +# SliTaz package receipt v2.
    87.6  
    87.7  PACKAGE="x11vnc"
    87.8  VERSION="0.9.13"
    87.9 @@ -6,41 +6,52 @@
   87.10  SHORT_DESC="VNC server using X server"
   87.11  MAINTAINER="pascal.bellard@slitaz.org"
   87.12  LICENSE="GPL2"
   87.13 +WEB_SITE="http://www.karlrunge.com/x11vnc/"
   87.14 +
   87.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   87.16 -WEB_SITE="http://www.karlrunge.com/x11vnc/"
   87.17  WGET_URL="$SF_MIRROR/libvncserver/$TARBALL"
   87.18 -TAGS="vnc server"
   87.19  
   87.20 -DEPENDS="xorg-libXtst openssl jpeg xorg-libXdamage zlib"
   87.21  BUILD_DEPENDS="openssl-dev jpeg-dev xorg-libX11-dev zlib-dev xorg-libXext-dev"
   87.22 +SPLIT="x11vnc-extra"
   87.23  
   87.24 -# Rules to configure and make the package.
   87.25 -compile_rules()
   87.26 -{
   87.27 -	./configure --prefix=/usr \
   87.28 +compile_rules() {
   87.29 +	./configure \
   87.30 +		--prefix=/usr \
   87.31  		$CONFIGURE_ARGS &&
   87.32  	make &&
   87.33  	make -j1 DESTDIR=$DESTDIR install &&
   87.34  	echo rm -rf $DESTDIR/usr/share/applications
   87.35  }
   87.36  
   87.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
   87.38 -genpkg_rules()
   87.39 -{
   87.40 -	mkdir -p $fs/usr/bin $fs/etc/init.d
   87.41 -	cp -a $install/usr/bin/x11vnc $fs/usr/bin
   87.42 -	cp -a $stuff/x11vnc $fs/etc/init.d
   87.43 +genpkg_rules() {
   87.44 +	case $PACKAGE in
   87.45 +		x11vnc)
   87.46 +			mkdir -p $fs/usr/bin $fs/etc/init.d
   87.47 +			cp -a $install/usr/bin/x11vnc $fs/usr/bin
   87.48 +			cp -a $stuff/x11vnc $fs/etc/init.d
   87.49 +			DEPENDS="xorg-libXtst openssl jpeg xorg-libXdamage zlib"
   87.50 +			TAGS="vnc server"
   87.51 +			;;
   87.52 +		*-dev)
   87.53 +			mkdir -p $fs/usr/share
   87.54 +			cp -a $install/usr/share/x11vnc $fs/usr/share
   87.55 +			CAT="network|java VNC viewer"
   87.56 +			TAGS="vnc"
   87.57 +			DEPENDS="x11vnc"
   87.58 +			;;
   87.59 +	esac
   87.60  }
   87.61  
   87.62 -# Post install/remove commands for Tazpkg.
   87.63 -post_install()
   87.64 -{
   87.65 +post_install_x11vnc() {
   87.66  	grep -q "^X11VNC" "$1/etc/daemons.conf" || cat >> "$1/etc/daemons.conf" <<EOT
   87.67  # VNC server options.
   87.68  X11VNC_OPTIONS="-rfbauth /etc/vnc.secret -auth /var/run/slim.auth -allow 10.,192.168.,127.0.0.1 -forever -loop -tightfilexfer -permitfiletransfer -display :0"
   87.69  
   87.70  EOT
   87.71 -	[ -f "$1/etc/vnc.secret" ] || 
   87.72 +	[ -f "$1/etc/vnc.secret" ] ||
   87.73  	chroot "$1/" x11vnc -storepasswd root /etc/vnc.secret
   87.74  }
   87.75  
   87.76 +post_install_x11vnc_extra() {
   87.77 +	sed -i 's/X11VNC_OPTIONS="/X11VNC_OPTIONS="-ssl -http /' "$1/etc/daemons.conf"
   87.78 +}
    88.1 --- a/xbm2xface/receipt	Sun Mar 04 04:56:40 2018 +0200
    88.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    88.3 @@ -1,19 +0,0 @@
    88.4 -# SliTaz package receipt.
    88.5 -
    88.6 -PACKAGE="xbm2xface"
    88.7 -VERSION="1.5.2"
    88.8 -CATEGORY="utilities"
    88.9 -SHORT_DESC="Compface utility xbm2xface"
   88.10 -MAINTAINER="al.bobylev@gmail.com"
   88.11 -LICENSE="MIT"
   88.12 -WEB_SITE="http://freecode.com/projects/compface"
   88.13 -
   88.14 -DEPENDS="compface perl"
   88.15 -WANTED="compface"
   88.16 -
   88.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   88.18 -genpkg_rules()
   88.19 -{
   88.20 -	mkdir -p $fs/usr/bin
   88.21 -	install -Dm755 $src/xbm2xface.pl $fs/usr/bin
   88.22 -}