wok-next rev 20464

Combine receipts (final)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 07 19:43:44 2018 +0200 (2018-03-07)
parents e323d0535e2c
children 6805cf8ff938
files atftp/receipt atftpd/receipt boinc-dev/receipt boinc/receipt cifs-utils-dev/receipt cifs-utils/receipt cloop-utils/receipt compiz-plugins-unsupported-dev/receipt compiz-plugins-unsupported/receipt coova-chilli-dev/receipt coova-chilli/receipt csync-dev/receipt csync/receipt cups-filters-dev/receipt cups-filters/receipt cvs-contrib/receipt cvs/receipt depmod/receipt dvd+rw-media-tools/receipt dvd+rw-tools/receipt emacs-pkg-po-mode/receipt fcgi-dev/receipt fcgi/receipt fcgi/stuff/fcgi-2.4.0_gcc4.u fcgi/stuff/patches/fcgi-2.4.0_gcc4.u fcgi/stuff/patches/series freeimage-dev/receipt freeimage/receipt freeimage/stuff/gcc4.5_ln.patch freeimage/stuff/patches/gcc4.5_ln.patch freeimage/stuff/patches/series fusecloop/receipt gavl-dev/receipt gavl/receipt gc-dev/receipt gc/receipt gegl-dev/receipt gegl/receipt geoip-dev/receipt geoip/receipt gettext/receipt giblib-dev/receipt giblib/receipt gmpc-dev/receipt gmpc/receipt gnome-commander-i18n/receipt gnome-commander/receipt gnome-desktop-dev/receipt gnome-desktop/receipt gnome-doc-utils-dev/receipt gnome-doc-utils/receipt gpa-langpack/receipt gpa/receipt gsasl-dev/receipt gsasl/receipt gtkhotkey-dev/receipt gtkhotkey/receipt guile-dev/receipt guile/receipt guile/stuff/guile-1.8.7-gcc45.u guile/stuff/patches/guile-1.8.7-gcc45.u guile/stuff/patches/series hdf5-dev/receipt hdf5/receipt iksemel-dev/receipt iksemel/receipt ipxe-pxe/receipt ipxe/receipt lensfun-dev/receipt lensfun/receipt lesstif-dev/receipt lesstif/receipt libbonobo-dev/receipt libbonobo/receipt libbonoboui-dev/receipt libbonoboui/receipt libev-dev/receipt libev/receipt libgringotts-dev/receipt libgringotts/receipt libhtp-dev/receipt libhtp/receipt liblouis-dev/receipt liblouis/receipt libmcs-dev/receipt libmcs/receipt libnjb-dev/receipt libnjb/receipt libnotify-gtk3-dev/receipt libnotify-gtk3/receipt liboping-dev/receipt liboping/receipt libpano13-dev/receipt libpano13/receipt libpthread-stubs-dev/receipt libpthread-stubs/receipt libsearpc-dev/receipt libsearpc/receipt libsieve-dev/receipt libsieve/receipt libv4l-dev/receipt libv4l/receipt libxdg-basedir-dev/receipt libxdg-basedir/receipt libxfcegui4-dev/receipt libxfcegui4/receipt lightdm-dev/receipt lightdm-gtk2-greeter/receipt lightdm-gtk3-greeter/receipt lightdm-qt-dev/receipt lightdm-qt/receipt lightdm/receipt lorcon-dev/receipt lorcon/receipt lua5.1-dev/receipt lua5.1/receipt lua5.1/stuff/lua5.1-paths.patch lua5.1/stuff/patches/lua5.1-paths.patch lua5.1/stuff/patches/series mesa-wayland-dev/receipt mesa-wayland/receipt mgetty-voicetools/receipt mgetty/receipt mobile-broadband-provider-info-dev/receipt mobile-broadband-provider-info/receipt module-init-tools/receipt module-init-tools/stuff/depmod.u module-init-tools/stuff/lzlib.u module-init-tools/stuff/patches/depmod.u module-init-tools/stuff/patches/lzlib.u module-init-tools/stuff/patches/series monkey-dev/receipt monkey/receipt nagios-plugins-mysql/receipt nagios-plugins/receipt ntk-dev/receipt ntk/receipt ode-dev/receipt ode/receipt ofono-dev/receipt ofono/receipt openexr/receipt osip-dev/receipt osip/receipt pangox-compat-dev/receipt pangox-compat/receipt pcsc-lite-dev/receipt pcsc-lite/receipt pilot-link-dev/receipt pilot-link/receipt pth-dev/receipt pth/receipt python-edbus-dev/receipt python-edbus/receipt python-edje-dev/receipt python-edje/receipt sarg-php/receipt sarg/receipt scratch-help/receipt scratch/receipt slitaz-icons-nuovext/receipt slitaz-icons-tango/receipt snort-dev/receipt snort/receipt swfdec-dev/receipt swfdec/receipt udisks-dev/receipt udisks/receipt usbmuxd-dev/receipt usbmuxd/receipt usbmuxd/stuff/patches/series usbmuxd/stuff/patches/usbmuxd-udevuser.patch usbmuxd/stuff/usbmuxd-udevuser.patch usbredir-dev/receipt usbredir/receipt usbutils-dev/receipt usbutils/receipt vanessa_adt-dev/receipt vanessa_adt/receipt varka-dev/receipt varka/receipt virtualbox-ose-guestutils/receipt virtualbox-ose-guestutils/stuff/60-vboxguest.rules virtualbox-ose-guestutils/stuff/VBoxService virtualbox-ose/receipt virtualbox-ose/stuff/60-vboxguest.rules virtualbox-ose/stuff/VBoxService webkit-r-dev/receipt webkit-r/receipt wxWidgets-dev/receipt wxWidgets/receipt wxWidgets28-dev/receipt wxWidgets28/receipt wxpython-dev/receipt wxpython/receipt zstd-dev/receipt zstd/receipt
line diff
     1.1 --- a/atftp/receipt	Tue Mar 06 11:29:35 2018 +0200
     1.2 +++ b/atftp/receipt	Wed Mar 07 19:43:44 2018 +0200
     1.3 @@ -1,35 +1,46 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="atftp"
     1.8  VERSION="0.7"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Advanced Trivial File Transport Protocol client."
    1.11 +SHORT_DESC="Advanced Trivial File Transport Protocol"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://freshmeat.net/projects/atftp/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="http://downloads.openwrt.org/sources/$TARBALL"
    1.18  
    1.19 -DEPENDS="ncurses readline"
    1.20  BUILD_DEPENDS="pcre-dev readline-dev"
    1.21 +SPLIT="atftpd"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	sed -i  -e 's/char \*__entry) __THROW/char *__entry))/' \
    1.28  		-e 's/^_*argz_next/__NTH(&/' argz.h
    1.29  	sed -i 's/CLK_TCK/CLOCKS_PER_SEC/' stats.c
    1.30  	sed -i 's/D_REENTRANT/& -std=gnu89/' configure*
    1.31 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.32 -	--mandir=/usr/share/man \
    1.33 -	$CONFIGURE_ARGS &&
    1.34 +	./configure \
    1.35 +		--prefix=/usr \
    1.36 +		--infodir=/usr/share/info \
    1.37 +		--mandir=/usr/share/man \
    1.38 +		$CONFIGURE_ARGS &&
    1.39  	make &&
    1.40  	make DESTDIR=$DESTDIR install
    1.41  }
    1.42  
    1.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.44 -genpkg_rules()
    1.45 -{
    1.46 -	mkdir -p $fs/usr
    1.47 -	cp -a $install/usr/bin $fs/usr
    1.48 +genpkg_rules() {
    1.49 +	case $PACKAGE in
    1.50 +		atftp)
    1.51 +			mkdir -p $fs/usr
    1.52 +			cp -a $install/usr/bin $fs/usr
    1.53 +			CAT="network|client"
    1.54 +			DEPENDS="ncurses readline"
    1.55 +			;;
    1.56 +		atftpd)
    1.57 +			mkdir -p $fs/usr
    1.58 +			cp -a $install/usr/sbin $fs/usr
    1.59 +			CAT="network|server"
    1.60 +			DEPENDS="pcre"
    1.61 +			;;
    1.62 +	esac
    1.63  }
     2.1 --- a/atftpd/receipt	Tue Mar 06 11:29:35 2018 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,19 +0,0 @@
     2.4 -# SliTaz package receipt.
     2.5 -
     2.6 -PACKAGE="atftpd"
     2.7 -VERSION="0.7"
     2.8 -CATEGORY="network"
     2.9 -SHORT_DESC="Advanced Trivial File Transport Protocol server."
    2.10 -MAINTAINER="pascal.bellard@slitaz.org"
    2.11 -LICENSE="GPL2"
    2.12 -WEB_SITE="http://freshmeat.net/projects/atftp/"
    2.13 -WANTED="atftp"
    2.14 -
    2.15 -DEPENDS="pcre"
    2.16 -
    2.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 -genpkg_rules()
    2.19 -{
    2.20 -	mkdir -p $fs/usr
    2.21 -	cp -a $install/usr/sbin $fs/usr
    2.22 -}
     3.1 --- a/boinc-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,21 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="boinc-dev"
     3.7 -VERSION="6.10.58"
     3.8 -CATEGORY="development"
     3.9 -SHORT_DESC="BOINC devel files."
    3.10 -MAINTAINER="pankso@slitaz.org"
    3.11 -LICENSE="GPL3"
    3.12 -WANTED="boinc"
    3.13 -WEB_SITE="http://boinc.berkeley.edu/"
    3.14 -
    3.15 -DEPENDS="boinc"
    3.16 -
    3.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.18 -genpkg_rules()
    3.19 -{
    3.20 -	mkdir -p $fs/usr/lib
    3.21 -	cp -a $install/usr/include $fs/usr
    3.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    3.23 -}
    3.24 -
     4.1 --- a/boinc/receipt	Tue Mar 06 11:29:35 2018 +0200
     4.2 +++ b/boinc/receipt	Wed Mar 07 19:43:44 2018 +0200
     4.3 @@ -1,24 +1,22 @@
     4.4 -# SliTaz package receipt.
     4.5 +# SliTaz package receipt v2.
     4.6  
     4.7  PACKAGE="boinc"
     4.8  VERSION="6.10.58"
     4.9  SVN_TAG="6_10_58"
    4.10  CATEGORY="network"
    4.11 -SHORT_DESC="Open-source software for volunteer computing and grid computing."
    4.12 +SHORT_DESC="Open-source software for volunteer computing and grid computing"
    4.13  MAINTAINER="pankso@slitaz.org"
    4.14  LICENSE="GPL3"
    4.15 +WEB_SITE="http://boinc.berkeley.edu/"
    4.16 +
    4.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.18 -WEB_SITE="http://boinc.berkeley.edu/"
    4.19  WGET_URL="svn|http://boinc.berkeley.edu/svn/tags/boinc_core_release_${SVN_TAG}"
    4.20  
    4.21 -# The init script requires bash.
    4.22 -DEPENDS="openssl libcurl wxWidgets28 libnotify bash"
    4.23  BUILD_DEPENDS="subversion openssl-dev autoconf automake curl-dev libidn-dev \
    4.24  wxWidgets28-dev libnotify-dev sqlite3-dev file"
    4.25 +SPLIT="boinc-dev"
    4.26  
    4.27 -# Rules to configure and make the package.
    4.28 -compile_rules()
    4.29 -{
    4.30 +compile_rules() {
    4.31  	sed -i 's/AC_PROG_CPP/&\nAC_PROG_OBJCXX/' configure.ac
    4.32  	automake --add-missing
    4.33  	./_autosetup
    4.34 @@ -30,25 +28,33 @@
    4.35  		make && make install
    4.36  }
    4.37  
    4.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.39 -genpkg_rules()
    4.40 -{
    4.41 -	mkdir -p \
    4.42 -		$fs/usr/lib \
    4.43 -		$fs/var/lib/boinc \
    4.44 -		$fs/usr/share/pixmaps
    4.45 -	cp -a $install/etc $fs
    4.46 -	chmod 0644 $fs/etc/boinc-client.conf
    4.47 -	cp -a $install/usr/bin $fs/usr
    4.48 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.49 -	cp $install/usr/share/boinc/boincmgr.48x48.png \
    4.50 -		$fs/usr/share/pixmaps/boincmgr.png
    4.51 -	rm $fs/etc/init.d/boinc-client
    4.52 -	cp $stuff/boinc-client $fs/etc/init.d/boinc-client
    4.53 +genpkg_rules() {
    4.54 +	case $PACKAGE in
    4.55 +		boinc)
    4.56 +			mkdir -p \
    4.57 +				$fs/usr/lib \
    4.58 +				$fs/var/lib/boinc \
    4.59 +				$fs/usr/share/pixmaps
    4.60 +			cp -a $install/etc $fs
    4.61 +			chmod 0644 $fs/etc/boinc-client.conf
    4.62 +			cp -a $install/usr/bin $fs/usr
    4.63 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.64 +			cp $install/usr/share/boinc/boincmgr.48x48.png \
    4.65 +				$fs/usr/share/pixmaps/boincmgr.png
    4.66 +			rm $fs/etc/init.d/boinc-client
    4.67 +			cp $stuff/boinc-client $fs/etc/init.d/boinc-client
    4.68 +			# The init script requires bash.
    4.69 +			DEPENDS="openssl libcurl wxWidgets28 libnotify bash"
    4.70 +			;;
    4.71 +		*-dev)
    4.72 +			mkdir -p $fs/usr/lib
    4.73 +			cp -a $install/usr/include $fs/usr
    4.74 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
    4.75 +			;;
    4.76 +	esac
    4.77  }
    4.78  
    4.79 -post_install()
    4.80 -{
    4.81 +post_install_boinc() {
    4.82  	echo
    4.83  	# Check if boinc user already exists
    4.84  	if grep -q ^${BOINCUSER}: "$1/etc/passwd"; then
    4.85 @@ -61,8 +67,7 @@
    4.86  	echo 'Start the boinc client with "# /etc/init.d/boinc-client start"'
    4.87  }
    4.88  
    4.89 -post_remove()
    4.90 -{
    4.91 +post_remove_boinc() {
    4.92  	echo
    4.93  	echo -n "Delete user boinc and /var/lib/boinc (yes/No) ? : "
    4.94  	read -t 30 answer
     5.1 --- a/cifs-utils-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,19 +0,0 @@
     5.4 -# SliTaz package receipt.
     5.5 -
     5.6 -PACKAGE="cifs-utils-dev"
     5.7 -VERSION="6.1"
     5.8 -CATEGORY="development"
     5.9 -SHORT_DESC="CIFS userland tools, development files."
    5.10 -MAINTAINER="pascal.bellard@slitaz.org"
    5.11 -LICENSE="GPL3"
    5.12 -WEB_SITE="http://wiki.samba.org/index.php/LinuxCIFS_utils"
    5.13 -WANTED="cifs-utils"
    5.14 -
    5.15 -DEPENDS="cifs-utils"
    5.16 -
    5.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.18 -genpkg_rules()
    5.19 -{
    5.20 -	mkdir -p $fs/usr
    5.21 -	cp -a $install/usr/include $fs/usr
    5.22 -}
     6.1 --- a/cifs-utils/receipt	Tue Mar 06 11:29:35 2018 +0200
     6.2 +++ b/cifs-utils/receipt	Wed Mar 07 19:43:44 2018 +0200
     6.3 @@ -1,36 +1,43 @@
     6.4 -# SliTaz package receipt.
     6.5 +# SliTaz package receipt v2.
     6.6  
     6.7  PACKAGE="cifs-utils"
     6.8  VERSION="6.1"
     6.9  CATEGORY="system-tools"
    6.10 -SHORT_DESC="CIFS userland tools."
    6.11 +SHORT_DESC="CIFS userland tools"
    6.12  MAINTAINER="pascal.bellard@slitaz.org"
    6.13  LICENSE="GPL3"
    6.14  WEB_SITE="http://wiki.samba.org/index.php/LinuxCIFS_utils"
    6.15 +
    6.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    6.17  WGET_URL="ftp://ftp.samba.org/pub/linux-cifs/$PACKAGE/$TARBALL"
    6.18 -PROVIDE="smbfs"
    6.19  
    6.20 -BUILD_DEPENDS=""
    6.21 -DEPENDS="linux-cifs"
    6.22 +SPLIT="cifs-utils-dev"
    6.23  
    6.24 -# Rules to configure and make the package.
    6.25 -compile_rules()
    6.26 -{
    6.27 -	./configure --prefix=/usr \
    6.28 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    6.29 +compile_rules() {
    6.30 +	./configure \
    6.31 +		--prefix=/usr \
    6.32 +		--mandir=/usr/share/man \
    6.33 +		$CONFIGURE_ARGS &&
    6.34  	make &&
    6.35  	make DESTDIR=$DESTDIR install
    6.36  
    6.37  	cook_pick_manpages *.1
    6.38  }
    6.39  
    6.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
    6.41 -genpkg_rules()
    6.42 -{
    6.43 -	mkdir -p $fs/usr/sbin
    6.44 -	cp -a $install/sbin $fs
    6.45 -	cd $fs/usr/sbin
    6.46 -	ln -s ../../sbin/mount.cifs .
    6.47 -	ln -s ../../sbin/mount.cifs umount.cifs
    6.48 +genpkg_rules() {
    6.49 +	case $PACKAGE in
    6.50 +		cifs-utils)
    6.51 +			mkdir -p $fs/usr/sbin
    6.52 +			cp -a $install/sbin $fs
    6.53 +			cd $fs/usr/sbin
    6.54 +			ln -s ../../sbin/mount.cifs .
    6.55 +			ln -s ../../sbin/mount.cifs umount.cifs
    6.56 +			DEPENDS="linux-cifs"
    6.57 +			PROVIDE="smbfs"
    6.58 +			;;
    6.59 +		*-dev)
    6.60 +			mkdir -p $fs/usr
    6.61 +			cp -a $install/usr/include $fs/usr
    6.62 +			;;
    6.63 +	esac
    6.64  }
     7.1 --- a/cloop-utils/receipt	Tue Mar 06 11:29:35 2018 +0200
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,21 +0,0 @@
     7.4 -# SliTaz package receipt.
     7.5 -
     7.6 -PACKAGE="cloop-utils"
     7.7 -VERSION="0.20.1"
     7.8 -CATEGORY="system-tools"
     7.9 -SHORT_DESC="Cloop image creation & extraction tools."
    7.10 -MAINTAINER="pascal.bellard@slitaz.org"
    7.11 -LICENSE="GPL2"
    7.12 -WEB_SITE="http://fusecloop.sourceforge.net/"
    7.13 -WANTED="fusecloop"
    7.14 -
    7.15 -DEPENDS="zlib gcc-lib-base"
    7.16 -
    7.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.18 -genpkg_rules()
    7.19 -{
    7.20 -	mkdir -p $fs/usr/bin
    7.21 -	cp $src/extract_compressed_fs $fs/usr/bin
    7.22 -	cp $src/create_compressed_fs $fs/usr/bin/create_compressed_fs_fast
    7.23 -	cp $src/advancecomp-*/advdef $fs/usr/bin/create_compressed_fs
    7.24 -}
     8.1 --- a/compiz-plugins-unsupported-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,19 +0,0 @@
     8.4 -# SliTaz package receipt.
     8.5 -
     8.6 -PACKAGE="compiz-plugins-unsupported-dev"
     8.7 -VERSION="0.8.12"
     8.8 -CATEGORY="development"
     8.9 -SHORT_DESC="Compiz plugins-extra devel files."
    8.10 -MAINTAINER="pankso@slitaz.org"
    8.11 -LICENSE="GPL2"
    8.12 -WEB_SITE="http://www.compiz.org/"
    8.13 -
    8.14 -WANTED="compiz-plugins-unsupported"
    8.15 -DEPENDS="pkg-config"
    8.16 -
    8.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    8.18 -genpkg_rules()
    8.19 -{
    8.20 -	mkdir -p $fs/usr/lib
    8.21 -	cp -a $install/usr/include $fs/usr
    8.22 -}
     9.1 --- a/compiz-plugins-unsupported/receipt	Tue Mar 06 11:29:35 2018 +0200
     9.2 +++ b/compiz-plugins-unsupported/receipt	Wed Mar 07 19:43:44 2018 +0200
     9.3 @@ -1,37 +1,42 @@
     9.4 -# SliTaz package receipt.
     9.5 +# SliTaz package receipt v2.
     9.6  
     9.7  PACKAGE="compiz-plugins-unsupported"
     9.8 -SOURCE="compiz-plugins-experimental"
     9.9  VERSION="0.8.12"
    9.10  CATEGORY="x-window"
    9.11 -SHORT_DESC="Compiz extra plugins."
    9.12 +SHORT_DESC="Compiz extra plugins"
    9.13  MAINTAINER="pankso@slitaz.org"
    9.14  LICENSE="GPL2"
    9.15 -TARBALL="$SOURCE-$VERSION.tar.xz"
    9.16  WEB_SITE="https://github.com/compiz-reloaded"
    9.17 -WGET_URL="$WEB_SITE/$SOURCE/releases/download/v$VERSION/$TARBALL"
    9.18  
    9.19 -DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ librsvg \
    9.20 -libnotify compiz-plugins-main"
    9.21 +TARBALL="compiz-plugins-experimental-$VERSION.tar.xz"
    9.22 +WGET_URL="$WEB_SITE/compiz-plugins-experimental/releases/download/v$VERSION/$TARBALL"
    9.23 +
    9.24  BUILD_DEPENDS="xorg-dev compiz-core-dev compiz-libcompizconfig-dev cmake \
    9.25  libxslt-dev startup-notification-dev mesa-dev gtk+-dev intltool librsvg-dev \
    9.26  libnotify-dev compiz-bcop util-linux-uuid-dev compiz-plugins-main-dev \
    9.27  compiz-plugins-extra compiz-plugins-extra-dev libtool util-linux-getopt \
    9.28 -xorg-libxshmfence-dev libglu-mesa-dev expat-dev "
    9.29 +xorg-libxshmfence-dev libglu-mesa-dev expat-dev"
    9.30 +SPLIT="compiz-plugins-unsupported-dev"
    9.31  
    9.32 -# Rules to configure and make the package.
    9.33 -compile_rules()
    9.34 -{
    9.35 -	./configure --prefix=/usr
    9.36 +compile_rules() {
    9.37 +	./configure --prefix=/usr &&
    9.38  	make && make install
    9.39  }
    9.40  
    9.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    9.42 -genpkg_rules()
    9.43 -{
    9.44 -	mkdir -p $fs/usr/lib $fs/usr/share/locale
    9.45 -	cp -a $install/usr/lib/compiz $fs/usr/lib
    9.46 -	cp -a $install/usr/share/compiz $fs/usr/share
    9.47 -	cp -a $install/usr/share/locale/ru $fs/usr/share/locale
    9.48 -	cd $fs/usr/lib/compiz; rm -f *.a *.la
    9.49 +genpkg_rules() {
    9.50 +	case $PACKAGE in
    9.51 +		compiz-plugins-unsupported)
    9.52 +			mkdir -p $fs/usr/lib $fs/usr/share/locale
    9.53 +			cp -a $install/usr/lib/compiz $fs/usr/lib
    9.54 +			cp -a $install/usr/share/compiz $fs/usr/share
    9.55 +			cp -a $install/usr/share/locale/ru $fs/usr/share/locale
    9.56 +			cd $fs/usr/lib/compiz; rm -f *.a *.la
    9.57 +			DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ \
    9.58 +			librsvg libnotify compiz-plugins-main"
    9.59 +			;;
    9.60 +		*-dev)
    9.61 +			mkdir -p $fs/usr/lib
    9.62 +			cp -a $install/usr/include $fs/usr
    9.63 +			;;
    9.64 +	esac
    9.65  }
    10.1 --- a/coova-chilli-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,22 +0,0 @@
    10.4 -# SliTaz package receipt.
    10.5 -
    10.6 -PACKAGE="coova-chilli-dev"
    10.7 -VERSION="1.3.0"
    10.8 -CATEGORY="development"
    10.9 -SHORT_DESC="Captive portal or wireless LAN access point controller, development files."
   10.10 -MAINTAINER="pascal.bellard@slitaz.org"
   10.11 -LICENSE="GPL3"
   10.12 -WEB_SITE="http://www.coova.org/CoovaChilli"
   10.13 -WANTED="coova-chilli"
   10.14 -
   10.15 -DEPENDS="coova-chilli"
   10.16 -
   10.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   10.18 -genpkg_rules()
   10.19 -{
   10.20 -	mkdir -p $fs/usr/lib/coova-chilli
   10.21 -	cp -a $install/usr/lib/coova-chilli/*a $fs/usr/lib/
   10.22 -	cp -a $install/usr/lib/*a $fs/usr/lib/
   10.23 -	cp -a $install/usr/lib/python $fs/usr/lib/
   10.24 -	cp -a $install/usr/include $fs/usr/
   10.25 -}
    11.1 --- a/coova-chilli/receipt	Tue Mar 06 11:29:35 2018 +0200
    11.2 +++ b/coova-chilli/receipt	Wed Mar 07 19:43:44 2018 +0200
    11.3 @@ -1,44 +1,73 @@
    11.4 -# SliTaz package receipt.
    11.5 +# SliTaz package receipt v2.
    11.6  
    11.7  PACKAGE="coova-chilli"
    11.8  VERSION="1.3.0"
    11.9  CATEGORY="network"
   11.10 -SHORT_DESC="Captive portal or wireless LAN access point controller."
   11.11 +SHORT_DESC="Captive portal or wireless LAN access point controller"
   11.12  MAINTAINER="pascal.bellard@slitaz.org"
   11.13  LICENSE="GPL3"
   11.14 +WEB_SITE="http://www.coova.org/CoovaChilli"
   11.15 +
   11.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   11.17 -WEB_SITE="http://www.coova.org/CoovaChilli"
   11.18  WGET_URL="http://ap.coova.org/chilli/$TARBALL"
   11.19  
   11.20 -DEPENDS="openssl curl libidn"
   11.21  BUILD_DEPENDS="openssl-dev curl-dev perl"
   11.22 +SPLIT="coova-chilli-dev"
   11.23  
   11.24 -# Rules to configure and make the package.
   11.25 -compile_rules()
   11.26 -{
   11.27 +compile_rules() {
   11.28  	sed -i 's|return -1; safe_close|return -1;\n safe_close|' src/redir.c
   11.29  	sed -i 's|if (.\(safe_write.*\)) /. error ./|\1|' src/garden.c
   11.30 -	./configure  --prefix=/usr --mandir=/usr/share/man \
   11.31 +	./configure \
   11.32 +		--prefix=/usr \
   11.33 +		--mandir=/usr/share/man \
   11.34  		--infodir=/usr/share/info \
   11.35 -		--sysconfdir=/etc --localstatedir=/var --enable-largelimits \
   11.36 -		--enable-binstatusfile --enable-statusfile --enable-chilliproxy \
   11.37 -		--enable-chilliradsec --enable-chilliredir --with-openssl --with-curl \
   11.38 -		--with-poll --enable-dhcpopt --enable-sessgarden --enable-dnslog \
   11.39 -		--enable-ipwhitelist --enable-redirdnsreq --enable-miniconfig \
   11.40 -		--enable-libjson --enable-layer3 --enable-proxyvsa --enable-miniportal \
   11.41 -		--enable-chilliscript --enable-eapol --enable-uamdomainfile \
   11.42 -		--enable-modules --enable-multiroute \
   11.43 +		--sysconfdir=/etc \
   11.44 +		--localstatedir=/var \
   11.45 +		--enable-largelimits \
   11.46 +		--enable-binstatusfile \
   11.47 +		--enable-statusfile \
   11.48 +		--enable-chilliproxy \
   11.49 +		--enable-chilliradsec \
   11.50 +		--enable-chilliredir \
   11.51 +		--with-openssl \
   11.52 +		--with-curl \
   11.53 +		--with-poll \
   11.54 +		--enable-dhcpopt \
   11.55 +		--enable-sessgarden \
   11.56 +		--enable-dnslog \
   11.57 +		--enable-ipwhitelist \
   11.58 +		--enable-redirdnsreq \
   11.59 +		--enable-miniconfig \
   11.60 +		--enable-libjson \
   11.61 +		--enable-layer3 \
   11.62 +		--enable-proxyvsa \
   11.63 +		--enable-miniportal \
   11.64 +		--enable-chilliscript \
   11.65 +		--enable-eapol \
   11.66 +		--enable-uamdomainfile \
   11.67 +		--enable-modules \
   11.68 +		--enable-multiroute \
   11.69  		$CONFIGURE_ARGS &&
   11.70  	make &&
   11.71  	make DESTDIR=$DESTDIR install
   11.72  }
   11.73  
   11.74 -# Rules to gen a SliTaz package suitable for Tazpkg.
   11.75 -genpkg_rules()
   11.76 -{
   11.77 -	mkdir -p $fs/usr/lib/coova-chilli
   11.78 -	cp -a $install/usr/lib/coova-chilli/*.so* $fs/usr/lib/
   11.79 -	cp -a $install/usr/lib/*.so* $fs/usr/lib/
   11.80 -	cp -a $install/usr/sbin $fs/usr/
   11.81 -	cp -a $install/etc $fs/
   11.82 +genpkg_rules() {
   11.83 +	case $PACKAGE in
   11.84 +		coova-chilli)
   11.85 +			mkdir -p $fs/usr/lib/coova-chilli
   11.86 +			cp -a $install/usr/lib/coova-chilli/*.so* $fs/usr/lib/
   11.87 +			cp -a $install/usr/lib/*.so* $fs/usr/lib/
   11.88 +			cp -a $install/usr/sbin $fs/usr/
   11.89 +			cp -a $install/etc $fs/
   11.90 +			DEPENDS="openssl curl libidn"
   11.91 +			;;
   11.92 +		*-dev)
   11.93 +			mkdir -p $fs/usr/lib/coova-chilli
   11.94 +			cp -a $install/usr/lib/coova-chilli/*a $fs/usr/lib/
   11.95 +			cp -a $install/usr/lib/*a $fs/usr/lib/
   11.96 +			cp -a $install/usr/lib/python $fs/usr/lib/
   11.97 +			cp -a $install/usr/include $fs/usr/
   11.98 +			;;
   11.99 +	esac
  11.100  }
    12.1 --- a/csync-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,21 +0,0 @@
    12.4 -# SliTaz package receipt.
    12.5 -
    12.6 -PACKAGE="csync-dev"
    12.7 -VERSION="0.50.8"
    12.8 -CATEGORY="development"
    12.9 -SHORT_DESC="Csync development files."
   12.10 -MAINTAINER="erjo@slitaz.org"
   12.11 -LICENSE="GPL2"
   12.12 -WEB_SITE="http://www.csync.org/"
   12.13 -WANTED="csync"
   12.14 -
   12.15 -DEPENDS="csync"
   12.16 -BUILD_DEPENDS=""
   12.17 -
   12.18 -
   12.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   12.20 -genpkg_rules()
   12.21 -{
   12.22 -	mkdir -p $fs/usr
   12.23 -	cp -a $install/usr/include  $fs/usr
   12.24 -}
    13.1 --- a/csync/receipt	Tue Mar 06 11:29:35 2018 +0200
    13.2 +++ b/csync/receipt	Wed Mar 07 19:43:44 2018 +0200
    13.3 @@ -1,4 +1,4 @@
    13.4 -# SliTaz package receipt.
    13.5 +# SliTaz package receipt v2.
    13.6  
    13.7  PACKAGE="csync"
    13.8  VERSION="0.50.8"
    13.9 @@ -7,31 +7,38 @@
   13.10  MAINTAINER="erjo@slitaz.org"
   13.11  LICENSE="GPL2"
   13.12  WEB_SITE="http://www.csync.org/"
   13.13 +
   13.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   13.15  WGET_URL="http://download.owncloud.com/download/$TARBALL"
   13.16  
   13.17 -DEPENDS="libsqlite3 neon"
   13.18 -BUILD_DEPENDS="check-dev cmake sqlite3-dev iniparser-dev  \
   13.19 - expat-dev openssl-dev log4c-dev neon-dev samba-dev"
   13.20 +BUILD_DEPENDS="check-dev cmake sqlite3-dev iniparser-dev \
   13.21 +expat-dev openssl-dev log4c-dev neon-dev samba-dev"
   13.22 +SPLIT="csync-dev"
   13.23  
   13.24 -# Rules to configure and make the package.
   13.25 -compile_rules()
   13.26 -{
   13.27 -	mkdir csync-build && cd csync-build
   13.28 -	cmake -DCMAKE_INSTALL_PREFIX=/usr \
   13.29 +compile_rules() {
   13.30 +	mkdir csync-build
   13.31 +	cd    csync-build
   13.32 +	cmake \
   13.33 +		-DCMAKE_INSTALL_PREFIX=/usr \
   13.34  		-DWITH_LOG4C=OFF \
   13.35 -		-DLOG_TO_CALLBACK=ON .. \
   13.36 -		&& make && make install
   13.37 -	
   13.38 +		-DLOG_TO_CALLBACK=ON \
   13.39 +		.. &&
   13.40 +	make && make install
   13.41  }
   13.42  
   13.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
   13.44 -genpkg_rules()
   13.45 -{
   13.46 -	mkdir -p $fs/usr/lib 
   13.47 -	
   13.48 -	cp -a $install/usr/etc $fs/
   13.49 -	cp -a $install/usr/bin $fs/usr
   13.50 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   13.51 -	cp -a $install/usr/lib/csync-0 $fs/usr/lib
   13.52 +genpkg_rules() {
   13.53 +	case $PACKAGE in
   13.54 +		csync)
   13.55 +			mkdir -p $fs/usr/lib
   13.56 +			cp -a $install/usr/etc $fs/
   13.57 +			cp -a $install/usr/bin $fs/usr
   13.58 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   13.59 +			cp -a $install/usr/lib/csync-0 $fs/usr/lib
   13.60 +			DEPENDS="libsqlite3 neon"
   13.61 +			;;
   13.62 +		*-dev)
   13.63 +			mkdir -p $fs/usr
   13.64 +			cp -a $install/usr/include $fs/usr
   13.65 +			;;
   13.66 +	esac
   13.67  }
    14.1 --- a/cups-filters-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,18 +0,0 @@
    14.4 -# SliTaz package receipt.
    14.5 -
    14.6 -PACKAGE="cups-filters-dev"
    14.7 -VERSION="1.11.1"
    14.8 -CATEGORY="development"
    14.9 -SHORT_DESC="OpenPrinting Cups Filters (development files)"
   14.10 -MAINTAINER="mojo@slitaz.org"
   14.11 -LICENSE="GPL"
   14.12 -WEB_SITE="https://wiki.linuxfoundation.org/openprinting/start"
   14.13 -
   14.14 -WANTED="cups-filters"
   14.15 -DEPENDS="cups-filters"
   14.16 -
   14.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   14.18 -genpkg_rules()
   14.19 -{
   14.20 -	copy *.h *.la *.pc
   14.21 -}
    15.1 --- a/cups-filters/receipt	Tue Mar 06 11:29:35 2018 +0200
    15.2 +++ b/cups-filters/receipt	Wed Mar 07 19:43:44 2018 +0200
    15.3 @@ -1,4 +1,4 @@
    15.4 -# SliTaz package receipt.
    15.5 +# SliTaz package receipt v2.
    15.6  
    15.7  PACKAGE="cups-filters"
    15.8  VERSION="1.11.1"
    15.9 @@ -11,14 +11,12 @@
   15.10  TARBALL="$PACKAGE-$VERSION.tar.xz"
   15.11  WGET_URL="https://www.openprinting.org/download/cups-filters/$TARBALL"
   15.12  
   15.13 -DEPENDS="cups dbus fontconfig freetype glib ijs lcms2 libcups libgnutls \
   15.14 -libjpeg-turbo libpng16 poppler qpdf tiff zlib"
   15.15 -BUILD_DEPENDS="cups-dev zlib-dev libjpeg-turbo-dev libpng16-dev tiff-dev glib-dev \
   15.16 -lcms2-dev freetype-dev fontconfig-dev ijs-dev qpdf-dev poppler-dev dbus-dev"
   15.17 +BUILD_DEPENDS="cups-dev zlib-dev libjpeg-turbo-dev libpng16-dev tiff-dev \
   15.18 +glib-dev lcms2-dev freetype-dev fontconfig-dev ijs-dev qpdf-dev poppler-dev \
   15.19 +dbus-dev"
   15.20 +SPLIT="cups-filters-dev"
   15.21  
   15.22 -# Rules to configure and make the package.
   15.23 -compile_rules()
   15.24 -{
   15.25 +compile_rules() {
   15.26  	./configure \
   15.27  		--sysconfdir=/etc \
   15.28  		--localstatedir=/var \
   15.29 @@ -32,9 +30,16 @@
   15.30  	make && make install
   15.31  }
   15.32  
   15.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
   15.34 -genpkg_rules()
   15.35 -{
   15.36 -	copy etc/ bin/ sbin/ cups/ ppd/ *.so*
   15.37 -	# rm -rf $fs/usr/share/cups/ppdc
   15.38 +genpkg_rules() {
   15.39 +	case $PACKAGE in
   15.40 +		cups-filters)
   15.41 +			copy etc/ bin/ sbin/ cups/ ppd/ *.so*
   15.42 +			# rm -rf $fs/usr/share/cups/ppdc
   15.43 +			DEPENDS="cups dbus fontconfig freetype glib ijs lcms2 libcups \
   15.44 +			libgnutls libjpeg-turbo libpng16 poppler qpdf tiff zlib"
   15.45 +			;;
   15.46 +		*-dev)
   15.47 +			copy *.h *.la *.pc
   15.48 +			;;
   15.49 +	esac
   15.50  }
    16.1 --- a/cvs-contrib/receipt	Tue Mar 06 11:29:35 2018 +0200
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,22 +0,0 @@
    16.4 -# SliTaz package receipt.
    16.5 -
    16.6 -PACKAGE="cvs-contrib"
    16.7 -VERSION="1.11.23"
    16.8 -CATEGORY="development"
    16.9 -SHORT_DESC="CVS contrib utilities"
   16.10 -MAINTAINER="erjo@slitaz.org"
   16.11 -LICENSE="GPL"
   16.12 -WANTED="cvs"
   16.13 -WEB_SITE="http://ximbiot.com/cvs/"
   16.14 -
   16.15 -DEPENDS="libcomerr openssl libkrb5"
   16.16 -
   16.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   16.18 -genpkg_rules()
   16.19 -{
   16.20 -	mkdir -p $fs/usr/share
   16.21 -	cp -a $install/usr/share/cvs $fs/usr/share
   16.22 -	
   16.23 -	rm -f $fs/usr/share/cvs/contrib/intro.doc
   16.24 -}
   16.25 -
    17.1 --- a/cvs/receipt	Tue Mar 06 11:29:35 2018 +0200
    17.2 +++ b/cvs/receipt	Wed Mar 07 19:43:44 2018 +0200
    17.3 @@ -1,4 +1,4 @@
    17.4 -# SliTaz package receipt.
    17.5 +# SliTaz package receipt v2.
    17.6  
    17.7  PACKAGE="cvs"
    17.8  VERSION="1.11.23"
    17.9 @@ -6,27 +6,38 @@
   17.10  SHORT_DESC="Concurrent Versions System"
   17.11  MAINTAINER="erjo@slitaz.org"
   17.12  LICENSE="GPL"
   17.13 +WEB_SITE="http://ximbiot.com/cvs/"
   17.14 +
   17.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   17.16 -WEB_SITE="http://ximbiot.com/cvs/"
   17.17  WGET_URL="http://ftp.gnu.org/non-gnu/cvs/source/stable/$VERSION/$TARBALL"
   17.18 -TAGS="version-control versioning"
   17.19  
   17.20 -DEPENDS="libcomerr libcomerr3 openssl libkrb5"
   17.21 +SPLIT="cvs-contrib"
   17.22  
   17.23 -# Rules to configure and make the package.
   17.24 -compile_rules()
   17.25 -{
   17.26 -	./configure -C --prefix=/usr \
   17.27 +compile_rules() {
   17.28 +	./configure \
   17.29 +		-C \
   17.30 +		--prefix=/usr \
   17.31  		--with-ssh \
   17.32 -		--mandir=/usr/share/man $CONFIGURE_ARGS &&
   17.33 +		--mandir=/usr/share/man \
   17.34 +		$CONFIGURE_ARGS &&
   17.35  	make &&
   17.36  	make DESTDIR=$DESTDIR install
   17.37  }
   17.38  
   17.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
   17.40 -genpkg_rules()
   17.41 -{
   17.42 -	mkdir -p $fs/usr/bin
   17.43 -	cp -a $install/usr/bin/cvs* $fs/usr/bin
   17.44 +genpkg_rules() {
   17.45 +	case $PACKAGE in
   17.46 +		cvs)
   17.47 +			mkdir -p $fs/usr/bin
   17.48 +			cp -a $install/usr/bin/cvs* $fs/usr/bin
   17.49 +			DEPENDS="libcomerr libcomerr3 openssl libkrb5"
   17.50 +			TAGS="version-control versioning"
   17.51 +			;;
   17.52 +		cvs-contrib)
   17.53 +			mkdir -p $fs/usr/share
   17.54 +			cp -a $install/usr/share/cvs $fs/usr/share
   17.55 +			rm -f $fs/usr/share/cvs/contrib/intro.doc
   17.56 +			CAT="development|contrib utilities"
   17.57 +			DEPENDS="libcomerr openssl libkrb5"
   17.58 +			;;
   17.59 +	esac
   17.60  }
   17.61 -
    18.1 --- a/depmod/receipt	Tue Mar 06 11:29:35 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="depmod"
    18.7 -VERSION="3.12"
    18.8 -CATEGORY="base-system"
    18.9 -SHORT_DESC="Kernel modules dependancy tool."
   18.10 -MAINTAINER="pascal.bellard@slitaz.org"
   18.11 -LICENSE="GPL2"
   18.12 -WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/module-init-tools/"
   18.13 -
   18.14 -WANTED="module-init-tools"
   18.15 -DEPENDS="wget glibc-base gcc-lib-base zlib lzlib"
   18.16 -
   18.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   18.18 -genpkg_rules()
   18.19 -{
   18.20 -	mkdir -p $fs/sbin
   18.21 -	cp $install/sbin/depmod $fs/sbin
   18.22 -}
   18.23 -
   18.24 -# Overlap busybox
   18.25 -pre_install()
   18.26 -{
   18.27 -	rm -f "$1/sbin/depmod"
   18.28 -}
    19.1 --- a/dvd+rw-media-tools/receipt	Tue Mar 06 11:29:35 2018 +0200
    19.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.3 @@ -1,19 +0,0 @@
    19.4 -# SliTaz package receipt.
    19.5 -
    19.6 -PACKAGE="dvd+rw-media-tools"
    19.7 -VERSION="7.1"
    19.8 -CATEGORY="multimedia"
    19.9 -SHORT_DESC="DVD RW media tools"
   19.10 -MAINTAINER="jozee@slitaz.org"
   19.11 -LICENSE="GPL2"
   19.12 -WANTED="dvd+rw-tools"
   19.13 -WEB_SITE="http://fy.chalmers.se/~appro/linux/DVD+RW" 
   19.14 -
   19.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   19.16 -genpkg_rules()
   19.17 -{
   19.18 -	mkdir -p $fs/usr/bin
   19.19 -	cp -a $install/usr/bin $fs/usr
   19.20 -	rm $fs/usr/bin/growisofs
   19.21 -	
   19.22 -}
    20.1 --- a/dvd+rw-tools/receipt	Tue Mar 06 11:29:35 2018 +0200
    20.2 +++ b/dvd+rw-tools/receipt	Wed Mar 07 19:43:44 2018 +0200
    20.3 @@ -1,4 +1,4 @@
    20.4 -# SliTaz package receipt.
    20.5 +# SliTaz package receipt v2.
    20.6  
    20.7  PACKAGE="dvd+rw-tools"
    20.8  VERSION="7.1"
    20.9 @@ -6,17 +6,15 @@
   20.10  SHORT_DESC="DVD RW tools"
   20.11  MAINTAINER="jozee@slitaz.org"
   20.12  LICENSE="GPL2"
   20.13 +WEB_SITE="http://fy.chalmers.se/~appro/linux/DVD+RW"
   20.14 +
   20.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   20.16 -WEB_SITE="http://fy.chalmers.se/~appro/linux/DVD+RW" 
   20.17  WGET_URL="$WEB_SITE/tools/$TARBALL"
   20.18  
   20.19 -DEPENDS="cdrkit"
   20.20 -BUILD_DEPENDS="cdrkit gcc-lib-base m4"
   20.21 +BUILD_DEPENDS="cdrkit m4"
   20.22 +SPLIT="dvd+rw-media-tools"
   20.23  
   20.24 -# Rules to configure and make the package.
   20.25 -compile_rules()
   20.26 -{
   20.27 -	cd $src
   20.28 +compile_rules() {
   20.29  	patch -p1 -i $stuff/build-7.1.patch
   20.30  	grep -qs 'define u8' growisofs.c ||
   20.31  	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' growisofs.c
   20.32 @@ -27,10 +25,15 @@
   20.33  	done
   20.34  }
   20.35  
   20.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   20.37 -genpkg_rules()
   20.38 -{
   20.39 -	mkdir -p $fs/usr/bin
   20.40 -	cp -a $install/usr/bin/growisofs $fs/usr/bin
   20.41 -
   20.42 +genpkg_rules() {
   20.43 +	case $PACKAGE in
   20.44 +		dvd+rw-tools)
   20.45 +			copy growisofs
   20.46 +			DEPENDS="cdrkit"
   20.47 +			;;
   20.48 +		dvd+rw-media-tools)
   20.49 +			copy @std @rm
   20.50 +			CAT="multimedia|media tools"
   20.51 +			;;
   20.52 +	esac
   20.53  }
    21.1 --- a/emacs-pkg-po-mode/receipt	Tue Mar 06 11:29:35 2018 +0200
    21.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.3 @@ -1,47 +0,0 @@
    21.4 -# SliTaz package receipt.
    21.5 -
    21.6 -PACKAGE="emacs-pkg-po-mode"
    21.7 -VERSION="0.19.8.1"
    21.8 -CATEGORY="development"
    21.9 -SHORT_DESC="An Emacs major mode for editing or modifying PO files."
   21.10 -MAINTAINER="domcox@slitaz.org"
   21.11 -LICENSE="GPL3"
   21.12 -WEB_SITE="http://www.gnu.org/software/hello/manual/gettext/PO-Mode.html"
   21.13 -WANTED="gettext"
   21.14 -
   21.15 -DEPENDS="emacs"
   21.16 -BUILD_DEPENDS="emacs"
   21.17 -
   21.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   21.19 -genpkg_rules()
   21.20 -{
   21.21 -	echo -n "Installing start file"
   21.22 -	mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \
   21.23 -	cp -a $src/gettext-tools/misc/start-po.el \
   21.24 -		$fs/usr/share/emacs/site-lisp/site-start.d/50-start-po.el
   21.25 -	status
   21.26 -
   21.27 -	echo -n "Installing po-mode"
   21.28 -	mkdir -p $fs/usr/share/emacs/site-lisp/po-mode && \
   21.29 -	cp -a $src/gettext-tools/misc/po*.el $fs/usr/share/emacs/site-lisp/po-mode
   21.30 -	status
   21.31 -
   21.32 -	# byte-compile files, remove src
   21.33 -	for file in $fs/usr/share/emacs/site-lisp/po-mode/*.el ; do
   21.34 -		echo -n "Byte-compiling $(basename $file)"
   21.35 -		emacs -batch -f batch-byte-compile $file 2> /dev/null; err=$?
   21.36 -		status
   21.37 -		[ "$err" = "0" ] && rm -f $file
   21.38 -	done
   21.39 -	true
   21.40 -}
   21.41 -
   21.42 -post_install()
   21.43 -{
   21.44 -	chroot "$1/" tazpkg reconfigure emacs
   21.45 -}
   21.46 -
   21.47 -post_remove()
   21.48 -{
   21.49 -	chroot "$1/" tazpkg reconfigure emacs
   21.50 -}
    22.1 --- a/fcgi-dev/receipt	Tue Mar 06 11:29:35 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="fcgi-dev"
    22.7 -VERSION="2.4.0"
    22.8 -CATEGORY="development"
    22.9 -SHORT_DESC="Fast CGI devel files."
   22.10 -MAINTAINER="pankso@slitaz.org"
   22.11 -LICENSE="MIT"
   22.12 -WEB_SITE="http://www.fastcgi.com/"
   22.13 -WANTED="fcgi"
   22.14 -
   22.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   22.16 -genpkg_rules()
   22.17 -{
   22.18 -	mkdir -p $fs/usr/lib
   22.19 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   22.20 -	cp -a $install/usr/include $fs/usr
   22.21 -}
    23.1 --- a/fcgi/receipt	Tue Mar 06 11:29:35 2018 +0200
    23.2 +++ b/fcgi/receipt	Wed Mar 07 19:43:44 2018 +0200
    23.3 @@ -1,36 +1,32 @@
    23.4 -# SliTaz package receipt.
    23.5 +# SliTaz package receipt v2.
    23.6  
    23.7  PACKAGE="fcgi"
    23.8  VERSION="2.4.0"
    23.9  CATEGORY="development"
   23.10 -SHORT_DESC="Fast CGI binary and library."
   23.11 +SHORT_DESC="Fast CGI binary and library"
   23.12  MAINTAINER="pankso@slitaz.org"
   23.13  LICENSE="MIT"
   23.14 +WEB_SITE="http://www.fastcgi.com/"
   23.15 +
   23.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   23.17 -WEB_SITE="http://www.fastcgi.com/"
   23.18  WGET_URL="http://www.fastcgi.com/dist/$TARBALL"
   23.19 -TAGS="CGI"
   23.20  
   23.21 -# Rules to configure and make the package.
   23.22 -compile_rules()
   23.23 -{
   23.24 -	# Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654)
   23.25 -	busybox patch -p0 -i $stuff/fcgi-2.4.0_gcc4.u
   23.26 -	
   23.27 -	cd $src
   23.28 -	./configure \
   23.29 -		--prefix=/usr \
   23.30 -		--infodir=/usr/share/info \
   23.31 -		--mandir=/usr/share/man \
   23.32 -		$CONFIGURE_ARGS &&
   23.33 +SPLIT="fcgi-dev"
   23.34 +
   23.35 +compile_rules() {
   23.36 +	./configure $CONFIGURE_ARGS &&
   23.37  	make -j1 &&
   23.38  	make -j1 DESTDIR=$DESTDIR install
   23.39  }
   23.40  
   23.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
   23.42 -genpkg_rules()
   23.43 -{
   23.44 -	mkdir -p $fs/usr/lib
   23.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   23.46 -	cp -a $install/usr/bin $fs/usr
   23.47 +genpkg_rules() {
   23.48 +	case $PACKAGE in
   23.49 +		fcgi)
   23.50 +			copy @std
   23.51 +			TAGS="CGI"
   23.52 +			;;
   23.53 +		*-dev)
   23.54 +			copy @dev
   23.55 +			;;
   23.56 +	esac
   23.57  }
    24.1 --- a/fcgi/stuff/fcgi-2.4.0_gcc4.u	Tue Mar 06 11:29:35 2018 +0200
    24.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.3 @@ -1,10 +0,0 @@
    24.4 ---- include/fcgio.h	Mon Feb 25 13:16:11 2002
    24.5 -+++ include/fcgio.h	Thu Sep 24 09:43:58 2009
    24.6 -@@ -31,6 +31,7 @@
    24.7 - #define FCGIO_H
    24.8 - 
    24.9 - #include <iostream>
   24.10 -+#include <cstdio>
   24.11 - 
   24.12 - #include "fcgiapp.h"
   24.13 - 
    25.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.2 +++ b/fcgi/stuff/patches/fcgi-2.4.0_gcc4.u	Wed Mar 07 19:43:44 2018 +0200
    25.3 @@ -0,0 +1,10 @@
    25.4 +--- include/fcgio.h	Mon Feb 25 13:16:11 2002
    25.5 ++++ include/fcgio.h	Thu Sep 24 09:43:58 2009
    25.6 +@@ -31,6 +31,7 @@
    25.7 + #define FCGIO_H
    25.8 + 
    25.9 + #include <iostream>
   25.10 ++#include <cstdio>
   25.11 + 
   25.12 + #include "fcgiapp.h"
   25.13 + 
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/fcgi/stuff/patches/series	Wed Mar 07 19:43:44 2018 +0200
    26.3 @@ -0,0 +1,2 @@
    26.4 +# Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654)
    26.5 +-p0|fcgi-2.4.0_gcc4.u
    27.1 --- a/freeimage-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    27.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.3 @@ -1,21 +0,0 @@
    27.4 -# SliTaz package receipt.
    27.5 -
    27.6 -PACKAGE="freeimage-dev"
    27.7 -VERSION="3141"
    27.8 -CATEGORY="development"
    27.9 -SHORT_DESC="freeimage devel files"
   27.10 -MAINTAINER="jozee@slitaz.org"
   27.11 -LICENSE="GPL2"
   27.12 -WANTED="freeimage"
   27.13 -SOURCE="FreeImage"
   27.14 -WEB_SITE="http://freeimage.sourceforge.net/"
   27.15 -
   27.16 -DEPENDS="freeimage"
   27.17 -
   27.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   27.19 -genpkg_rules()
   27.20 -{
   27.21 -	mkdir -p $fs/usr/lib
   27.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   27.23 -	cp -a $install/usr/include $fs/usr
   27.24 -}
    28.1 --- a/freeimage/receipt	Tue Mar 06 11:29:35 2018 +0200
    28.2 +++ b/freeimage/receipt	Wed Mar 07 19:43:44 2018 +0200
    28.3 @@ -1,41 +1,36 @@
    28.4 -# SliTaz package receipt.
    28.5 +# SliTaz package receipt v2.
    28.6  
    28.7  PACKAGE="freeimage"
    28.8  VERSION="3141"
    28.9  CATEGORY="graphics"
   28.10 -SHORT_DESC="library to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others"
   28.11 +SHORT_DESC="Library to support popular graphics image formats like PNG, BMP, \
   28.12 +JPEG, TIFF and others"
   28.13  MAINTAINER="jozee@slitaz.org"
   28.14  LICENSE="GPL2"
   28.15 -SOURCE="FreeImage"
   28.16 -TARBALL="$SOURCE$VERSION.zip"
   28.17  WEB_SITE="http://freeimage.sourceforge.net/" 
   28.18 +
   28.19 +TARBALL="FreeImage$VERSION.zip"
   28.20  WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL"
   28.21  
   28.22 -DEPENDS="gcc-lib-base"
   28.23 -BUILD_DEPENDS="gcc-lib-base"
   28.24 +SPLIT="freeimage-dev"
   28.25  
   28.26 -# Rules to configure and make the package.
   28.27 -compile_rules()
   28.28 -{
   28.29 -	cd $src
   28.30 -	patch -Np1 -i $stuff/gcc4.5_ln.patch
   28.31 +compile_rules() {
   28.32  	pkgdir=$DESTDIR
   28.33  	incl=$pkgdir/usr/include
   28.34 -    dest=$pkgdir/usr/lib
   28.35 +	dest=$pkgdir/usr/lib
   28.36  	install -d $dest
   28.37  	install -d $incl
   28.38 -	sed -e "s|INCDIR = /usr/include|INCDIR = $incl|g" -i Makefile.gnu 
   28.39 -	sed -e "s|INSTALLDIR = /usr/lib|INSTALLDIR = $dest|g" -i Makefile.gnu  
   28.40 -	sed -e "s|ldconfig||g" -i Makefile.gnu  
   28.41 +	sed -e "s|INCDIR = /usr/include|INCDIR = $incl|g" -i Makefile.gnu
   28.42 +	sed -e "s|INSTALLDIR = /usr/lib|INSTALLDIR = $dest|g" -i Makefile.gnu
   28.43 +	sed -e "s|ldconfig||g" -i Makefile.gnu
   28.44  	export CXXFLAGS="-Wno-narrowing"
   28.45  	make &&
   28.46  	make DESTDIR=$pkgdir install
   28.47  }
   28.48  
   28.49 -# Rules to gen a SliTaz package suitable for Tazpkg.
   28.50 -genpkg_rules()
   28.51 -{
   28.52 -	mkdir -p $fs/usr/lib
   28.53 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   28.54 -
   28.55 +genpkg_rules() {
   28.56 +	case $PACKAGE in
   28.57 +		freeimage) copy @std;;
   28.58 +		*-dev)     copy @dev;;
   28.59 +	esac
   28.60  }
    29.1 --- a/freeimage/stuff/gcc4.5_ln.patch	Tue Mar 06 11:29:35 2018 +0200
    29.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.3 @@ -1,62 +0,0 @@
    29.4 -diff -Naur FreeImage.orig//Makefile.fip FreeImage.new//Makefile.fip
    29.5 ---- FreeImage.orig//Makefile.fip	2010-08-10 19:15:20.000000000 +0200
    29.6 -+++ FreeImage.new//Makefile.fip	2010-09-12 23:29:36.000000000 +0200
    29.7 -@@ -15,9 +15,9 @@
    29.8 - 
    29.9 - MODULES = $(SRCS:.c=.o)
   29.10 - MODULES := $(MODULES:.cpp=.o)
   29.11 --CFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS
   29.12 -+CFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS
   29.13 - CFLAGS += $(INCLUDE)
   29.14 --CXXFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy
   29.15 -+CXXFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy
   29.16 - CXXFLAGS += $(INCLUDE)
   29.17 - 
   29.18 - ifeq ($(shell sh -c 'uname -m 2>/dev/null || echo not'),x86_64)
   29.19 -diff -Naur FreeImage.orig//Makefile.gnu FreeImage.new//Makefile.gnu
   29.20 ---- FreeImage.orig//Makefile.gnu	2010-08-10 19:15:20.000000000 +0200
   29.21 -+++ FreeImage.new//Makefile.gnu	2010-09-12 23:01:57.000000000 +0200
   29.22 -@@ -15,9 +15,9 @@
   29.23 - 
   29.24 - MODULES = $(SRCS:.c=.o)
   29.25 - MODULES := $(MODULES:.cpp=.o)
   29.26 --CFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS
   29.27 -+CFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS
   29.28 - CFLAGS += $(INCLUDE)
   29.29 --CXXFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy
   29.30 -+CXXFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy
   29.31 - CXXFLAGS += $(INCLUDE)
   29.32 - 
   29.33 - ifeq ($(shell sh -c 'uname -m 2>/dev/null || echo not'),x86_64)
   29.34 -@@ -65,9 +65,6 @@
   29.35 - 	install -m 644 -o root -g root $(HEADER) $(INCDIR)
   29.36 - 	install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR)
   29.37 - 	install -m 755 -o root -g root $(SHAREDLIB) $(INSTALLDIR)
   29.38 --	ln -sf $(SHAREDLIB) $(INSTALLDIR)/$(VERLIBNAME)
   29.39 --	ln -sf $(VERLIBNAME) $(INSTALLDIR)/$(LIBNAME)	
   29.40 --	ldconfig
   29.41 - 
   29.42 - clean:
   29.43 - 	rm -f core Dist/*.* u2dtmp* $(MODULES) $(STATICLIB) $(SHAREDLIB) $(LIBNAME)
   29.44 -diff -Naur FreeImage.orig//Source/FreeImageToolkit/Background.cpp FreeImage.new//Source/FreeImageToolkit/Background.cpp
   29.45 ---- FreeImage.orig//Source/FreeImageToolkit/Background.cpp	2010-08-10 19:15:20.000000000 +0200
   29.46 -+++ FreeImage.new//Source/FreeImageToolkit/Background.cpp	2010-08-10 19:16:12.000000000 +0200
   29.47 -@@ -21,6 +21,7 @@
   29.48 - 
   29.49 - #include "FreeImage.h"
   29.50 - #include "Utilities.h"
   29.51 -+#include <limits.h>
   29.52 - 
   29.53 - /** @brief Determines, whether a palletized image is visually greyscale or not.
   29.54 -  
   29.55 -diff -Naur FreeImage.orig//Source/OpenEXR/Imath/ImathMatrix.h FreeImage.new//Source/OpenEXR/Imath/ImathMatrix.h
   29.56 ---- FreeImage.orig//Source/OpenEXR/Imath/ImathMatrix.h	2010-08-10 19:15:20.000000000 +0200
   29.57 -+++ FreeImage.new//Source/OpenEXR/Imath/ImathMatrix.h	2010-08-10 21:43:26.000000000 +0200
   29.58 -@@ -51,6 +51,7 @@
   29.59 - 
   29.60 - #include <iostream>
   29.61 - #include <iomanip>
   29.62 -+#include <cstring>
   29.63 - 
   29.64 - #if (defined _WIN32 || defined _WIN64) && defined _MSC_VER
   29.65 - // suppress exception specification warnings
    30.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.2 +++ b/freeimage/stuff/patches/gcc4.5_ln.patch	Wed Mar 07 19:43:44 2018 +0200
    30.3 @@ -0,0 +1,62 @@
    30.4 +diff -Naur FreeImage.orig//Makefile.fip FreeImage.new//Makefile.fip
    30.5 +--- FreeImage.orig//Makefile.fip	2010-08-10 19:15:20.000000000 +0200
    30.6 ++++ FreeImage.new//Makefile.fip	2010-09-12 23:29:36.000000000 +0200
    30.7 +@@ -15,9 +15,9 @@
    30.8 + 
    30.9 + MODULES = $(SRCS:.c=.o)
   30.10 + MODULES := $(MODULES:.cpp=.o)
   30.11 +-CFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS
   30.12 ++CFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS
   30.13 + CFLAGS += $(INCLUDE)
   30.14 +-CXXFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy
   30.15 ++CXXFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy
   30.16 + CXXFLAGS += $(INCLUDE)
   30.17 + 
   30.18 + ifeq ($(shell sh -c 'uname -m 2>/dev/null || echo not'),x86_64)
   30.19 +diff -Naur FreeImage.orig//Makefile.gnu FreeImage.new//Makefile.gnu
   30.20 +--- FreeImage.orig//Makefile.gnu	2010-08-10 19:15:20.000000000 +0200
   30.21 ++++ FreeImage.new//Makefile.gnu	2010-09-12 23:01:57.000000000 +0200
   30.22 +@@ -15,9 +15,9 @@
   30.23 + 
   30.24 + MODULES = $(SRCS:.c=.o)
   30.25 + MODULES := $(MODULES:.cpp=.o)
   30.26 +-CFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS
   30.27 ++CFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS
   30.28 + CFLAGS += $(INCLUDE)
   30.29 +-CXXFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy
   30.30 ++CXXFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy
   30.31 + CXXFLAGS += $(INCLUDE)
   30.32 + 
   30.33 + ifeq ($(shell sh -c 'uname -m 2>/dev/null || echo not'),x86_64)
   30.34 +@@ -65,9 +65,6 @@
   30.35 + 	install -m 644 -o root -g root $(HEADER) $(INCDIR)
   30.36 + 	install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR)
   30.37 + 	install -m 755 -o root -g root $(SHAREDLIB) $(INSTALLDIR)
   30.38 +-	ln -sf $(SHAREDLIB) $(INSTALLDIR)/$(VERLIBNAME)
   30.39 +-	ln -sf $(VERLIBNAME) $(INSTALLDIR)/$(LIBNAME)	
   30.40 +-	ldconfig
   30.41 + 
   30.42 + clean:
   30.43 + 	rm -f core Dist/*.* u2dtmp* $(MODULES) $(STATICLIB) $(SHAREDLIB) $(LIBNAME)
   30.44 +diff -Naur FreeImage.orig//Source/FreeImageToolkit/Background.cpp FreeImage.new//Source/FreeImageToolkit/Background.cpp
   30.45 +--- FreeImage.orig//Source/FreeImageToolkit/Background.cpp	2010-08-10 19:15:20.000000000 +0200
   30.46 ++++ FreeImage.new//Source/FreeImageToolkit/Background.cpp	2010-08-10 19:16:12.000000000 +0200
   30.47 +@@ -21,6 +21,7 @@
   30.48 + 
   30.49 + #include "FreeImage.h"
   30.50 + #include "Utilities.h"
   30.51 ++#include <limits.h>
   30.52 + 
   30.53 + /** @brief Determines, whether a palletized image is visually greyscale or not.
   30.54 +  
   30.55 +diff -Naur FreeImage.orig//Source/OpenEXR/Imath/ImathMatrix.h FreeImage.new//Source/OpenEXR/Imath/ImathMatrix.h
   30.56 +--- FreeImage.orig//Source/OpenEXR/Imath/ImathMatrix.h	2010-08-10 19:15:20.000000000 +0200
   30.57 ++++ FreeImage.new//Source/OpenEXR/Imath/ImathMatrix.h	2010-08-10 21:43:26.000000000 +0200
   30.58 +@@ -51,6 +51,7 @@
   30.59 + 
   30.60 + #include <iostream>
   30.61 + #include <iomanip>
   30.62 ++#include <cstring>
   30.63 + 
   30.64 + #if (defined _WIN32 || defined _WIN64) && defined _MSC_VER
   30.65 + // suppress exception specification warnings
    31.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.2 +++ b/freeimage/stuff/patches/series	Wed Mar 07 19:43:44 2018 +0200
    31.3 @@ -0,0 +1,1 @@
    31.4 +gcc4.5_ln.patch
    32.1 --- a/fusecloop/receipt	Tue Mar 06 11:29:35 2018 +0200
    32.2 +++ b/fusecloop/receipt	Wed Mar 07 19:43:44 2018 +0200
    32.3 @@ -1,26 +1,25 @@
    32.4 -# SliTaz package receipt.
    32.5 +# SliTaz package receipt v2.
    32.6  
    32.7  PACKAGE="fusecloop"
    32.8  VERSION="0.20.1"
    32.9  CATEGORY="system-tools"
   32.10 -SHORT_DESC="Mount cloop image in user space with fuse."
   32.11 +SHORT_DESC="Mount cloop image in user space with FUSE"
   32.12  MAINTAINER="pascal.bellard@slitaz.org"
   32.13  LICENSE="GPL2"
   32.14 +WEB_SITE="http://fusecloop.sourceforge.net/"
   32.15 +
   32.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   32.17 -WEB_SITE="http://fusecloop.sourceforge.net/"
   32.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   32.19 +
   32.20  ADVANCECOMP_VERSION="1.23"
   32.21  ADVANCECOMP_TARBALL="advancecomp-$ADVANCECOMP_VERSION.tar.gz"
   32.22  ADVANCECOMP_URL="$SF_MIRROR/advancemame/$ADVANCECOMP_TARBALL"
   32.23  EXTRA_SOURCE_FILES="$ADVANCECOMP_TARBALL"
   32.24  
   32.25 -DEPENDS="fuse zlib gcc-lib-base"
   32.26  BUILD_DEPENDS="fuse-dev zlib-dev automake"
   32.27 -SUGGESTED="fuseiso cloop-utils"
   32.28 +SPLIT="fusecloop cloop-utils"
   32.29  
   32.30 -# Rules to configure and make the package.
   32.31 -compile_rules()
   32.32 -{
   32.33 +compile_rules() {
   32.34  	[ -s $SOURCES_REPOSITORY/$ADVANCECOMP_TARBALL ] ||
   32.35  		wget -P $SOURCES_REPOSITORY $ADVANCECOMP_URL
   32.36  	tar xzf $SOURCES_REPOSITORY/$ADVANCECOMP_TARBALL
   32.37 @@ -31,21 +30,42 @@
   32.38  	cp create_compressed_fs.c $ADVANCECOMP/redef.cc
   32.39  	sed -i 's/Z_BEST_COMPRESSION/Z_BEST_SPEED/' create_compressed_fs.c
   32.40  	sed -i 's/def FIND_BEST_COMPRESSION/ 1/' $ADVANCECOMP/redef.cc
   32.41 -	./configure --prefix=/usr --infodir=/usr/share/info \
   32.42 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
   32.43 +	./configure \
   32.44 +		--prefix=/usr \
   32.45 +		--infodir=/usr/share/info \
   32.46 +		--mandir=/usr/share/man \
   32.47 +		$CONFIGURE_ARGS &&
   32.48  	make &&
   32.49 +
   32.50  	cd $ADVANCECOMP &&
   32.51  	./autogen.sh
   32.52  	automake --add-missing
   32.53 -	./configure --prefix=/usr --infodir=/usr/share/info \
   32.54 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
   32.55 -	make advdef
   32.56 +	./configure \
   32.57 +		--prefix=/usr \
   32.58 +		--infodir=/usr/share/info \
   32.59 +		--mandir=/usr/share/man \
   32.60 +		$CONFIGURE_ARGS &&
   32.61 +	make advdef || return 1
   32.62 +
   32.63 +	mkdir -p $install/usr/bin
   32.64 +	cp $src/fusecloop             $install/usr/bin
   32.65 +	cp $src/extract_compressed_fs $install/usr/bin
   32.66 +	cp $src/create_compressed_fs  $install/usr/bin/create_compressed_fs_fast
   32.67 +	cp $src/advancecomp-*/advdef  $install/usr/bin/create_compressed_fs
   32.68  }
   32.69  
   32.70 -# Rules to gen a SliTaz package suitable for Tazpkg.
   32.71 -genpkg_rules()
   32.72 -{
   32.73 -	mkdir -p $fs/usr/bin
   32.74 -	cp $src/fusecloop $fs/usr/bin
   32.75 +genpkg_rules() {
   32.76 +	case $PACKAGE in
   32.77 +		fusecloop)
   32.78 +			copy fusecloop
   32.79 +			DEPENDS="fuse zlib gcc-lib-base"
   32.80 +			SUGGESTED="fuseiso cloop-utils"
   32.81 +			;;
   32.82 +		cloop-utils)
   32.83 +			copy @std @rm
   32.84 +			CAT="system-tools|image creation & extraction tools"
   32.85 +			DEPENDS="zlib gcc-lib-base"
   32.86 +			;;
   32.87 +	esac
   32.88  }
   32.89  
    33.1 --- a/gavl-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    33.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    33.3 @@ -1,21 +0,0 @@
    33.4 -# SliTaz package receipt.
    33.5 -
    33.6 -PACKAGE="gavl-dev"
    33.7 -VERSION="1.4.0"
    33.8 -CATEGORY="development"
    33.9 -MAINTAINER="jozee@slitaz.org"
   33.10 -LICENSE="GPL3"
   33.11 -SHORT_DESC="gavl devel files"
   33.12 -WEB_SITE="http://gmerlin.sourceforge.net/"
   33.13 -WANTED="gavl"
   33.14 -
   33.15 -DEPENDS="gavl pkg-config"
   33.16 -
   33.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   33.18 -genpkg_rules()
   33.19 -{
   33.20 -	mkdir -p $fs/usr/lib
   33.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   33.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   33.23 -	cp -a $install/usr/include $fs/usr
   33.24 -}
    34.1 --- a/gavl/receipt	Tue Mar 06 11:29:35 2018 +0200
    34.2 +++ b/gavl/receipt	Wed Mar 07 19:43:44 2018 +0200
    34.3 @@ -1,29 +1,34 @@
    34.4 -# SliTaz package receipt.
    34.5 +# SliTaz package receipt v2.
    34.6  
    34.7  PACKAGE="gavl"
    34.8  VERSION="1.4.0"
    34.9  CATEGORY="multimedia"
   34.10 +SHORT_DESC="A low level library, upon which multimedia APIs can be built"
   34.11  MAINTAINER="jozee@slitaz.org"
   34.12  LICENSE="GPL3"
   34.13 -SHORT_DESC="A low level library, upon which multimedia APIs can be built."
   34.14  WEB_SITE="http://gmerlin.sourceforge.net/"
   34.15 +
   34.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   34.17  WGET_URL="$SF_MIRROR/gmerlin/$TARBALL"
   34.18  
   34.19 -DEPENDS="glibc-base"
   34.20 +SPLIT="gavl-dev"
   34.21  
   34.22 -# Rules to configure and make the package.
   34.23 -compile_rules()
   34.24 -{
   34.25 -	cd $src
   34.26 -	./configure --without-doxygen \
   34.27 -		--with-cpuflags=none $CONFIGURE_ARGS &&
   34.28 +compile_rules() {
   34.29 +	./configure \
   34.30 +		--without-doxygen \
   34.31 +		--with-cpuflags=none \
   34.32 +		$CONFIGURE_ARGS &&
   34.33  	make && make install
   34.34  }
   34.35 -	
   34.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   34.37 -genpkg_rules()
   34.38 -{
   34.39 -	mkdir -p $fs/usr/lib 
   34.40 -	cp -a $install/usr/lib/*so* $fs/usr/lib/
   34.41 +
   34.42 +genpkg_rules() {
   34.43 +	case $PACKAGE in
   34.44 +		gavl)
   34.45 +			copy @std
   34.46 +			DEPENDS="glibc-base"
   34.47 +			;;
   34.48 +		*-dev)
   34.49 +			copy @dev
   34.50 +			;;
   34.51 +	esac
   34.52  }
    35.1 --- a/gc-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    35.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.3 @@ -1,21 +0,0 @@
    35.4 -# SliTaz package receipt.
    35.5 -
    35.6 -PACKAGE="gc-dev"
    35.7 -VERSION="7.2"
    35.8 -CATEGORY="development"
    35.9 -SHORT_DESC="A garbage collector for C and C++ devel files (with libatomic_ops)."
   35.10 -MAINTAINER="pankso@slitaz.org"
   35.11 -LICENSE="MIT GPL"
   35.12 -WANTED="gc"
   35.13 -WEB_SITE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
   35.14 -
   35.15 -DEPENDS="gc"
   35.16 -
   35.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   35.18 -genpkg_rules()
   35.19 -{
   35.20 -	mkdir -p $fs/usr/lib
   35.21 -	cp -a $install/usr/include $fs/usr
   35.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   35.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   35.24 -}
    36.1 --- a/gc/receipt	Tue Mar 06 11:29:35 2018 +0200
    36.2 +++ b/gc/receipt	Wed Mar 07 19:43:44 2018 +0200
    36.3 @@ -1,19 +1,19 @@
    36.4 -# SliTaz package receipt.
    36.5 +# SliTaz package receipt v2.
    36.6  
    36.7  PACKAGE="gc"
    36.8  VERSION="7.2"
    36.9  CATEGORY="development"
   36.10 -SHORT_DESC="A garbage collector for C and C++."
   36.11 +SHORT_DESC="A garbage collector for C and C++"
   36.12  MAINTAINER="pankso@slitaz.org"
   36.13  LICENSE="MIT GPL"
   36.14 +WEB_SITE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
   36.15 +
   36.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   36.17 -WEB_SITE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
   36.18  WGET_URL="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/$TARBALL"
   36.19  
   36.20 -# Rules to configure and make the package.
   36.21 -compile_rules()
   36.22 -{
   36.23 -	cd $src
   36.24 +SPLIT="gc-dev"
   36.25 +
   36.26 +compile_rules() {
   36.27  	./configure \
   36.28  		--enable-cplusplus \
   36.29  		$CONFIGURE_ARGS &&
   36.30 @@ -29,11 +29,19 @@
   36.31  	make DESTDIR=$DESTDIR install
   36.32  }
   36.33  
   36.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   36.35 -genpkg_rules()
   36.36 -{
   36.37 -	mkdir -p $fs/usr/lib $fs/usr/share
   36.38 -	cp -a $install/usr/share/gc $fs/usr/share
   36.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   36.40 +genpkg_rules() {
   36.41 +	case $PACKAGE in
   36.42 +		gc)
   36.43 +			mkdir -p $fs/usr/lib $fs/usr/share
   36.44 +			cp -a $install/usr/share/gc $fs/usr/share
   36.45 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   36.46 +			;;
   36.47 +		*-dev)
   36.48 +			mkdir -p $fs/usr/lib
   36.49 +			cp -a $install/usr/include $fs/usr
   36.50 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   36.51 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   36.52 +			;;
   36.53 +	esac
   36.54  }
   36.55  
    37.1 --- a/gegl-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    37.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    37.3 @@ -1,22 +0,0 @@
    37.4 -# SliTaz package receipt.
    37.5 -
    37.6 -PACKAGE="gegl-dev"
    37.7 -VERSION="0.2.0"
    37.8 -CATEGORY="development"
    37.9 -SHORT_DESC="Generic Graphics Library dev files"
   37.10 -MAINTAINER="erjo@slitaz.org"
   37.11 -LICENSE="GPL3"
   37.12 -WEB_SITE="http://gegl.org/"
   37.13 -WANTED="gegl"
   37.14 -
   37.15 -DEPENDS="gegl libdrm-dev xorg-libXxf86vm-dev pkg-config"
   37.16 -
   37.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   37.18 -genpkg_rules()
   37.19 -{
   37.20 -	mkdir -p $fs/usr/lib/gegl-0.2
   37.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   37.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   37.23 -	cp -a $install/usr/lib/gegl-0.2/*.*a $fs/usr/lib/gegl-0.2
   37.24 -	cp -a $install/usr/include $fs/usr
   37.25 -}
    38.1 --- a/gegl/receipt	Tue Mar 06 11:29:35 2018 +0200
    38.2 +++ b/gegl/receipt	Wed Mar 07 19:43:44 2018 +0200
    38.3 @@ -1,4 +1,4 @@
    38.4 -# SliTaz package receipt.
    38.5 +# SliTaz package receipt v2.
    38.6  
    38.7  PACKAGE="gegl"
    38.8  VERSION="0.2.0"
    38.9 @@ -6,16 +6,15 @@
   38.10  SHORT_DESC="Generic Graphics Library"
   38.11  MAINTAINER="erjo@slitaz.org"
   38.12  LICENSE="GPL3"
   38.13 +WEB_SITE="http://gegl.org/"
   38.14 +
   38.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   38.16 -WEB_SITE="http://gegl.org/"
   38.17  WGET_URL="ftp://ftp.gimp.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL"
   38.18  
   38.19 -DEPENDS="babl expat gtk+ jpeg xorg-libX11"
   38.20  BUILD_DEPENDS="babl-dev expat-dev gtk+-dev jasper-dev intltool"
   38.21 +SPLIT="gegl-dev"
   38.22  
   38.23 -# Rules to configure and make the package.
   38.24 -compile_rules()
   38.25 -{
   38.26 +compile_rules() {
   38.27  	# Keep gegl light so we can make smaller gimp LiveCD flavors
   38.28  	./configure \
   38.29  		--disable-docs \
   38.30 @@ -29,12 +28,15 @@
   38.31  	make && make install
   38.32  }
   38.33  
   38.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   38.35 -genpkg_rules()
   38.36 -{
   38.37 -	mkdir -p $fs/usr/lib
   38.38 -	cp -a $install/usr/bin $fs/usr
   38.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   38.40 -	cp -a $install/usr/lib/gegl-* $fs/usr/lib
   38.41 -	rm $fs/usr/lib/gegl-*/*.*a
   38.42 +genpkg_rules() {
   38.43 +	case $PACKAGE in
   38.44 +		gegl)
   38.45 +			copy @std
   38.46 +			DEPENDS="babl expat gtk+ jpeg xorg-libX11"
   38.47 +			;;
   38.48 +		*-dev)
   38.49 +			copy @dev
   38.50 +			DEPENDS="gegl libdrm-dev xorg-libXxf86vm-dev pkg-config"
   38.51 +			;;
   38.52 +	esac
   38.53  }
    39.1 --- a/geoip-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    39.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    39.3 @@ -1,21 +0,0 @@
    39.4 -# SliTaz package receipt.
    39.5 -
    39.6 -PACKAGE="geoip-dev"
    39.7 -VERSION="1.4.8"
    39.8 -CATEGORY="development"
    39.9 -SHORT_DESC="devel files for geoip."
   39.10 -MAINTAINER="slaxemulator@gmail.com"
   39.11 -LICENSE="LGPL2.1"
   39.12 -WEB_SITE="http://www.maxmind.com/app/c"
   39.13 -WANTED="geoip"
   39.14 -
   39.15 -DEPENDS="geoip"
   39.16 -
   39.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   39.18 -genpkg_rules()
   39.19 -{
   39.20 -	mkdir -p $fs/usr/lib
   39.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   39.22 -	cp -a $install/usr/include $fs/usr
   39.23 -}
   39.24 -
    40.1 --- a/geoip/receipt	Tue Mar 06 11:29:35 2018 +0200
    40.2 +++ b/geoip/receipt	Wed Mar 07 19:43:44 2018 +0200
    40.3 @@ -1,22 +1,20 @@
    40.4 -# SliTaz package receipt.
    40.5 +# SliTaz package receipt v2.
    40.6  
    40.7  PACKAGE="geoip"
    40.8  VERSION="1.4.8"
    40.9  CATEGORY="network"
   40.10 -SHORT_DESC="Non-DNS IP-to-country resolver C library & utils."
   40.11 +SHORT_DESC="Non-DNS IP-to-country resolver C library & utils"
   40.12  MAINTAINER="slaxemulator@gmail.com"
   40.13  LICENSE="LGPL2.1"
   40.14 -SOURCE="GeoIP"
   40.15 -TARBALL="$SOURCE-$VERSION.tar.gz"
   40.16  WEB_SITE="http://www.maxmind.com/app/c"
   40.17 +
   40.18 +TARBALL="GeoIP-$VERSION.tar.gz"
   40.19  WGET_URL="http://www.maxmind.com/download/geoip/api/c/$TARBALL"
   40.20  
   40.21 -DEPENDS="zlib"
   40.22  BUILD_DEPENDS="zlib-dev automake autoconf libtool"
   40.23 +SPLIT="geoip-dev"
   40.24  
   40.25 -# Rules to configure and make the package.
   40.26 -compile_rules()
   40.27 -{
   40.28 +compile_rules() {
   40.29  	autoreconf -i
   40.30  	./configure \
   40.31  		--prefix=/usr \
   40.32 @@ -28,13 +26,20 @@
   40.33  	make && make DESTDIR=$DESTDIR install
   40.34  }
   40.35  
   40.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   40.37 -genpkg_rules()
   40.38 -{
   40.39 -	mkdir -p $fs/usr/lib $fs/usr/share
   40.40 -	cp -a $install/usr/bin $fs/usr
   40.41 -	cp -a $install/etc $fs
   40.42 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   40.43 -	cp -a $install/usr/share/GeoIP $fs/usr/share
   40.44 +genpkg_rules() {
   40.45 +	case $PACKAGE in
   40.46 +		geoip)
   40.47 +			mkdir -p $fs/usr/lib $fs/usr/share
   40.48 +			cp -a $install/usr/bin $fs/usr
   40.49 +			cp -a $install/etc $fs
   40.50 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   40.51 +			cp -a $install/usr/share/GeoIP $fs/usr/share
   40.52 +			DEPENDS="zlib"
   40.53 +			;;
   40.54 +		*-dev)
   40.55 +			mkdir -p $fs/usr/lib
   40.56 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   40.57 +			cp -a $install/usr/include $fs/usr
   40.58 +			;;
   40.59 +	esac
   40.60  }
   40.61 -
    41.1 --- a/gettext/receipt	Tue Mar 06 11:29:35 2018 +0200
    41.2 +++ b/gettext/receipt	Wed Mar 07 19:43:44 2018 +0200
    41.3 @@ -13,8 +13,8 @@
    41.4  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    41.5  
    41.6  BUILD_DEPENDS_arm="attr-dev ncurses-dev libxml2-tools libxml2-dev"
    41.7 -BUILD_DEPENDS="libcroco-dev libxml2-dev glib-dev acl-dev"
    41.8 -SPLIT="gettext-base gettext-tools gettext"
    41.9 +BUILD_DEPENDS="libcroco-dev libxml2-dev glib-dev acl-dev emacs"
   41.10 +SPLIT="gettext-base gettext-tools emacs-pkg-po-mode gettext"
   41.11  
   41.12  compile_rules() {
   41.13  	case "$ARCH" in
   41.14 @@ -29,6 +29,25 @@
   41.15  	# stripped gettext.sh
   41.16  	rm $install/usr/bin/gettext.sh
   41.17  	install -m755 $stuff/gettext.sh $install/usr/bin
   41.18 +
   41.19 +	# emacs-pkg-po-mode --------
   41.20 +
   41.21 +	site_lisp="$install/usr/share/emacs/site-lisp"
   41.22 +	# Installing start file
   41.23 +	mkdir -p $site_lisp/site-start.d
   41.24 +	cp -a $src/gettext-tools/misc/start-po.el $site_lisp/site-start.d/50-start-po.el
   41.25 +
   41.26 +	# Installing po-mode
   41.27 +	mkdir -p $site_lisp/po-mode
   41.28 +	cp -a $src/gettext-tools/misc/po*.el $site_lisp/po-mode
   41.29 +
   41.30 +	# byte-compile files, remove src
   41.31 +	for file in $site_lisp/po-mode/*.el; do
   41.32 +		echo -n "Byte-compiling $(basename $file)"
   41.33 +		emacs -batch -f batch-byte-compile $file 2>/dev/null; err=$?
   41.34 +		status
   41.35 +		[ "$err" -eq 0 ] && rm -f $file
   41.36 +	done
   41.37  }
   41.38  
   41.39  # Just to be sure when cross compiling, gettext is part of base system.
   41.40 @@ -50,6 +69,11 @@
   41.41  			DEPENDS="acl attr glib libcroco libgomp liblzma libxml2 ncurses \
   41.42  			pcre zlib"
   41.43  			;;
   41.44 +		emacs-pkg-po-mode)
   41.45 +			copy emacs/
   41.46 +			DEPENDS="emacs"
   41.47 +			CAT="development|Emacs major mode for editing or modifying PO files"
   41.48 +			;;
   41.49  		gettext)
   41.50  			copy @std @dev @rm
   41.51  			rm -rf $fs/usr/share/doc/ # @dev files here
   41.52 @@ -60,3 +84,11 @@
   41.53  			;;
   41.54  	esac
   41.55  }
   41.56 +
   41.57 +post_install_emacs_pkg_po_mode() {
   41.58 +	chroot "$1/" tazpkg reconfigure emacs
   41.59 +}
   41.60 +
   41.61 +post_remove_emacs_pkg_po_mode() {
   41.62 +	chroot "$1/" tazpkg reconfigure emacs
   41.63 +}
    42.1 --- a/giblib-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    42.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    42.3 @@ -1,20 +0,0 @@
    42.4 -# SliTaz package receipt
    42.5 -
    42.6 -PACKAGE="giblib-dev"
    42.7 -VERSION="1.2.4"
    42.8 -CATEGORY="graphics"
    42.9 -SHORT_DESC="Giblib graphic library development files."
   42.10 -MAINTAINER="mallory@sweetpeople.org"
   42.11 -LICENSE="MIT"
   42.12 -WANTED="giblib"
   42.13 -WEB_SITE="http://linuxbrit.co.uk/feh/"
   42.14 -
   42.15 -DEPENDS="giblib"
   42.16 -
   42.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   42.18 -genpkg_rules()
   42.19 -{
   42.20 -	mkdir -p $fs/usr/include $fs/usr/lib
   42.21 -	cp -a $install/usr/include $fs/usr
   42.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
   42.23 -}
    43.1 --- a/giblib/receipt	Tue Mar 06 11:29:35 2018 +0200
    43.2 +++ b/giblib/receipt	Wed Mar 07 19:43:44 2018 +0200
    43.3 @@ -1,26 +1,24 @@
    43.4 -# SliTaz package receipt
    43.5 +# SliTaz package receipt v2.
    43.6  
    43.7  PACKAGE="giblib"
    43.8  VERSION="1.2.4"
    43.9  CATEGORY="graphics"
   43.10 -SHORT_DESC="Giblib graphic library."
   43.11 +SHORT_DESC="Giblib graphic library"
   43.12  MAINTAINER="mallory@sweetpeople.org"
   43.13  LICENSE="MIT"
   43.14 +WEB_SITE="http://linuxbrit.co.uk/feh/"
   43.15 +
   43.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   43.17 -WEB_SITE="http://linuxbrit.co.uk/feh/"
   43.18  WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL"
   43.19  
   43.20 -DEPENDS="imlib2 freetype xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
   43.21  BUILD_DEPENDS="imlib2-dev imlib2 xorg-xproto freetype-dev xorg-libXext-dev"
   43.22 +SPLIT="giblib-dev"
   43.23  
   43.24 -# Handle cross compilation
   43.25 -case "$ARCH" in
   43.26 -	arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
   43.27 -esac
   43.28 +compile_rules() {
   43.29 +	case "$ARCH" in
   43.30 +		arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
   43.31 +	esac
   43.32  
   43.33 -# Rules to configure and make the package.
   43.34 -compile_rules()
   43.35 -{
   43.36  	sed -i 's|/doc|/share&|' Makefile*
   43.37  	./configure \
   43.38  		--prefix=/usr \
   43.39 @@ -29,11 +27,15 @@
   43.40  	make DESTDIR=$DESTDIR install
   43.41  }
   43.42  
   43.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
   43.44 -genpkg_rules()
   43.45 -{
   43.46 -	mkdir -p $fs/usr
   43.47 -	cp -a $install/usr/bin $fs/usr
   43.48 -	cp -a $install/usr/lib $fs/usr
   43.49 -	rm -f $fs/usr/lib/*a
   43.50 +genpkg_rules() {
   43.51 +	case $PACKAGE in
   43.52 +		giblib)
   43.53 +			copy @std
   43.54 +			DEPENDS="imlib2 freetype xorg-libX11 xorg-libXau xorg-libXdmcp \
   43.55 +			xorg-libXext"
   43.56 +			;;
   43.57 +		*-dev)
   43.58 +			copy @dev
   43.59 +			;;
   43.60 +	esac
   43.61  }
    44.1 --- a/gmpc-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    44.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    44.3 @@ -1,18 +0,0 @@
    44.4 -# SliTaz package receipt.
    44.5 -
    44.6 -PACKAGE="gmpc-dev"
    44.7 -VERSION="11.8.16"
    44.8 -CATEGORY="development"
    44.9 -MAINTAINER="jozee@slitaz.org"
   44.10 -LICENSE="GPL2"
   44.11 -SHORT_DESC="gmpc devel library."
   44.12 -WANTED="gmpc"
   44.13 -WEB_SITE="http://gmpclient.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 
   44.19 -	cp -a $install/usr/include $fs/usr
   44.20 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib	
   44.21 -}
    45.1 --- a/gmpc/receipt	Tue Mar 06 11:29:35 2018 +0200
    45.2 +++ b/gmpc/receipt	Wed Mar 07 19:43:44 2018 +0200
    45.3 @@ -1,43 +1,50 @@
    45.4 -# SliTaz package receipt.
    45.5 +# SliTaz package receipt v2.
    45.6  
    45.7  PACKAGE="gmpc"
    45.8  VERSION="11.8.16"
    45.9  CATEGORY="multimedia"
   45.10 +SHORT_DESC="A GTK2 client for MPD"
   45.11  MAINTAINER="jozee@slitaz.org"
   45.12  LICENSE="GPL2"
   45.13 -SHORT_DESC="A GTK2 client for MPD"
   45.14 +WEB_SITE="http://gmpclient.org"
   45.15 +
   45.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   45.17 -WEB_SITE="http://gmpclient.org"
   45.18  WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION%.*}/$TARBALL"
   45.19  
   45.20 -DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd sqlite3 libtasn1"
   45.21 +BUILD_DEPENDS_arm="gob2-dev libglade-dev libmpd libmpd-dev curl-dev \
   45.22 +sqlite3-dev xorg-libSM-dev libsoup-dev libsexy-dev xorg-xcb-util-dev \
   45.23 +util-linux-uuid-dev flex intltool"
   45.24  BUILD_DEPENDS="gob2-dev libglade-dev libmpd libmpd-dev curl-dev sqlite3-dev \
   45.25 -xorg-libSM-dev libsoup-dev libsexy-dev xorg-xcb-util-dev util-linux-uuid-dev flex \
   45.26 -intltool"
   45.27 +xorg-libSM-dev libsoup-dev libsexy-dev xorg-xcb-util-dev util-linux-uuid-dev \
   45.28 +flex intltool vala"
   45.29 +SPLIT="gmpc-dev"
   45.30  
   45.31 -case "$ARCH" in
   45.32 -	i?86) BUILD_DEPENDS="$BUILD_DEPENDS vala"
   45.33 -esac
   45.34 -
   45.35 -# Rules to configure and make the package.
   45.36  compile_rules() {
   45.37 -  ./configure \
   45.38 +	./configure \
   45.39  		--enable-system-libsexy \
   45.40  		--disable-shave \
   45.41  		--disable-unique \
   45.42  		$CONFIGURE_ARGS &&
   45.43 -  make || return 1
   45.44 -  sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop
   45.45 -  make install
   45.46 +	make || return 1
   45.47 +	sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/$PACKAGE.desktop
   45.48 +	make install
   45.49  }
   45.50 -	
   45.51 -# Rules to gen a SliTaz package suitable for Tazpkg.
   45.52 -genpkg_rules()
   45.53 -{
   45.54 -	mkdir -p $fs/usr/share/icons/hicolor
   45.55 -	cp -a $install/usr/bin $fs/usr
   45.56 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
   45.57 -	cp -a $install/usr/share/icons/hicolor/16x16 \
   45.58 -		$fs/usr/share/icons/hicolor
   45.59 -	
   45.60 +
   45.61 +genpkg_rules() {
   45.62 +	case $PACKAGE in
   45.63 +		gmpc)
   45.64 +			mkdir -p $fs/usr/share/icons/hicolor
   45.65 +			cp -a $install/usr/bin $fs/usr
   45.66 +			cp -a $install/usr/share/$PACKAGE $fs/usr/share
   45.67 +			cp -a $install/usr/share/icons/hicolor/16x16 \
   45.68 +				$fs/usr/share/icons/hicolor
   45.69 +			DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd \
   45.70 +			sqlite3 libtasn1"
   45.71 +			;;
   45.72 +		*-dev)
   45.73 +			mkdir -p $fs/usr/lib
   45.74 +			cp -a $install/usr/include $fs/usr
   45.75 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   45.76 +			;;
   45.77 +	esac
   45.78  }
    46.1 --- a/gnome-commander-i18n/receipt	Tue Mar 06 11:29:35 2018 +0200
    46.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    46.3 @@ -1,19 +0,0 @@
    46.4 -# SliTaz package receipt.
    46.5 -
    46.6 -PACKAGE="gnome-commander-i18n"
    46.7 -VERSION="1.4.8"
    46.8 -CATEGORY="localization"
    46.9 -SHORT_DESC="Language files for Gnome Commander"
   46.10 -MAINTAINER="al.bobylev@gmail.com"
   46.11 -LICENSE="GPL2"
   46.12 -WEB_SITE="http://gcmd.github.io/"
   46.13 -WANTED="gnome-commander"
   46.14 -
   46.15 -DEPENDS="gnome-commander"
   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/share/locale
   46.21 -	cp -a $install/usr/share/locale/* $fs/usr/share/locale
   46.22 -}
    47.1 --- a/gnome-commander/receipt	Tue Mar 06 11:29:35 2018 +0200
    47.2 +++ b/gnome-commander/receipt	Wed Mar 07 19:43:44 2018 +0200
    47.3 @@ -1,4 +1,4 @@
    47.4 -# SliTaz package receipt.
    47.5 +# SliTaz package receipt v2.
    47.6  
    47.7  PACKAGE="gnome-commander"
    47.8  VERSION="1.4.8"
    47.9 @@ -6,21 +6,20 @@
   47.10  SHORT_DESC="A full featured, twin-panel file manager for Gnome2"
   47.11  MAINTAINER="al.bobylev@gmail.com"
   47.12  LICENSE="GPL2"
   47.13 +WEB_SITE="http://gcmd.github.io/"
   47.14 +
   47.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
   47.16 -WEB_SITE="http://gcmd.github.io/"
   47.17  WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
   47.18  
   47.19 -DEPENDS="exiv2 lcms libgnome-keyring libgnomeui libgsf poppler taglib libunique"
   47.20  BUILD_DEPENDS="gtk+-dev glib-dev gnome-doc-utils-dev libgnome-dev \
   47.21  libgnomeui-dev gdk-pixbuf-dev cairo-dev pango-dev atk-dev libbonoboui-dev \
   47.22  libgnomecanvas-dev libart_lgpl-dev xorg-libXinerama-dev xorg-libXrandr-dev \
   47.23  xorg-dev libgnome-keyring-dev libgcrypt-dev rarian-dev rarian exiv2-dev \
   47.24  taglib-dev libgsf-dev poppler-dev chmlib-dev lcms2-dev flex python-dev \
   47.25  util-linux-uuid-dev libunique-dev intltool"
   47.26 +SPLIT="gnome-commander-i18n"
   47.27  
   47.28 -# Rules to configure and make the package.
   47.29 -compile_rules()
   47.30 -{
   47.31 +compile_rules() {
   47.32  	./configure \
   47.33  		--disable-scrollkeeper \
   47.34  		$CONFIGURE_ARGS &&
   47.35 @@ -28,14 +27,16 @@
   47.36  	make install
   47.37  }
   47.38  
   47.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
   47.40 -genpkg_rules()
   47.41 -{
   47.42 -	mkdir -p $fs/usr/share
   47.43 -	cp -a $install/usr/bin $fs/usr
   47.44 -	cp -a $install/usr/lib $fs/usr
   47.45 -	find $fs/usr/lib/gnome-commander -name "*.*a" -delete
   47.46 -	cp -a $install/usr/share/applications $fs/usr/share
   47.47 -	cp -a $install/usr/share/pixmaps $fs/usr/share
   47.48 +genpkg_rules() {
   47.49 +	case $PACKAGE in
   47.50 +		gnome-commander)
   47.51 +			copy @std
   47.52 +			DEPENDS="exiv2 lcms libgnome-keyring libgnomeui libgsf poppler \
   47.53 +			taglib libunique"
   47.54 +			;;
   47.55 +		gnome-commander-i18n)
   47.56 +			copy locale/
   47.57 +			CAT="localization|language files"
   47.58 +			;;
   47.59 +	esac
   47.60  }
   47.61 -
    48.1 --- a/gnome-desktop-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    48.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    48.3 @@ -1,21 +0,0 @@
    48.4 -# SliTaz package receipt.
    48.5 -
    48.6 -PACKAGE="gnome-desktop-dev"
    48.7 -VERSION="2.28.0"
    48.8 -CATEGORY="development"
    48.9 -SHORT_DESC="GNOME Desktop development files"
   48.10 -MAINTAINER="erjo@slitaz.org"
   48.11 -LICENSE="GPL2"
   48.12 -WANTED="gnome-desktop"
   48.13 -WEB_SITE="http://www.gnome.org"
   48.14 -
   48.15 -DEPENDS="gnome-desktop pkg-config"
   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/lib
   48.21 -	cp -a $install/usr/include $fs/usr
   48.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
   48.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   48.24 -}
    49.1 --- a/gnome-desktop/receipt	Tue Mar 06 11:29:35 2018 +0200
    49.2 +++ b/gnome-desktop/receipt	Wed Mar 07 19:43:44 2018 +0200
    49.3 @@ -1,4 +1,4 @@
    49.4 -# SliTaz package receipt.
    49.5 +# SliTaz package receipt v2.
    49.6  
    49.7  PACKAGE="gnome-desktop"
    49.8  VERSION="2.28.0"
    49.9 @@ -6,17 +6,16 @@
   49.10  SHORT_DESC="GNOME Desktop"
   49.11  MAINTAINER="erjo@slitaz.org"
   49.12  LICENSE="GPL2"
   49.13 +WEB_SITE="http://www.gnome.org"
   49.14 +
   49.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   49.16 -WEB_SITE="http://www.gnome.org"
   49.17  WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
   49.18  
   49.19 -DEPENDS="GConf gtk+ startup-notification"
   49.20  BUILD_DEPENDS="python-dev libxml2-python GConf-dev gnome-doc-utils-dev \
   49.21  intltool gtk+-dev xorg-libXrandr-dev"
   49.22 +SPLIT="gnome-desktop-dev"
   49.23  
   49.24 -# Rules to configure and make the package.
   49.25 -compile_rules()
   49.26 -{
   49.27 +compile_rules() {
   49.28  	./configure \
   49.29  		--prefix=/usr \
   49.30  		--sysconfdir=/etc/gnome \
   49.31 @@ -30,12 +29,21 @@
   49.32  	make && make DESTDIR=$DESTDIR install
   49.33  }
   49.34  
   49.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
   49.36 -genpkg_rules()
   49.37 -{
   49.38 -	mkdir -p $fs/usr/lib $fs/usr/share
   49.39 -	#cp -a $install/etc $fs
   49.40 -	cp -a $install/usr/bin $fs/usr
   49.41 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   49.42 -	#cp -a $install/usr/share/dbus-1 $fs/usr/share
   49.43 +genpkg_rules() {
   49.44 +	case $PACKAGE in
   49.45 +		gnome-desktop)
   49.46 +			mkdir -p $fs/usr/lib $fs/usr/share
   49.47 +			#cp -a $install/etc $fs
   49.48 +			cp -a $install/usr/bin $fs/usr
   49.49 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   49.50 +			#cp -a $install/usr/share/dbus-1 $fs/usr/share
   49.51 +			DEPENDS="GConf gtk+ startup-notification"
   49.52 +			;;
   49.53 +		*-dev)
   49.54 +			mkdir -p $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 +			;;
   49.59 +	esac
   49.60  }
    50.1 --- a/gnome-doc-utils-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    50.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    50.3 @@ -1,26 +0,0 @@
    50.4 -# SliTaz package receipt.
    50.5 -
    50.6 -PACKAGE="gnome-doc-utils-dev"
    50.7 -VERSION="0.20.10"
    50.8 -CATEGORY="development"
    50.9 -SHORT_DESC="Gnome Documentation utilities dev files."
   50.10 -MAINTAINER="erjo@slitaz.org"
   50.11 -LICENSE="GPL2 LGPL2.1"
   50.12 -WANTED="gnome-doc-utils"
   50.13 -WEB_SITE="http://www.gnome.org/"
   50.14 -
   50.15 -DEPENDS="gnome-doc-utils pkg-config"
   50.16 -
   50.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   50.18 -genpkg_rules()
   50.19 -{
   50.20 -	mkdir -p $fs/usr/bin \
   50.21 -		$fs/usr/lib \
   50.22 -		$fs/usr/share
   50.23 -	cp -a $install/usr/share/pkgconfig $fs/usr/lib
   50.24 -	cp -a $install/usr/bin/gnome-doc-prepare $fs/usr/bin
   50.25 -	cp -a $install/usr/share/aclocal $fs/usr/share
   50.26 -	cp -a $install/usr/share/man $fs/usr/share
   50.27 -	cp -a $install/usr/share/gnome* $fs/usr/share
   50.28 -	cp -a $install/usr/lib $fs/usr
   50.29 -}
    51.1 --- a/gnome-doc-utils/receipt	Tue Mar 06 11:29:35 2018 +0200
    51.2 +++ b/gnome-doc-utils/receipt	Wed Mar 07 19:43:44 2018 +0200
    51.3 @@ -1,23 +1,23 @@
    51.4 -# SliTaz package receipt.
    51.5 +# SliTaz package receipt v2.
    51.6  
    51.7  PACKAGE="gnome-doc-utils"
    51.8  VERSION="0.20.10"
    51.9  CATEGORY="misc"
   51.10 -SHORT_DESC="Documentation  utilities for Gnome"
   51.11 +SHORT_DESC="Documentation utilities for GNOME"
   51.12  MAINTAINER="erjo@slitaz.org"
   51.13  LICENSE="GPL2 LGPL2.1"
   51.14 +WEB_SITE="http://www.gnome.org/"
   51.15 +
   51.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
   51.17 -WEB_SITE="http://www.gnome.org/"
   51.18  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   51.19  
   51.20 -DEPENDS="libxml2 libxslt python libxml2-python rarian docbook-xml"
   51.21  BUILD_DEPENDS="libxml2-dev libxslt-dev rarian-dev libxml2-python pkg-config \
   51.22  intltool"
   51.23 +SPLIT="gnome-doc-utils-dev"
   51.24  
   51.25 -# Rules to configure and make the package.
   51.26 -compile_rules()
   51.27 -{
   51.28 -	./configure --prefix=/usr \
   51.29 +compile_rules() {
   51.30 +	./configure \
   51.31 +		--prefix=/usr \
   51.32  		--infodir=/usr/share/info \
   51.33  		--sysconfdir=/etc \
   51.34  		--localstatedir=/var \
   51.35 @@ -27,12 +27,26 @@
   51.36  	make -j1 DESTDIR=$DESTDIR install
   51.37  }
   51.38  
   51.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
   51.40 -genpkg_rules()
   51.41 -{
   51.42 -	mkdir -p $fs/usr/bin $fs/usr/share/locale
   51.43 -	cp -a $install/usr/bin/gnome-doc-tool $fs/usr/bin
   51.44 -	cp -a $install/usr/bin/xml2po $fs/usr/bin
   51.45 -	cp -a $install/usr/share/xml $fs/usr/share
   51.46 -	cp -a $install/usr/lib $fs/usr
   51.47 +genpkg_rules() {
   51.48 +	case $PACKAGE in
   51.49 +		gnome-doc-utils)
   51.50 +			mkdir -p $fs/usr/bin $fs/usr/share/locale
   51.51 +			cp -a $install/usr/bin/gnome-doc-tool $fs/usr/bin
   51.52 +			cp -a $install/usr/bin/xml2po $fs/usr/bin
   51.53 +			cp -a $install/usr/share/xml $fs/usr/share
   51.54 +			cp -a $install/usr/lib $fs/usr
   51.55 +			DEPENDS="libxml2 libxslt python libxml2-python rarian docbook-xml"
   51.56 +			;;
   51.57 +		*-dev)
   51.58 +			mkdir -p $fs/usr/bin \
   51.59 +				$fs/usr/lib \
   51.60 +				$fs/usr/share
   51.61 +			cp -a $install/usr/share/pkgconfig $fs/usr/lib
   51.62 +			cp -a $install/usr/bin/gnome-doc-prepare $fs/usr/bin
   51.63 +			cp -a $install/usr/share/aclocal $fs/usr/share
   51.64 +			cp -a $install/usr/share/man $fs/usr/share
   51.65 +			cp -a $install/usr/share/gnome* $fs/usr/share
   51.66 +			cp -a $install/usr/lib $fs/usr
   51.67 +			;;
   51.68 +	esac
   51.69  }
    52.1 --- a/gpa-langpack/receipt	Tue Mar 06 11:29:35 2018 +0200
    52.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    52.3 @@ -1,19 +0,0 @@
    52.4 -# SliTaz package receipt.
    52.5 -
    52.6 -PACKAGE="gpa-langpack"
    52.7 -VERSION="0.9.9"
    52.8 -CATEGORY="localization"
    52.9 -SHORT_DESC="Gnu Privacy Assistant, locale files"
   52.10 -MAINTAINER="erjo@slitaz.org"
   52.11 -LICENSE="GPL3"
   52.12 -WEB_SITE="https://www.gnupg.org/related_software/gpa/"
   52.13 -
   52.14 -WANTED="gpa"
   52.15 -DEPENDS="gpa"
   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/share
   52.21 -	cp -a $install/usr/share/locale $fs/usr/share
   52.22 -}
    53.1 --- a/gpa/receipt	Tue Mar 06 11:29:35 2018 +0200
    53.2 +++ b/gpa/receipt	Wed Mar 07 19:43:44 2018 +0200
    53.3 @@ -1,33 +1,38 @@
    53.4 -# SliTaz package receipt.
    53.5 +# SliTaz package receipt v2.
    53.6  
    53.7  PACKAGE="gpa"
    53.8  VERSION="0.9.9"
    53.9  CATEGORY="security"
   53.10 -SHORT_DESC="Gnu Privacy Assistant"
   53.11 +SHORT_DESC="GNU Privacy Assistant"
   53.12  MAINTAINER="erjo@slitaz.org"
   53.13  LICENSE="GPL3"
   53.14  WEB_SITE="https://www.gnupg.org/related_software/gpa/"
   53.15 +
   53.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   53.17  WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpa/$TARBALL"
   53.18 +# Integrity check: https://www.gnupg.org/download/integrity_check.html
   53.19 +TARBALL_SHA1="1cf86c9e38aa553fdb880c55cbc6755901ad21a4"
   53.20  
   53.21 -DEPENDS="gpgme gtk+ pinentry-gtk"
   53.22  BUILD_DEPENDS="gtk+-dev libgpg-error-dev libassuan-dev gpgme-dev"
   53.23  SPLIT="gpa-langpack"
   53.24  
   53.25 -# Rules to configure and make the package.
   53.26 -compile_rules()
   53.27 -{
   53.28 -	# Integrity check: https://www.gnupg.org/download/integrity_check.html
   53.29 -	echo "1cf86c9e38aa553fdb880c55cbc6755901ad21a4  $SRC/$TARBALL" | sha1sum -c || exit 1
   53.30 -
   53.31 -	./configure $CONFIGURE_ARGS && make && make install
   53.32 +compile_rules() {
   53.33 +	./configure $CONFIGURE_ARGS && make && make install || return 1
   53.34  
   53.35  	find $install/usr/share/man -type f -exec gzip -9 \{\} \;
   53.36  }
   53.37  
   53.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   53.39 -genpkg_rules()
   53.40 -{
   53.41 -	cp -a $install/* $fs
   53.42 -	rm -r $fs/usr/share/locale
   53.43 +genpkg_rules() {
   53.44 +	case $PACKAGE in
   53.45 +		gpa)
   53.46 +			cp -a $install/* $fs
   53.47 +			rm -r $fs/usr/share/locale
   53.48 +			DEPENDS="gpgme gtk+ pinentry-gtk"
   53.49 +			;;
   53.50 +		gpa-langpack)
   53.51 +			mkdir -p $fs/usr/share
   53.52 +			cp -a $install/usr/share/locale $fs/usr/share
   53.53 +			CAT="localization|locale files"
   53.54 +			;;
   53.55 +	esac
   53.56  }
    54.1 --- a/gsasl-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    54.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    54.3 @@ -1,22 +0,0 @@
    54.4 -# SliTaz package receipt.
    54.5 -
    54.6 -PACKAGE="gsasl-dev"
    54.7 -VERSION="0.2.29"
    54.8 -CATEGORY="development"
    54.9 -SHORT_DESC="Simple Authentication and Security Layer, development files."
   54.10 -MAINTAINER="pascal.bellard@slitaz.org"
   54.11 -LICENSE="GPL3"
   54.12 -WEB_SITE="http://www.gnu.org/software/$PACKAGE/"
   54.13 -WANTED="gsasl"
   54.14 -
   54.15 -DEPENDS="pkg-config"
   54.16 -
   54.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   54.18 -genpkg_rules()
   54.19 -{
   54.20 -	mkdir -p $fs/usr/lib
   54.21 -	cp -a $install/usr/include $fs/usr
   54.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
   54.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   54.24 -}
   54.25 -
    55.1 --- a/gsasl/receipt	Tue Mar 06 11:29:35 2018 +0200
    55.2 +++ b/gsasl/receipt	Wed Mar 07 19:43:44 2018 +0200
    55.3 @@ -1,33 +1,33 @@
    55.4 -# SliTaz package receipt.
    55.5 +# SliTaz package receipt v2.
    55.6  
    55.7  PACKAGE="gsasl"
    55.8  VERSION="0.2.29"
    55.9  CATEGORY="system-tools"
   55.10 -SHORT_DESC="Simple Authentication and Security Layer."
   55.11 +SHORT_DESC="Simple Authentication and Security Layer"
   55.12  MAINTAINER="pascal.bellard@slitaz.org"
   55.13  LICENSE="GPL3"
   55.14 +WEB_SITE="http://www.gnu.org/software/gsasl/"
   55.15 +
   55.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   55.17 -WEB_SITE="http://www.gnu.org/software/$PACKAGE/"
   55.18  WGET_URL="ftp://alpha.gnu.org/pub/gnu/$PACKAGE/$TARBALL"
   55.19  
   55.20 -DEPENDS="gnutls libgcrypt libgpg-error ncurses readline zlib libidn libkrb5 \
   55.21 -libcomerr3 libtasn1"
   55.22 +SPLIT="gsasl-dev"
   55.23  
   55.24 -# Rules to configure and make the package.
   55.25 -compile_rules()
   55.26 -{
   55.27 -	cd $src
   55.28 -	./configure --prefix=/usr --infodir=/usr/share/info \
   55.29 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
   55.30 +compile_rules() {
   55.31 +	./configure $CONFIGURE_ARGS &&
   55.32  	make $MAKEFLAGS &&
   55.33  	make DESTDIR=$DESTDIR install
   55.34  }
   55.35  
   55.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   55.37 -genpkg_rules()
   55.38 -{
   55.39 -	mkdir -p $fs/usr/lib
   55.40 -	cp -a $install/usr/bin $fs/usr
   55.41 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   55.42 +genpkg_rules() {
   55.43 +	case $PACKAGE in
   55.44 +		gsasl)
   55.45 +			copy @std
   55.46 +			DEPENDS="gnutls libgcrypt libgpg-error ncurses readline zlib \
   55.47 +			libidn libkrb5 libcomerr3 libtasn1"
   55.48 +			;;
   55.49 +		*-dev)
   55.50 +			copy @dev
   55.51 +			;;
   55.52 +	esac
   55.53  }
   55.54 -
    56.1 --- a/gtkhotkey-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    56.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    56.3 @@ -1,21 +0,0 @@
    56.4 -# SliTaz package receipt.
    56.5 -
    56.6 -PACKAGE="gtkhotkey-dev"
    56.7 -VERSION="0.2.1"
    56.8 -CATEGORY="development"
    56.9 -SHORT_DESC="GTK Hotkey devel files."
   56.10 -MAINTAINER="pankso@slitaz.org"
   56.11 -LICENSE="LGPL3"
   56.12 -WEB_SITE="https://launchpad.net/gtkhotkey"
   56.13 -WANTED="gtkhotkey"
   56.14 -
   56.15 -DEPENDS="pkg-config"
   56.16 -
   56.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   56.18 -genpkg_rules()
   56.19 -{
   56.20 -	mkdir -p $fs/usr/lib
   56.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   56.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   56.23 -	cp -a $install/usr/include $fs/usr
   56.24 -}
    57.1 --- a/gtkhotkey/receipt	Tue Mar 06 11:29:35 2018 +0200
    57.2 +++ b/gtkhotkey/receipt	Wed Mar 07 19:43:44 2018 +0200
    57.3 @@ -1,30 +1,34 @@
    57.4 -# SliTaz package receipt.
    57.5 +# SliTaz package receipt v2.
    57.6  
    57.7  PACKAGE="gtkhotkey"
    57.8  VERSION="0.2.1"
    57.9  CATEGORY="x-window"
   57.10 -SHORT_DESC="Platform independent hotkey handling for GTK+ applications."
   57.11 +SHORT_DESC="Platform independent hotkey handling for GTK+ applications"
   57.12  MAINTAINER="pankso@slitaz.org"
   57.13  LICENSE="LGPL3"
   57.14  WEB_SITE="https://launchpad.net/gtkhotkey"
   57.15 +
   57.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   57.17  WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL"
   57.18  
   57.19 -DEPENDS="glib gtk+"
   57.20 -BUILD_DEPENDS="wget glib-dev gtk+-dev intltool"
   57.21 +BUILD_DEPENDS="glib-dev gtk+-dev intltool"
   57.22 +SPLIT="gtkhotkey-dev"
   57.23  
   57.24 -# Rules to configure and make the package.
   57.25 -compile_rules()
   57.26 -{
   57.27 +compile_rules() {
   57.28  	sed -i 's|<glib/.*h>|<glib.h>|' src/x11/tomboykeybinder.h src/gtk-hotkey-error.h
   57.29  	sed -i 's|}/doc|}/share/doc|' Makefile*
   57.30  	./configure $CONFIGURE_ARGS &&
   57.31  	make && make install
   57.32  }
   57.33  
   57.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   57.35 -genpkg_rules()
   57.36 -{
   57.37 -	mkdir -p $fs/usr/lib
   57.38 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   57.39 +genpkg_rules() {
   57.40 +	case $PACKAGE in
   57.41 +		gtkhotkey)
   57.42 +			copy @std
   57.43 +			DEPENDS="glib gtk+"
   57.44 +			;;
   57.45 +		*-dev)
   57.46 +			copy @dev
   57.47 +			;;
   57.48 +	esac
   57.49  }
    58.1 --- a/guile-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    58.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    58.3 @@ -1,22 +0,0 @@
    58.4 -# SliTaz package receipt.
    58.5 -
    58.6 -PACKAGE="guile-dev"
    58.7 -VERSION="1.8.8"
    58.8 -CATEGORY="development"
    58.9 -SHORT_DESC="devel files for guile"
   58.10 -MAINTAINER="pankso@slitaz.org"
   58.11 -LICENSE="LGPL2.1"
   58.12 -WANTED="guile"
   58.13 -WEB_SITE="http://www.gnu.org/software/guile/"
   58.14 -
   58.15 -DEPENDS="guile gmp-dev pkg-config"
   58.16 -
   58.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   58.18 -genpkg_rules()
   58.19 -{
   58.20 -	mkdir -p $fs/usr/lib $fs/usr/share
   58.21 -	cp -a $install/usr/include $fs/usr
   58.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   58.23 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   58.24 -	cp -a $install/usr/share/aclocal $fs/usr/share
   58.25 -}
    59.1 --- a/guile/receipt	Tue Mar 06 11:29:35 2018 +0200
    59.2 +++ b/guile/receipt	Wed Mar 07 19:43:44 2018 +0200
    59.3 @@ -1,26 +1,20 @@
    59.4 -# SliTaz package receipt.
    59.5 +# SliTaz package receipt v2.
    59.6  
    59.7  PACKAGE="guile"
    59.8  VERSION="1.8.8"
    59.9  CATEGORY="development"
   59.10 -SHORT_DESC="Project GNU's extension language."
   59.11 +SHORT_DESC="Project GNU's extension language"
   59.12  MAINTAINER="pankso@slitaz.org"
   59.13  LICENSE="LGPL2.1"
   59.14 +WEB_SITE="http://www.gnu.org/software/guile/"
   59.15 +
   59.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   59.17 -WEB_SITE="http://www.gnu.org/software/guile/"
   59.18  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
   59.19  
   59.20 -DEPENDS="gmp readline ncurses libltdl"
   59.21  BUILD_DEPENDS="libtool gmp-dev"
   59.22 +SPLIT="guile-dev"
   59.23  
   59.24 -# Rules to configure and make the package.
   59.25 -compile_rules()
   59.26 -{
   59.27 -	cd $src
   59.28 -
   59.29 -	# http://bugs.gentoo.org/show_bug.cgi?id=317175
   59.30 -	patch -p1 < $stuff/guile-1.8.7-gcc45.u || return 1
   59.31 -
   59.32 +compile_rules() {
   59.33  	./configure \
   59.34  		--disable-error-on-warning \
   59.35  		$CONFIGURE_ARGS &&
   59.36 @@ -28,11 +22,22 @@
   59.37  	make DESTDIR=$DESTDIR install
   59.38  }
   59.39  
   59.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
   59.41 -genpkg_rules()
   59.42 -{
   59.43 -	mkdir -p $fs/usr/lib $fs/usr/share
   59.44 -	cp -a $install/usr/bin $fs/usr
   59.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   59.46 -	cp -a $install/usr/share/guile $fs/usr/share
   59.47 +genpkg_rules() {
   59.48 +	case $PACKAGE in
   59.49 +		guile)
   59.50 +			mkdir -p $fs/usr/lib $fs/usr/share
   59.51 +			cp -a $install/usr/bin $fs/usr
   59.52 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   59.53 +			cp -a $install/usr/share/guile $fs/usr/share
   59.54 +			DEPENDS="gmp readline ncurses libltdl"
   59.55 +			;;
   59.56 +		*-dev)
   59.57 +			mkdir -p $fs/usr/lib $fs/usr/share
   59.58 +			cp -a $install/usr/include $fs/usr
   59.59 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   59.60 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   59.61 +			cp -a $install/usr/share/aclocal $fs/usr/share
   59.62 +			DEPENDS="guile gmp-dev"
   59.63 +			;;
   59.64 +	esac
   59.65  }
    60.1 --- a/guile/stuff/guile-1.8.7-gcc45.u	Tue Mar 06 11:29:35 2018 +0200
    60.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    60.3 @@ -1,8 +0,0 @@
    60.4 ---- guile-1.8.7-ori/libguile/guile-snarf-docs.in
    60.5 -+++ guile-1.8.7/libguile/guile-snarf-docs.in
    60.6 -@@ -23,4 +23,4 @@
    60.7 - ## Let the user override the preprocessor autoconf found.
    60.8 - test -n "${CPP+set}" || CPP="@CPP@"
    60.9 - 
   60.10 --${CPP} -DSCM_MAGIC_SNARF_DOCS "$@"
   60.11 -+${CPP} -P -DSCM_MAGIC_SNARF_DOCS "$@"
    61.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    61.2 +++ b/guile/stuff/patches/guile-1.8.7-gcc45.u	Wed Mar 07 19:43:44 2018 +0200
    61.3 @@ -0,0 +1,8 @@
    61.4 +--- guile-1.8.7-ori/libguile/guile-snarf-docs.in
    61.5 ++++ guile-1.8.7/libguile/guile-snarf-docs.in
    61.6 +@@ -23,4 +23,4 @@
    61.7 + ## Let the user override the preprocessor autoconf found.
    61.8 + test -n "${CPP+set}" || CPP="@CPP@"
    61.9 + 
   61.10 +-${CPP} -DSCM_MAGIC_SNARF_DOCS "$@"
   61.11 ++${CPP} -P -DSCM_MAGIC_SNARF_DOCS "$@"
    62.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    62.2 +++ b/guile/stuff/patches/series	Wed Mar 07 19:43:44 2018 +0200
    62.3 @@ -0,0 +1,2 @@
    62.4 +# http://bugs.gentoo.org/show_bug.cgi?id=317175
    62.5 +-p1|guile-1.8.7-gcc45.u
    63.1 --- a/hdf5-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    63.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    63.3 @@ -1,21 +0,0 @@
    63.4 -# SliTaz package receipt.
    63.5 -
    63.6 -PACKAGE="hdf5-dev"
    63.7 -VERSION="1.8.9"
    63.8 -CATEGORY="development"
    63.9 -SHORT_DESC="a data model, library, and file format for storing and managing data."
   63.10 -MAINTAINER="pascal.bellard@slitaz.org"
   63.11 -LICENSE="BSD"
   63.12 -WEB_SITE="http://www.hdfgroup.org/HDF5"
   63.13 -WANTED="hdf5"
   63.14 -
   63.15 -DEPENDS="hdf5"
   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/include $fs/usr
   63.22 -	cp -a $install/usr/share $fs/usr
   63.23 -	cp -a $install/usr/lib/*a $fs/usr/lib
   63.24 -}
    64.1 --- a/hdf5/receipt	Tue Mar 06 11:29:35 2018 +0200
    64.2 +++ b/hdf5/receipt	Wed Mar 07 19:43:44 2018 +0200
    64.3 @@ -1,32 +1,34 @@
    64.4 -# SliTaz package receipt.
    64.5 +# SliTaz package receipt v2.
    64.6  
    64.7  PACKAGE="hdf5"
    64.8  VERSION="1.8.9"
    64.9  CATEGORY="misc"
   64.10 -SHORT_DESC="a data model, library, and file format for storing and managing data."
   64.11 +SHORT_DESC="Data model, library, and file format for storing and managing data"
   64.12  MAINTAINER="pascal.bellard@slitaz.org"
   64.13  LICENSE="BSD"
   64.14  WEB_SITE="http://www.hdfgroup.org/HDF5"
   64.15 +
   64.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   64.17  WGET_URL="http://www.hdfgroup.org/ftp/HDF5/current/src/$TARBALL"
   64.18  
   64.19 -DEPENDS="zlib"
   64.20  BUILD_DEPENDS="cmake szip zlib-dev"
   64.21 +SPLIT="hdf5-dev"
   64.22  
   64.23 -# Rules to configure and make the package.
   64.24 -compile_rules()
   64.25 -{
   64.26 +compile_rules() {
   64.27  	sed -i 's|// .*|/* & */|' test/th5s.c tools/lib/h5tools_str.c
   64.28  	sed -i 's/Using_CMake.txt/USING_CMake.txt/' src/CMakeLists.txt
   64.29  	./configure $CONFIGURE_ARGS &&
   64.30  	make all && make DESTDIR=$DESTDIR install
   64.31  }
   64.32  
   64.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
   64.34 -genpkg_rules()
   64.35 -{
   64.36 -	mkdir -p $fs/usr
   64.37 -	cp -a $install/usr/bin $fs/usr
   64.38 -	cp -a $install/usr/lib $fs/usr
   64.39 -	rm -f $fs/usr/lib/*a
   64.40 +genpkg_rules() {
   64.41 +	case $PACKAGE in
   64.42 +		hdf5)
   64.43 +			copy @std
   64.44 +			DEPENDS="zlib"
   64.45 +			;;
   64.46 +		*-dev)
   64.47 +			copy @dev
   64.48 +			;;
   64.49 +	esac
   64.50  }
    65.1 --- a/iksemel-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    65.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    65.3 @@ -1,18 +0,0 @@
    65.4 -# SliTaz package receipt.
    65.5 -
    65.6 -PACKAGE="iksemel-dev"
    65.7 -VERSION="1.2"
    65.8 -CATEGORY="development"
    65.9 -SHORT_DESC="XML parser library for Jabber applications."
   65.10 -MAINTAINER="pascal.bellard@slitaz.org"
   65.11 -LICENSE="LGPL2.1"
   65.12 -WEB_SITE="http://iksemel.jabberstudio.org/"
   65.13 -WANTED="iksemel"
   65.14 -
   65.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   65.16 -genpkg_rules()
   65.17 -{
   65.18 -	mkdir -p $fs/usr/lib $fs/usr/share
   65.19 -	cp -a $install/usr/include $fs/usr
   65.20 -	cp -a $install/usr/lib/*a $fs/usr/lib
   65.21 -}
    66.1 --- a/iksemel/receipt	Tue Mar 06 11:29:35 2018 +0200
    66.2 +++ b/iksemel/receipt	Wed Mar 07 19:43:44 2018 +0200
    66.3 @@ -1,33 +1,32 @@
    66.4 -# SliTaz package receipt.
    66.5 +# SliTaz package receipt v2.
    66.6  
    66.7  PACKAGE="iksemel"
    66.8  VERSION="1.2"
    66.9  CATEGORY="network"
   66.10 -SHORT_DESC="XML parser library for Jabber applications."
   66.11 +SHORT_DESC="XML parser library for Jabber applications"
   66.12  MAINTAINER="pascal.bellard@slitaz.org"
   66.13  LICENSE="LGPL2.1"
   66.14  WEB_SITE="http://iksemel.jabberstudio.org/"
   66.15 +
   66.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   66.17  WGET_URL="http://jabberstudio.rediris.es/$PACKAGE/$TARBALL"
   66.18  
   66.19 -DEPENDS="gnutls libgcrypt libgpg-error zlib pkg-config"
   66.20 +SPLIT="iksemel-dev"
   66.21  
   66.22 -# Rules to configure and make the package.
   66.23 -compile_rules()
   66.24 -{
   66.25 -	cd $src
   66.26 -	./configure --prefix=/usr --infodir=/usr/share/info \
   66.27 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
   66.28 +compile_rules() {
   66.29 +	./configure $CONFIGURE_ARGS &&
   66.30  	make &&
   66.31  	make DESTDIR=$DESTDIR install
   66.32  }
   66.33  
   66.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   66.35 -genpkg_rules()
   66.36 -{
   66.37 -	mkdir -p $fs/usr/lib
   66.38 -	cp -a $install/usr/bin $fs/usr
   66.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   66.40 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   66.41 +genpkg_rules() {
   66.42 +	case $PACKAGE in
   66.43 +		iksemel)
   66.44 +			copy @std
   66.45 +			DEPENDS="gnutls libgcrypt libgpg-error zlib"
   66.46 +			;;
   66.47 +		*-dev)
   66.48 +			copy @dev
   66.49 +			;;
   66.50 +	esac
   66.51  }
   66.52 -
    67.1 --- a/ipxe-pxe/receipt	Tue Mar 06 11:29:35 2018 +0200
    67.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    67.3 @@ -1,20 +0,0 @@
    67.4 -# SliTaz package receipt.
    67.5 -
    67.6 -PACKAGE="ipxe-pxe"
    67.7 -VERSION="41f786c"
    67.8 -CATEGORY="system-tools"
    67.9 -SHORT_DESC="Open source network boot firmware for pxe server."
   67.10 -MAINTAINER="pascal.bellard@slitaz.org"
   67.11 -LICENSE="GPL2"
   67.12 -WEB_SITE="http://ipxe.org/"
   67.13 -WANTED="ipxe"
   67.14 -
   67.15 -DEPENDS=""
   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/share/boot
   67.21 -	cp -a $src/src/bin/ipxe.kpxe $fs/usr/share/boot/ipxe.pxe
   67.22 -	cp -a $src/src/bin/undionly.kpxe $fs/usr/share/boot/undi.pxe
   67.23 -}
    68.1 --- a/ipxe/receipt	Tue Mar 06 11:29:35 2018 +0200
    68.2 +++ b/ipxe/receipt	Wed Mar 07 19:43:44 2018 +0200
    68.3 @@ -12,6 +12,7 @@
    68.4  WGET_URL="$GITHUB/ipxe/ipxe/tarball/$VERSION"
    68.5  
    68.6  BUILD_DEPENDS="perl xz-dev"
    68.7 +SPLIT="ipxe-pxe"
    68.8  
    68.9  compile_rules() {
   68.10  	cd $src/src
   68.11 @@ -48,5 +49,15 @@
   68.12  }
   68.13  
   68.14  genpkg_rules() {
   68.15 -	copy @std
   68.16 +	case $PACKAGE in
   68.17 +		ipxe)
   68.18 +			copy @std
   68.19 +			;;
   68.20 +		ipxe-pxe)
   68.21 +			CAT="system-tools|for pxe server"
   68.22 +			mkdir -p $fs/usr/share/boot
   68.23 +			cp -a $src/src/bin/ipxe.kpxe     $fs/usr/share/boot/ipxe.pxe
   68.24 +			cp -a $src/src/bin/undionly.kpxe $fs/usr/share/boot/undi.pxe
   68.25 +			;;
   68.26 +	esac
   68.27  }
    69.1 --- a/lensfun-dev/receipt	Tue Mar 06 11:29:35 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="lensfun-dev"
    69.7 -VERSION="0.2.5"
    69.8 -CATEGORY="development"
    69.9 -SHORT_DESC="devel files for lensfun"
   69.10 -MAINTAINER="slaxemulator@gmail.com"
   69.11 -LICENSE="LGPL3 GPL3"
   69.12 -WEB_SITE="http://lensfun.berlios.de/"
   69.13 -WANTED="lensfun"
   69.14 -
   69.15 -DEPENDS="lensfun 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/include $fs/usr
   69.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   69.23 -}
   69.24 -
    70.1 --- a/lensfun/receipt	Tue Mar 06 11:29:35 2018 +0200
    70.2 +++ b/lensfun/receipt	Wed Mar 07 19:43:44 2018 +0200
    70.3 @@ -1,31 +1,37 @@
    70.4 -# SliTaz package receipt.
    70.5 +# SliTaz package receipt v2.
    70.6  
    70.7  PACKAGE="lensfun"
    70.8  VERSION="0.2.5"
    70.9  CATEGORY="multimedia"
   70.10 -SHORT_DESC="Database of photographic lenses and a library that allows advanced access to the database"
   70.11 +SHORT_DESC="Database of photographic lenses and a library that allows advanced \
   70.12 +access to the database"
   70.13  MAINTAINER="slaxemulator@gmail.com"
   70.14  LICENSE="LGPL3 GPL3"
   70.15 +WEB_SITE="http://lensfun.berlios.de/"
   70.16 +
   70.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   70.18 -WEB_SITE="http://lensfun.berlios.de/"
   70.19  WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
   70.20  
   70.21 -DEPENDS="glib"
   70.22  BUILD_DEPENDS="python libpng16 glib-dev"
   70.23 +SPLIT="lensfun-dev"
   70.24  
   70.25 -# Rules to configure and make the package.
   70.26 -compile_rules()
   70.27 -{
   70.28 +compile_rules() {
   70.29  	sed -i 's/.*GNU Make*/# &/' configure
   70.30 -	./configure --prefix=/usr --libdir=/usr/lib && 
   70.31 -	make all && 
   70.32 +	./configure \
   70.33 +		--prefix=/usr \
   70.34 +		--libdir=/usr/lib &&
   70.35 +	make all &&
   70.36  	make INSTALL_PREFIX="$DESTDIR" install
   70.37  }
   70.38  
   70.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
   70.40 -genpkg_rules()
   70.41 -{
   70.42 -	mkdir -p $fs/usr/lib $fs/usr/share
   70.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   70.44 -	cp -a $install/usr/share/lensfun $fs/usr/share
   70.45 +genpkg_rules() {
   70.46 +	case $PACKAGE in
   70.47 +		lensfun)
   70.48 +			copy @std
   70.49 +			DEPENDS="glib"
   70.50 +			;;
   70.51 +		*-dev)
   70.52 +			copy @dev
   70.53 +			;;
   70.54 +	esac
   70.55  }
    71.1 --- a/lesstif-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    71.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    71.3 @@ -1,20 +0,0 @@
    71.4 -# SliTaz package receipt.
    71.5 -
    71.6 -PACKAGE="lesstif-dev"
    71.7 -VERSION="0.95.2"
    71.8 -CATEGORY="development"
    71.9 -SHORT_DESC="lesstif devel files."
   71.10 -WEB_SITE="http://sourceforge.net/projects/lesstif/"
   71.11 -MAINTAINER="rcx@zoominternet.net"
   71.12 -LICENSE="GPL2"
   71.13 -WANTED="lesstif"
   71.14 -
   71.15 -DEPENDS="lesstif"
   71.16 -
   71.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   71.18 -genpkg_rules()
   71.19 -{
   71.20 -	mkdir -p $fs/usr/lib
   71.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   71.22 -	cp -a $install/usr/include $fs/usr
   71.23 -}
    72.1 --- a/lesstif/receipt	Tue Mar 06 11:29:35 2018 +0200
    72.2 +++ b/lesstif/receipt	Wed Mar 07 19:43:44 2018 +0200
    72.3 @@ -1,40 +1,36 @@
    72.4 -# SliTaz package receipt.
    72.5 +# SliTaz package receipt v2.
    72.6  
    72.7  PACKAGE="lesstif"
    72.8  VERSION="0.95.2"
    72.9  CATEGORY="x-window"
   72.10 -SHORT_DESC="An LGPL clone of Motif, which is a set of GUI widgets."
   72.11 +SHORT_DESC="An LGPL clone of Motif, which is a set of GUI widgets"
   72.12  MAINTAINER="rcx@zoominternet.net"
   72.13  LICENSE="GPL2"
   72.14 +WEB_SITE="http://sourceforge.net/projects/lesstif/"
   72.15 +
   72.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   72.17 -WEB_SITE="http://sourceforge.net/projects/lesstif/"
   72.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   72.19  
   72.20 -DEPENDS="glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
   72.21 -xorg-libXdmcp xorg-libXext xorg-libXt util-linux-uuid freetype xorg-libXp"
   72.22  BUILD_DEPENDS="xorg-xextproto xorg-libXt-dev xorg-libXext-dev \
   72.23  util-linux-uuid-dev automake"
   72.24 +SPLIT="lesstif-dev"
   72.25  
   72.26 -# Rules to configure and make the package.
   72.27 -compile_rules()
   72.28 -{
   72.29 -	./configure \
   72.30 -		--prefix=/usr \
   72.31 -		--infodir=/usr/share/info \
   72.32 -		--mandir=/usr/share/man \
   72.33 -		--includedir=/usr/include \
   72.34 -		$CONFIGURE_ARGS  &&
   72.35 -	make  &&
   72.36 +compile_rules() {
   72.37 +	./configure $CONFIGURE_ARGS &&
   72.38 +	make &&
   72.39  	make -j 1 DESTDIR=$DESTDIR install
   72.40  }
   72.41  
   72.42 -# Rules to gen a SliTaz package suitable for Tazpkg.
   72.43 -genpkg_rules()
   72.44 -{
   72.45 -	mkdir -p $fs/usr/lib
   72.46 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   72.47 -	cp -a $install/usr/lib/LessTif $fs/usr/lib
   72.48 -	cp -a $install/usr/lib/X11 $fs/usr/lib
   72.49 -	cp -a $install/usr/bin $fs/usr
   72.50 +genpkg_rules() {
   72.51 +	case $PACKAGE in
   72.52 +		lesstif)
   72.53 +			copy @std
   72.54 +			DEPENDS="glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
   72.55 +			xorg-libXdmcp xorg-libXext xorg-libXt util-linux-uuid freetype \
   72.56 +			xorg-libXp"
   72.57 +			;;
   72.58 +		*-dev)
   72.59 +			copy @dev
   72.60 +			;;
   72.61 +	esac
   72.62  }
   72.63 -
    73.1 --- a/libbonobo-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    73.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    73.3 @@ -1,28 +0,0 @@
    73.4 -# SliTaz package receipt.
    73.5 -
    73.6 -PACKAGE="libbonobo-dev"
    73.7 -VERSION="2.32.1"
    73.8 -CATEGORY="development"
    73.9 -SHORT_DESC="devel files for libbonobo"
   73.10 -MAINTAINER="erjo@slitaz.org"
   73.11 -LICENSE="GPL2"
   73.12 -WEB_SITE="http://www.gnome.org"
   73.13 -WANTED="libbonobo"
   73.14 -
   73.15 -DEPENDS="libbonobo pkg-config"
   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 $fs/usr/share
   73.21 -
   73.22 -	cp -a $install/usr/include $fs/usr
   73.23 -	cp -a $install/usr/lib/*.a* $fs/usr/lib
   73.24 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   73.25 -	cp -a $install/usr/lib/bonobo-2.0 $fs/usr/lib
   73.26 -	cp -a $install/usr/share/idl $fs/usr/share
   73.27 -	
   73.28 -	# remove archive lib
   73.29 -	find $fs/usr/lib -name *.so* -exec rm -f {} \;
   73.30 -}
   73.31 -
    74.1 --- a/libbonobo/receipt	Tue Mar 06 11:29:35 2018 +0200
    74.2 +++ b/libbonobo/receipt	Wed Mar 07 19:43:44 2018 +0200
    74.3 @@ -1,4 +1,4 @@
    74.4 -# SliTaz package receipt.
    74.5 +# SliTaz package receipt v2.
    74.6  
    74.7  PACKAGE="libbonobo"
    74.8  VERSION="2.32.1"
    74.9 @@ -6,16 +6,16 @@
   74.10  SHORT_DESC="Librairies for GNOME"
   74.11  MAINTAINER="erjo@slitaz.org"
   74.12  LICENSE="GPL2"
   74.13 +WEB_SITE="http://www.gnome.org"
   74.14 +
   74.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   74.16 -WEB_SITE="http://www.gnome.org"
   74.17  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
   74.18  
   74.19 -DEPENDS="glib orbit2 libxml2 libglade"
   74.20 -BUILD_DEPENDS="glib-dev libglade-dev orbit2-dev libxml2-dev popt-dev bison flex intltool pkg-config"
   74.21 +BUILD_DEPENDS="glib-dev libglade-dev orbit2-dev libxml2-dev popt-dev bison \
   74.22 +flex intltool pkg-config"
   74.23 +SPLIT="libbonobo-dev"
   74.24  
   74.25 -# Rules to configure and make the package.
   74.26 -compile_rules()
   74.27 -{
   74.28 +compile_rules() {
   74.29  	sed -i 's/-DG_DISABLE_DEPRECATED//' activation-server/Makefile*
   74.30  	./configure \
   74.31  		--prefix=/usr \
   74.32 @@ -25,17 +25,32 @@
   74.33  	make && make install
   74.34  }
   74.35  
   74.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   74.37 -genpkg_rules()
   74.38 -{
   74.39 -	mkdir -p $fs/usr/lib
   74.40 -	cp -a $install/etc $fs/
   74.41 -	cp -a $install/usr/bin $fs/usr
   74.42 -	cp -a $install/usr/sbin $fs/usr
   74.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   74.44 -	cp -a $install/usr/lib/orbit-2.0 $fs/usr/lib
   74.45 -	cp -a $install/usr/lib/bonobo $fs/usr/lib
   74.46 -	
   74.47 -	# Clean unwated files
   74.48 -	cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
   74.49 +genpkg_rules() {
   74.50 +	case $PACKAGE in
   74.51 +		libbonobo)
   74.52 +			mkdir -p $fs/usr/lib
   74.53 +			cp -a $install/etc $fs/
   74.54 +			cp -a $install/usr/bin $fs/usr
   74.55 +			cp -a $install/usr/sbin $fs/usr
   74.56 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   74.57 +			cp -a $install/usr/lib/orbit-2.0 $fs/usr/lib
   74.58 +			cp -a $install/usr/lib/bonobo $fs/usr/lib
   74.59 +
   74.60 +			# Clean unwated files
   74.61 +			cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
   74.62 +			DEPENDS="glib orbit2 libxml2 libglade"
   74.63 +			;;
   74.64 +		*-dev)
   74.65 +			mkdir -p $fs/usr/lib $fs/usr/share
   74.66 +
   74.67 +			cp -a $install/usr/include $fs/usr
   74.68 +			cp -a $install/usr/lib/*.a* $fs/usr/lib
   74.69 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   74.70 +			cp -a $install/usr/lib/bonobo-2.0 $fs/usr/lib
   74.71 +			cp -a $install/usr/share/idl $fs/usr/share
   74.72 +
   74.73 +			# remove archive lib
   74.74 +			find $fs/usr/lib -name *.so* -exec rm -f {} \;
   74.75 +			;;
   74.76 +	esac
   74.77  }
    75.1 --- a/libbonoboui-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    75.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    75.3 @@ -1,24 +0,0 @@
    75.4 -# SliTaz package receipt.
    75.5 -
    75.6 -PACKAGE="libbonoboui-dev"
    75.7 -VERSION="2.24.3"
    75.8 -CATEGORY="development"
    75.9 -SHORT_DESC="The libbonoboui devel files."
   75.10 -MAINTAINER="pankso@slitaz.org"
   75.11 -LICENSE="GPL2"
   75.12 -WEB_SITE="http://www.gnome.org/"
   75.13 -WANTED="libbonoboui"
   75.14 -
   75.15 -DEPENDS="libbonoboui libgnomecanvas-dev pkg-config"
   75.16 -
   75.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   75.18 -genpkg_rules()
   75.19 -{
   75.20 -	mkdir -p $fs/usr/lib
   75.21 -	cp -a $install/usr/include $fs/usr
   75.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   75.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   75.24 -	cp -a $install/usr/lib/libglade $fs/usr/lib
   75.25 -	# remove archive lib
   75.26 -	find $fs/usr/lib -name *.so* -exec rm -f {} \;
   75.27 -}
    76.1 --- a/libbonoboui/receipt	Tue Mar 06 11:29:35 2018 +0200
    76.2 +++ b/libbonoboui/receipt	Wed Mar 07 19:43:44 2018 +0200
    76.3 @@ -1,44 +1,56 @@
    76.4 -# SliTaz package receipt.
    76.5 +# SliTaz package receipt v2.
    76.6  
    76.7  PACKAGE="libbonoboui"
    76.8  VERSION="2.24.3"
    76.9  CATEGORY="x-window"
   76.10 -SHORT_DESC="The libbonoboui package contains libbonoboui libraries."
   76.11 +SHORT_DESC="The libbonoboui package contains libbonoboui libraries"
   76.12  MAINTAINER="pankso@slitaz.org"
   76.13  LICENSE="GPL2"
   76.14 +WEB_SITE="http://www.gnome.org/"
   76.15 +
   76.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   76.17 -WEB_SITE="http://www.gnome.org/"
   76.18  WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
   76.19  
   76.20 -DEPENDS="glib gtk+ libgnome libgnomecanvas libglade GConf alsa-lib popt \
   76.21 -libbonobo"
   76.22  BUILD_DEPENDS="glib-dev gtk+-dev libgnome-dev libgnomecanvas-dev libglade-dev \
   76.23  GConf-dev alsa-lib-dev popt-dev libbonobo-dev util-linux-uuid-dev intltool \
   76.24  dbus-glib-dev audiofile esound libffi xorg-libXinerama-dev xorg-libXrandr-dev \
   76.25  xorg-libXcursor-dev xorg-libXcomposite-dev xorg-libXdamage-dev"
   76.26 +SPLIT="libbonoboui-dev"
   76.27  
   76.28 -# Rules to configure and make the package.
   76.29 -compile_rules()
   76.30 -{
   76.31 -	cd $src
   76.32 -	./configure $CONFIGURE_ARGS \
   76.33 +compile_rules() {
   76.34 +	./configure \
   76.35  		--sysconfdir=/etc/gnome \
   76.36 -		--libexecdir=/usr/lib/bonobo &&
   76.37 +		--libexecdir=/usr/lib/bonobo \
   76.38 +		$CONFIGURE_ARGS &&
   76.39  	make && make install
   76.40  }
   76.41  
   76.42 -# Rules to gen a SliTaz package suitable for Tazpkg.
   76.43 -genpkg_rules()
   76.44 -{
   76.45 -	mkdir -p $fs/usr/lib
   76.46 -	mkdir -p $fs/usr/share
   76.47 -	cp -a $install/usr/bin $fs/usr
   76.48 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   76.49 -	cp -a $install/usr/lib/bonobo* $fs/usr/lib
   76.50 -	cp -a $install/usr/lib/libglade $fs/usr/lib
   76.51 -	cp -a $install/usr/share/applications $fs/usr/share
   76.52 -	cp -a $install/usr/share/gnome-2.0 $fs/usr/share
   76.53 +genpkg_rules() {
   76.54 +	case $PACKAGE in
   76.55 +		libbonoboui)
   76.56 +			mkdir -p $fs/usr/lib
   76.57 +			mkdir -p $fs/usr/share
   76.58 +			cp -a $install/usr/bin $fs/usr
   76.59 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   76.60 +			cp -a $install/usr/lib/bonobo* $fs/usr/lib
   76.61 +			cp -a $install/usr/lib/libglade $fs/usr/lib
   76.62 +			cp -a $install/usr/share/applications $fs/usr/share
   76.63 +			cp -a $install/usr/share/gnome-2.0 $fs/usr/share
   76.64  
   76.65 -	# remove archive lib
   76.66 -	find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
   76.67 +			# remove archive lib
   76.68 +			find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
   76.69 +			DEPENDS="glib gtk+ libgnome libgnomecanvas libglade GConf alsa-lib \
   76.70 +			popt libbonobo"
   76.71 +			;;
   76.72 +		*-dev)
   76.73 +			mkdir -p $fs/usr/lib
   76.74 +			cp -a $install/usr/include $fs/usr
   76.75 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   76.76 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   76.77 +			cp -a $install/usr/lib/libglade $fs/usr/lib
   76.78 +			# remove archive lib
   76.79 +			find $fs/usr/lib -name *.so* -exec rm -f {} \;
   76.80 +			DEPENDS="libbonoboui libgnomecanvas-dev"
   76.81 +			;;
   76.82 +	esac
   76.83  }
    77.1 --- a/libev-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    77.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    77.3 @@ -1,24 +0,0 @@
    77.4 -# SliTaz package receipt.
    77.5 -
    77.6 -PACKAGE="libev-dev"
    77.7 -VERSION="4.04"
    77.8 -CATEGORY="development"
    77.9 -SHORT_DESC="libev development files"
   77.10 -MAINTAINER="mallory@sweetpeople.org"
   77.11 -LICENSE="BSD"
   77.12 -WEB_SITE="http://software.schmorp.de/pkg/libev.html"
   77.13 -
   77.14 -WANTED="libev"
   77.15 -
   77.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
   77.17 -genpkg_rules()
   77.18 -{
   77.19 -	mkdir -p $fs/usr/lib
   77.20 -	cp -a $install/usr/include $fs/usr
   77.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   77.22 -	#cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   77.23 -	# /usr/include/event.h conflicts with libevent-dev
   77.24 -	# https://www.opencsw.org/mantis/view.php?id=4376
   77.25 -	mv $fs/usr/include/event.h $fs/usr/include/ev-event.h
   77.26 -}
   77.27 -
    78.1 --- a/libev/receipt	Tue Mar 06 11:29:35 2018 +0200
    78.2 +++ b/libev/receipt	Wed Mar 07 19:43:44 2018 +0200
    78.3 @@ -1,26 +1,38 @@
    78.4 -# SliTaz package receipt.
    78.5 +# SliTaz package receipt v2.
    78.6  
    78.7  PACKAGE="libev"
    78.8  VERSION="4.04"
    78.9  CATEGORY="system-tools"
   78.10 -SHORT_DESC="A full-featured and high-performance event loop."
   78.11 +SHORT_DESC="A full-featured and high-performance event loop"
   78.12  MAINTAINER="mallory@sweetpeople.org"
   78.13  LICENSE="BSD"
   78.14 +WEB_SITE="http://software.schmorp.de/pkg/libev.html"
   78.15 +
   78.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   78.17 -WEB_SITE="http://software.schmorp.de/pkg/libev.html"
   78.18  WGET_URL="http://dist.schmorp.de/libev/$TARBALL"
   78.19  
   78.20 -# Rules to configure and make the package.
   78.21 -compile_rules()
   78.22 -{
   78.23 +SPLIT="libev-dev"
   78.24 +
   78.25 +compile_rules() {
   78.26  	./configure $CONFIGURE_ARGS &&
   78.27  	make && make install
   78.28  }
   78.29  
   78.30 -# Rules to gen a SliTaz package suitable for Tazpkg.
   78.31 -genpkg_rules()
   78.32 -{
   78.33 -	mkdir -p $fs/usr/lib 
   78.34 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   78.35 +genpkg_rules() {
   78.36 +	case $PACKAGE in
   78.37 +		libev)
   78.38 +			mkdir -p $fs/usr/lib
   78.39 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   78.40 +			;;
   78.41 +		*-dev)
   78.42 +			mkdir -p $fs/usr/lib
   78.43 +			cp -a $install/usr/include $fs/usr
   78.44 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   78.45 +			#cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   78.46 +			# /usr/include/event.h conflicts with libevent-dev
   78.47 +			# https://www.opencsw.org/mantis/view.php?id=4376
   78.48 +			mv $fs/usr/include/event.h $fs/usr/include/ev-event.h
   78.49 +			;;
   78.50 +	esac
   78.51  }
   78.52  
    79.1 --- a/libgringotts-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    79.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    79.3 @@ -1,21 +0,0 @@
    79.4 -# SliTaz package receipt.
    79.5 -
    79.6 -PACKAGE="libgringotts-dev"
    79.7 -VERSION="1.2.1"
    79.8 -CATEGORY="development"
    79.9 -SHORT_DESC="A Safebox for your Data, development files."
   79.10 -MAINTAINER="pascal.bellard@slitaz.org"
   79.11 -LICENSE="GPL2"
   79.12 -WEB_SITE="http://gringotts.shlomifish.org/"
   79.13 -WANTED="libgringotts"
   79.14 -
   79.15 -DEPENDS="libgringotts"
   79.16 -
   79.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   79.18 -genpkg_rules()
   79.19 -{
   79.20 -	mkdir -p $fs/usr/lib
   79.21 -	cp -a $install/usr/include $fs/usr
   79.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
   79.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   79.24 -}
    80.1 --- a/libgringotts/receipt	Tue Mar 06 11:29:35 2018 +0200
    80.2 +++ b/libgringotts/receipt	Wed Mar 07 19:43:44 2018 +0200
    80.3 @@ -1,21 +1,20 @@
    80.4 -# SliTaz package receipt.
    80.5 +# SliTaz package receipt v2.
    80.6  
    80.7  PACKAGE="libgringotts"
    80.8  VERSION="1.2.1"
    80.9  CATEGORY="security"
   80.10 -SHORT_DESC="A Safebox for your Data."
   80.11 +SHORT_DESC="A Safebox for your Data"
   80.12  MAINTAINER="pascal.bellard@slitaz.org"
   80.13  LICENSE="GPL2"
   80.14 +WEB_SITE="http://gringotts.shlomifish.org/"
   80.15 +
   80.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   80.17 -WEB_SITE="http://gringotts.shlomifish.org/"
   80.18  WGET_URL="$SF_MIRROR/gringotts.berlios/$TARBALL"
   80.19  
   80.20 -DEPENDS="bzip2 zlib libmcrypt mhash"
   80.21  BUILD_DEPENDS="bzip2-dev zlib-dev libmcrypt-dev mhash-dev file"
   80.22 +SPLIT="libgringotts-dev"
   80.23  
   80.24 -# Rules to configure and make the package.
   80.25 -compile_rules()
   80.26 -{
   80.27 +compile_rules() {
   80.28  	./configure \
   80.29  		--prefix=/usr \
   80.30  		$CONFIGURE_ARGS &&
   80.31 @@ -23,9 +22,18 @@
   80.32  	make DESTDIR=$DESTDIR install
   80.33  }
   80.34  
   80.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
   80.36 -genpkg_rules()
   80.37 -{
   80.38 -	mkdir -p $fs/usr/lib
   80.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   80.40 +genpkg_rules() {
   80.41 +	case $PACKAGE in
   80.42 +		libgringotts)
   80.43 +			mkdir -p $fs/usr/lib
   80.44 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   80.45 +			DEPENDS="bzip2 zlib libmcrypt mhash"
   80.46 +			;;
   80.47 +		*-dev)
   80.48 +			mkdir -p $fs/usr/lib
   80.49 +			cp -a $install/usr/include $fs/usr
   80.50 +			cp -a $install/usr/lib/*a $fs/usr/lib
   80.51 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   80.52 +			;;
   80.53 +	esac
   80.54  }
    81.1 --- a/libhtp-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    81.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    81.3 @@ -1,21 +0,0 @@
    81.4 -# SliTaz package receipt.
    81.5 -
    81.6 -PACKAGE="libhtp-dev"
    81.7 -VERSION="0.2.6"
    81.8 -CATEGORY="development"
    81.9 -SHORT_DESC="SLibhtp dev files."
   81.10 -MAINTAINER="erjo@slitaz.org"
   81.11 -LICENSE="GPL2"
   81.12 -WEB_SITE="http://www.openinfosecfoundation.org"
   81.13 -WANTED="libhtp"
   81.14 -
   81.15 -DEPENDS="libhtp pkg-config"
   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/lib
   81.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   81.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   81.23 -	cp -a $install/usr/include $fs/usr
   81.24 -}
    82.1 --- a/libhtp/receipt	Tue Mar 06 11:29:35 2018 +0200
    82.2 +++ b/libhtp/receipt	Wed Mar 07 19:43:44 2018 +0200
    82.3 @@ -1,27 +1,26 @@
    82.4 -# SliTaz package receipt.
    82.5 +# SliTaz package receipt v2.
    82.6  
    82.7  PACKAGE="libhtp"
    82.8  VERSION="0.2.6"
    82.9  CATEGORY="system-tools"
   82.10 -SHORT_DESC="Security-aware parser for the HTTP protocol."
   82.11 +SHORT_DESC="Security-aware parser for the HTTP protocol"
   82.12  MAINTAINER="erjo@slitaz.org"
   82.13  LICENSE="GPL2"
   82.14  WEB_SITE="http://www.openinfosecfoundation.org"
   82.15 +
   82.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   82.17  WGET_URL="http://www.openinfosecfoundation.org/download/$TARBALL"
   82.18  
   82.19  BUILD_DEPENDS="zlib-dev"
   82.20 +SPLIT="libhtp-dev"
   82.21  
   82.22 -# Rules to configure and make the package.
   82.23 -compile_rules()
   82.24 -{
   82.25 -	cd $src
   82.26 +compile_rules() {
   82.27  	./configure $CONFIGURE_ARGS && make && make install
   82.28  }
   82.29  
   82.30 -# Rules to gen a SliTaz package suitable for Tazpkg.
   82.31 -genpkg_rules()
   82.32 -{
   82.33 -	mkdir -p $fs/usr/lib
   82.34 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   82.35 +genpkg_rules() {
   82.36 +	case $PACKAGE in
   82.37 +		libhtp) copy @std;;
   82.38 +		*-dev)  copy @dev;;
   82.39 +	esac
   82.40  }
    83.1 --- a/liblouis-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    83.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    83.3 @@ -1,20 +0,0 @@
    83.4 -# SliTaz package receipt.
    83.5 -
    83.6 -PACKAGE="liblouis-dev"
    83.7 -VERSION="2.5.2-3"
    83.8 -CATEGORY="utilities"
    83.9 -LICENSE="GPL3"
   83.10 -SHORT_DESC="Open-source braille translator and back-translator."
   83.11 -MAINTAINER="yuripourre@gmail.com"
   83.12 -WEB_SITE="https://code.google.com/p/liblouis/"
   83.13 -WANTED="liblouis"
   83.14 -DEPENDS="liblouis"
   83.15 -
   83.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
   83.17 -genpkg_rules()
   83.18 -{
   83.19 -	mkdir -p $fs/usr/lib $fs/usr/include
   83.20 -	cp -a $install/usr/lib/*.la $fs/usr/lib
   83.21 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   83.22 -	cp -a $install/usr/include/* $fs/usr/include
   83.23 -}
    84.1 --- a/liblouis/receipt	Tue Mar 06 11:29:35 2018 +0200
    84.2 +++ b/liblouis/receipt	Wed Mar 07 19:43:44 2018 +0200
    84.3 @@ -1,35 +1,37 @@
    84.4 -# SliTaz package receipt.
    84.5 +# SliTaz package receipt v2.
    84.6  
    84.7  PACKAGE="liblouis"
    84.8  VERSION="2.5.2-3"
    84.9  CATEGORY="utilities"
   84.10  LICENSE="GPL3"
   84.11 -SHORT_DESC="Open-source braille translator and back-translator."
   84.12 +SHORT_DESC="Open-source braille translator and back-translator"
   84.13  MAINTAINER="yuripourre@gmail.com"
   84.14 +WEB_SITE="https://code.google.com/p/liblouis/"
   84.15 +
   84.16  TARBALL="$PACKAGE-${VERSION:0:5}.tar.gz"
   84.17 -WEB_SITE="https://code.google.com/p/liblouis/"
   84.18  WGET_URL="http://liblouis.googlecode.com/files/$TARBALL"
   84.19  
   84.20 -DEPENDS="glibc"
   84.21  BUILD_DEPENDS="python-dev"
   84.22 -SUGGESTED="help2man"
   84.23 +SPLIT="liblouis-dev"
   84.24  
   84.25 -# Rules to configure and make the package.
   84.26 -compile_rules()
   84.27 -{
   84.28 -	./configure                    \
   84.29 -		--prefix=/usr          \
   84.30 -		--disable-static       \
   84.31 +compile_rules() {
   84.32 +	./configure \
   84.33 +		--prefix=/usr \
   84.34 +		--disable-static \
   84.35  		$CONFIGURE_ARGS &&
   84.36  	make &&
   84.37  	make DESTDIR=$DESTDIR install
   84.38  }
   84.39  
   84.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
   84.41 -genpkg_rules()
   84.42 -{
   84.43 -	mkdir -p $fs/usr/lib
   84.44 -	cp -a $install/usr/bin $fs/usr
   84.45 -	cp -a $install/usr/share $fs/usr
   84.46 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   84.47 +genpkg_rules() {
   84.48 +	case $PACKAGE in
   84.49 +		liblouis)
   84.50 +			copy @std
   84.51 +			DEPENDS="glibc"
   84.52 +			SUGGESTED="help2man"
   84.53 +			;;
   84.54 +		*-dev)
   84.55 +			copy @dev
   84.56 +			;;
   84.57 +	esac
   84.58  }
    85.1 --- a/libmcs-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    85.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    85.3 @@ -1,21 +0,0 @@
    85.4 -# SliTaz package receipt.
    85.5 -
    85.6 -PACKAGE="libmcs-dev"
    85.7 -VERSION="0.7.2"
    85.8 -WEB_SITE="http://www.atheme.org/libmcs/"
    85.9 -MAINTAINER="mimas@slitaz.org"
   85.10 -LICENSE="BSD"
   85.11 -CATEGORY="development"
   85.12 -WANTED="libmcs"
   85.13 -SHORT_DESC="Library for configuration storage"
   85.14 -
   85.15 -DEPENDS="libmowgli-dev pkg-config"
   85.16 -
   85.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   85.18 -genpkg_rules()
   85.19 -{
   85.20 -	mkdir -p $fs/usr/lib
   85.21 -	cp -a $install/usr/include $fs/usr/
   85.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   85.23 -}
   85.24 -
    86.1 --- a/libmcs/receipt	Tue Mar 06 11:29:35 2018 +0200
    86.2 +++ b/libmcs/receipt	Wed Mar 07 19:43:44 2018 +0200
    86.3 @@ -1,4 +1,4 @@
    86.4 -# SliTaz package receipt.
    86.5 +# SliTaz package receipt v2.
    86.6  
    86.7  PACKAGE="libmcs"
    86.8  VERSION="0.7.2"
    86.9 @@ -6,30 +6,36 @@
   86.10  SHORT_DESC="Library for configuration storage"
   86.11  MAINTAINER="mimas@slitaz.org"
   86.12  LICENSE="BSD"
   86.13 +WEB_SITE="http://www.atheme.org/libmcs/"
   86.14 +
   86.15  TARBALL="$PACKAGE-$VERSION.tgz"
   86.16 -WEB_SITE="http://www.atheme.org/libmcs/"
   86.17  WGET_URL="http://distfiles.atheme.org/$TARBALL"
   86.18  
   86.19 -DEPENDS="libmowgli"
   86.20  BUILD_DEPENDS="libmowgli-dev"
   86.21 +SPLIT="libmcs-dev"
   86.22  
   86.23 -# Rules to configure and make the package.
   86.24 -compile_rules()
   86.25 -{
   86.26 -	cd $src
   86.27 +compile_rules() {
   86.28  	sed -i 's/libmowgli/libmowgli-2/' configure configure.ac libmcs.pc.in
   86.29  	sed -i "s/touch -t 0001010000 /touch /g" configure
   86.30 -	./configure $CONFIGURE_ARGS && 
   86.31 -	make &&	
   86.32 +	./configure $CONFIGURE_ARGS &&
   86.33 +	make &&
   86.34  	make DESTDIR=$DESTDIR install
   86.35  }
   86.36  
   86.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
   86.38 -genpkg_rules()
   86.39 -{
   86.40 -	mkdir -p $fs/usr/lib
   86.41 -	cp -a $install/usr/bin $fs/usr
   86.42 -	cp -a $install/usr/lib/libmcs.so* $fs/usr/lib/
   86.43 -	cp -a $install/usr/lib/mcs $fs/usr/lib/
   86.44 +genpkg_rules() {
   86.45 +	case $PACKAGE in
   86.46 +		libmcs)
   86.47 +			mkdir -p $fs/usr/lib
   86.48 +			cp -a $install/usr/bin $fs/usr
   86.49 +			cp -a $install/usr/lib/libmcs.so* $fs/usr/lib/
   86.50 +			cp -a $install/usr/lib/mcs $fs/usr/lib/
   86.51 +			DEPENDS="libmowgli"
   86.52 +			;;
   86.53 +		*-dev)
   86.54 +			mkdir -p $fs/usr/lib
   86.55 +			cp -a $install/usr/include $fs/usr/
   86.56 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   86.57 +			DEPENDS="libmcs libmowgli-dev"
   86.58 +			;;
   86.59 +	esac
   86.60  }
   86.61 -
    87.1 --- a/libnjb-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    87.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    87.3 @@ -1,23 +0,0 @@
    87.4 -# SliTaz package receipt.
    87.5 -
    87.6 -PACKAGE="libnjb-dev"
    87.7 -VERSION="2.2.6"
    87.8 -CATEGORY="development"
    87.9 -SHORT_DESC="C library and API for communicating with the Creative Nomad JukeBox and Dell DJ devel files"
   87.10 -MAINTAINER="keupont@no-log.org"
   87.11 -LICENSE="BSD"
   87.12 -WANTED="libnjb"
   87.13 -WEB_SITE="http://libnjb.sourceforge.net/"
   87.14 -
   87.15 -DEPENDS="libnjb libusb zlib pkg-config"
   87.16 -
   87.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   87.18 -genpkg_rules()
   87.19 -{
   87.20 -	mkdir -p $fs/usr/lib
   87.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   87.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   87.23 -	cp -a $install/usr/include $fs/usr
   87.24 -	cp -a $install/usr/bin $fs/usr
   87.25 -}
   87.26 -
    88.1 --- a/libnjb/receipt	Tue Mar 06 11:29:35 2018 +0200
    88.2 +++ b/libnjb/receipt	Wed Mar 07 19:43:44 2018 +0200
    88.3 @@ -1,27 +1,32 @@
    88.4 -# SliTaz package receipt.
    88.5 +# SliTaz package receipt v2.
    88.6  
    88.7  PACKAGE="libnjb"
    88.8  VERSION="2.2.6"
    88.9  CATEGORY="system-tools"
   88.10 -SHORT_DESC="C library and API for communicating with the Creative Nomad JukeBox and Dell DJ"
   88.11 +SHORT_DESC="Communicating with the Creative Nomad JukeBox and Dell DJ"
   88.12  MAINTAINER="keupont@no-log.org"
   88.13  LICENSE="BSD"
   88.14 +WEB_SITE="http://libnjb.sourceforge.net/"
   88.15 +
   88.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   88.17 -WEB_SITE="http://libnjb.sourceforge.net/"
   88.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   88.19  
   88.20 -DEPENDS="libusb-compat"
   88.21  BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev udev-dev"
   88.22 +SPLIT="libnjb-dev"
   88.23  
   88.24 -# Rules to configure and make the package.
   88.25 -compile_rules()
   88.26 -{
   88.27 +compile_rules() {
   88.28  	./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install
   88.29  }
   88.30  
   88.31 -# Rules to gen a SliTaz package suitable for Tazpkg.
   88.32 -genpkg_rules()
   88.33 -{
   88.34 -	mkdir -p $fs/usr/lib
   88.35 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   88.36 +genpkg_rules() {
   88.37 +	case $PACKAGE in
   88.38 +		libnjb)
   88.39 +			copy @std
   88.40 +			DEPENDS="libusb-compat"
   88.41 +			;;
   88.42 +		*-dev)
   88.43 +			copy @dev
   88.44 +			DEPENDS="libnjb libusb zlib pkg-config"
   88.45 +			;;
   88.46 +	esac
   88.47  }
    89.1 --- a/libnotify-gtk3-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    89.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    89.3 @@ -1,23 +0,0 @@
    89.4 -# SliTaz package receipt.
    89.5 -
    89.6 -PACKAGE="libnotify-gtk3-dev"
    89.7 -VERSION="0.7.6"
    89.8 -CATEGORY="utilities"
    89.9 -SHORT_DESC="Development files for libnotify (GTK+3)"
   89.10 -MAINTAINER="al.bobylev@gmail.com"
   89.11 -LICENSE="LGPL2.1"
   89.12 -WEB_SITE="http://www.galago-project.org/"
   89.13 -TAGS="gtk3"
   89.14 -
   89.15 -DEPENDS="libnotify-gtk3 pkg-config"
   89.16 -WANTED="libnotify-gtk3"
   89.17 -
   89.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   89.19 -genpkg_rules()
   89.20 -{
   89.21 -	mkdir -p $fs/usr/lib
   89.22 -	cp -a $install/usr/include $fs/usr
   89.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   89.24 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   89.25 -}
   89.26 -
    90.1 --- a/libnotify-gtk3/receipt	Tue Mar 06 11:29:35 2018 +0200
    90.2 +++ b/libnotify-gtk3/receipt	Wed Mar 07 19:43:44 2018 +0200
    90.3 @@ -1,4 +1,4 @@
    90.4 -# SliTaz package receipt.
    90.5 +# SliTaz package receipt v2.
    90.6  
    90.7  PACKAGE="libnotify-gtk3"
    90.8  VERSION="0.7.6"
    90.9 @@ -7,18 +7,15 @@
   90.10  MAINTAINER="al.bobylev@gmail.com"
   90.11  LICENSE="LGPL2.1"
   90.12  WEB_SITE="http://developer-next.gnome.org/libnotify/"
   90.13 -TAGS="gtk3"
   90.14  
   90.15  TARBALL="libnotify-$VERSION.tar.xz"
   90.16  WGET_URL="$GNOME_MIRROR/libnotify/$(echo $VERSION | cut -d. -f1,2)/$TARBALL"
   90.17  
   90.18 -DEPENDS="gdk-pixbuf dbus"
   90.19  BUILD_DEPENDS="gtk+3-dev gobject-introspection-dev glib-dev libxml2-dev \
   90.20  dbus-dev"
   90.21 +SPLIT="libnotify-gtk3-dev"
   90.22  
   90.23 -# Rules to configure and make the package.
   90.24 -compile_rules()
   90.25 -{
   90.26 +compile_rules() {
   90.27  	./configure \
   90.28  		--disable-static \
   90.29  		--enable-introspection \
   90.30 @@ -28,10 +25,15 @@
   90.31  	make DESTDIR=$install install
   90.32  }
   90.33  
   90.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   90.35 -genpkg_rules()
   90.36 -{
   90.37 -	mkdir -p $fs/usr/lib
   90.38 -	cp -a $install/usr/bin $fs/usr
   90.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   90.40 +genpkg_rules() {
   90.41 +	case $PACKAGE in
   90.42 +		libnotify-gtk3)
   90.43 +			copy @std
   90.44 +			DEPENDS="gdk-pixbuf dbus"
   90.45 +			TAGS="gtk3"
   90.46 +			;;
   90.47 +		*-dev)
   90.48 +			copy @dev
   90.49 +			;;
   90.50 +	esac
   90.51  }
    91.1 --- a/liboping-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    91.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    91.3 @@ -1,18 +0,0 @@
    91.4 -# SliTaz package receipt.
    91.5 -
    91.6 -PACKAGE="liboping-dev"
    91.7 -VERSION="1.9.0"
    91.8 -CATEGORY="development"
    91.9 -MAINTAINER="paul@slitaz.org"
   91.10 -LICENSE="LGPL2.1"
   91.11 -SHORT_DESC="Library to ping IPv4 and IPv6 hosts in parallel (development files)"
   91.12 -WEB_SITE="http://noping.cc/"
   91.13 -
   91.14 -WANTED="liboping"
   91.15 -DEPENDS="liboping"
   91.16 -
   91.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   91.18 -genpkg_rules()
   91.19 -{
   91.20 -	copy perl5/ *.h *.a *.la *.pc
   91.21 -}
    92.1 --- a/liboping/receipt	Tue Mar 06 11:29:35 2018 +0200
    92.2 +++ b/liboping/receipt	Wed Mar 07 19:43:44 2018 +0200
    92.3 @@ -1,9 +1,9 @@
    92.4 -# SliTaz package receipt.
    92.5 +# SliTaz package receipt v2.
    92.6  
    92.7  PACKAGE="liboping"
    92.8  VERSION="1.9.0"
    92.9  CATEGORY="network"
   92.10 -SHORT_DESC="Library to ping IPv4 and IPv6 hosts in parallel."
   92.11 +SHORT_DESC="Library to ping IPv4 and IPv6 hosts in parallel"
   92.12  MAINTAINER="paul@slitaz.org"
   92.13  LICENSE="LGPL2.1"
   92.14  WEB_SITE="http://noping.cc/"
   92.15 @@ -11,25 +11,28 @@
   92.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   92.17  WGET_URL="http://noping.cc/files/$TARBALL"
   92.18  
   92.19 -DEPENDS="ncurses libcap"
   92.20  BUILD_DEPENDS="ncurses-dev perl-dev libcap-dev"
   92.21 +SPLIT="liboping-dev"
   92.22  
   92.23 -# Rules to configure and make the package.
   92.24 -compile_rules()
   92.25 -{
   92.26 +compile_rules() {
   92.27  	./configure $CONFIGURE_ARGS &&
   92.28  	make &&
   92.29  	make DESTDIR=$DESTDIR install
   92.30  }
   92.31  
   92.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
   92.33 -genpkg_rules()
   92.34 -{
   92.35 -	copy oping noping *.so*
   92.36 +genpkg_rules() {
   92.37 +	case $PACKAGE in
   92.38 +		liboping)
   92.39 +			copy oping noping *.so*
   92.40 +			DEPENDS="ncurses libcap"
   92.41 +			;;
   92.42 +		*-dev)
   92.43 +			copy perl5/ *.h *.a *.la *.pc
   92.44 +			;;
   92.45 +	esac
   92.46  }
   92.47  
   92.48 -post_install()
   92.49 -{
   92.50 +post_install_liboping() {
   92.51  	chroot "$1/" setcap cap_net_raw=ep /usr/bin/oping
   92.52  	chroot "$1/" setcap cap_net_raw=ep /usr/bin/noping
   92.53  }
    93.1 --- a/libpano13-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    93.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    93.3 @@ -1,20 +0,0 @@
    93.4 -# SliTaz package receipt.
    93.5 -
    93.6 -PACKAGE="libpano13-dev"
    93.7 -VERSION="2.9.18"
    93.8 -CATEGORY="development"
    93.9 -SHORT_DESC="Panorama tools library, development tools."
   93.10 -MAINTAINER="pascal.bellard@slitaz.org"
   93.11 -LICENSE="GPL2"
   93.12 -WEB_SITE="http://panotools.sourceforge.net/"
   93.13 -WANTED="libpano13"
   93.14 -
   93.15 -DEPENDS="libpano13 libpng16-dev jpeg-dev tiff-dev"
   93.16 -
   93.17 -# Rules to gen a SliTaz package suitable for Tazpkg.   
   93.18 -genpkg_rules()                                      
   93.19 -{
   93.20 -	mkdir -p $fs/usr/lib
   93.21 -	cp -a $install/usr/include $fs/usr
   93.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
   93.23 -}
    94.1 --- a/libpano13/receipt	Tue Mar 06 11:29:35 2018 +0200
    94.2 +++ b/libpano13/receipt	Wed Mar 07 19:43:44 2018 +0200
    94.3 @@ -1,34 +1,40 @@
    94.4 -# SliTaz package receipt.
    94.5 +# SliTaz package receipt v2.
    94.6  
    94.7  PACKAGE="libpano13"
    94.8  VERSION="2.9.18"
    94.9  CATEGORY="development"
   94.10 -SHORT_DESC="Panorama tools library."
   94.11 +SHORT_DESC="Panorama tools library"
   94.12  MAINTAINER="pascal.bellard@slitaz.org"
   94.13  LICENSE="GPL2"
   94.14 +WEB_SITE="http://panotools.sourceforge.net/"
   94.15 +
   94.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   94.17 -WEB_SITE="http://panotools.sourceforge.net/"
   94.18  WGET_URL="$SF_MIRROR/panotools/$TARBALL"
   94.19  
   94.20 -DEPENDS="libpng16 jpeg tiff"
   94.21  BUILD_DEPENDS="bash libpng16-dev jpeg-dev tiff-dev"
   94.22 +SPLIT="libpano13-dev"
   94.23  
   94.24 -# Rules to configure and make the package.
   94.25 -compile_rules()
   94.26 -{
   94.27 -	cd $src
   94.28 -	./configure --prefix=/usr \
   94.29 -		--build=$HOST_SYSTEM \
   94.30 -		--host=$HOST_SYSTEM &&
   94.31 +compile_rules() {
   94.32 +	./configure \
   94.33 +		--prefix=/usr \
   94.34 +		$CONFIGURE_ARGS &&
   94.35  	make &&
   94.36  	make DESTDIR=$DESTDIR install
   94.37  }
   94.38  
   94.39 -# Rules to gen a SliTaz package suitable for Tazpkg.   
   94.40 -genpkg_rules()                                      
   94.41 -{
   94.42 -	mkdir -p $fs/usr/lib
   94.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   94.44 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   94.45 -	cp -a $install/usr/bin $fs/usr
   94.46 +genpkg_rules() {
   94.47 +	case $PACKAGE in
   94.48 +		libpano13)
   94.49 +			mkdir -p $fs/usr/lib
   94.50 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   94.51 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   94.52 +			cp -a $install/usr/bin $fs/usr
   94.53 +			DEPENDS="libpng16 jpeg tiff"
   94.54 +			;;
   94.55 +		*-dev)
   94.56 +			mkdir -p $fs/usr/lib
   94.57 +			cp -a $install/usr/include $fs/usr
   94.58 +			cp -a $install/usr/lib/*a $fs/usr/lib
   94.59 +			;;
   94.60 +	esac
   94.61  }
    95.1 --- a/libpthread-stubs-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    95.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    95.3 @@ -1,20 +0,0 @@
    95.4 -# SliTaz package receipt.
    95.5 -
    95.6 -PACKAGE="libpthread-stubs-dev"
    95.7 -VERSION="0.2"
    95.8 -CATEGORY="development"
    95.9 -SHORT_DESC="Weak aliases for pthread functions development files"
   95.10 -MAINTAINER="erjo@slitaz.org"
   95.11 -LICENSE="MIT"
   95.12 -WEB_SITE="http://xcb.freedesktop.org"
   95.13 -
   95.14 -WANTED="libpthread-stubs"
   95.15 -DEPENDS="libpthread-stubs pkg-config"
   95.16 -
   95.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   95.18 -genpkg_rules()
   95.19 -{
   95.20 -	mkdir -p $fs/usr/lib
   95.21 -	cp -a $install/usr/lib/*.la $fs/usr/lib
   95.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   95.23 -}
    96.1 --- a/libpthread-stubs/receipt	Tue Mar 06 11:29:35 2018 +0200
    96.2 +++ b/libpthread-stubs/receipt	Wed Mar 07 19:43:44 2018 +0200
    96.3 @@ -1,26 +1,26 @@
    96.4 -# SliTaz package receipt.
    96.5 +# SliTaz package receipt v2.
    96.6  
    96.7  PACKAGE="libpthread-stubs"
    96.8  VERSION="0.2"
    96.9  CATEGORY="x-window"
   96.10 -SHORT_DESC="Weak aliases for pthread functions."
   96.11 +SHORT_DESC="Weak aliases for pthread functions"
   96.12  MAINTAINER="pascal.bellard@slitaz.org"
   96.13  LICENSE="MIT"
   96.14 +WEB_SITE="http://xcb.freedesktop.org"
   96.15 +
   96.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   96.17 -WEB_SITE="http://xcb.freedesktop.org"
   96.18  WGET_URL="$WEB_SITE/dist/$TARBALL"
   96.19  
   96.20 -# Rules to configure and make the package.
   96.21 -compile_rules()
   96.22 -{
   96.23 +SPLIT="libpthread-stubs-dev"
   96.24 +
   96.25 +compile_rules() {
   96.26  	./configure $CONFIGURE_ARGS &&
   96.27  	make && make -j 1 install
   96.28  }
   96.29  
   96.30 -# Rules to gen a SliTaz package suitable for Tazpkg.
   96.31 -genpkg_rules()
   96.32 -{
   96.33 -	mkdir -p $fs/usr/lib
   96.34 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   96.35 +genpkg_rules() {
   96.36 +	case $PACKAGE in
   96.37 +		libpthread-stubs) copy @std;;
   96.38 +		*-dev)            copy @dev;;
   96.39 +	esac
   96.40  }
   96.41 -
    97.1 --- a/libsearpc-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    97.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    97.3 @@ -1,21 +0,0 @@
    97.4 -# SliTaz package receipt.
    97.5 -
    97.6 -PACKAGE="libsearpc-dev"
    97.7 -VERSION="3.0.2"
    97.8 -CATEGORY="development"
    97.9 -SHORT_DESC="Devel headers and static lib for libsearpc."
   97.10 -MAINTAINER="pankso@slitaz.org"
   97.11 -LICENSE="GPL3"
   97.12 -WEB_SITE="https://github.com/haiwen/libsearpc/"
   97.13 -
   97.14 -WANTED="libsearpc"
   97.15 -
   97.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
   97.17 -genpkg_rules()
   97.18 -{
   97.19 -	mkdir -p ${fs}/usr/lib
   97.20 -	cp -a ${install}/usr/include ${fs}/usr
   97.21 -	cp -a ${install}/usr/lib/*.*a ${fs}/usr/lib
   97.22 -	cp -a ${install}/usr/lib/pkgconfig ${fs}/usr/lib
   97.23 -}
   97.24 -
    98.1 --- a/libsearpc/receipt	Tue Mar 06 11:29:35 2018 +0200
    98.2 +++ b/libsearpc/receipt	Wed Mar 07 19:43:44 2018 +0200
    98.3 @@ -1,22 +1,21 @@
    98.4 -# SliTaz package receipt.
    98.5 +# SliTaz package receipt v2.
    98.6  
    98.7  PACKAGE="libsearpc"
    98.8  VERSION="3.0.2"
    98.9  CATEGORY="network"
   98.10 -SHORT_DESC="A simple and easy-to-use C language RPC framework."
   98.11 +SHORT_DESC="A simple and easy-to-use C language RPC framework"
   98.12  MAINTAINER="pankso@slitaz.org"
   98.13  LICENSE="GPL3"
   98.14 +WEB_SITE="https://github.com/haiwen/libsearpc/"
   98.15 +
   98.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   98.17 -WEB_SITE="https://github.com/haiwen/libsearpc/"
   98.18  WGET_URL="https://github.com/haiwen/$PACKAGE/archive/v${VERSION}.tar.gz"
   98.19  
   98.20 -DEPENDS="python glib jansson"
   98.21  BUILD_DEPENDS="wget python-dev glib-dev jansson-dev python-simplejson \
   98.22  automake libtool"
   98.23 +SPLIT="libsearpc-dev"
   98.24  
   98.25 -# Rules to configure and make the package.
   98.26 -compile_rules()
   98.27 -{
   98.28 +compile_rules() {
   98.29  	./autogen.sh &&
   98.30  	./configure \
   98.31  		--prefix=/usr \
   98.32 @@ -25,11 +24,20 @@
   98.33  	make -j 1 && make install
   98.34  }
   98.35  
   98.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   98.37 -genpkg_rules()
   98.38 -{
   98.39 -	mkdir -p ${fs}/usr/lib
   98.40 -	cp -a ${install}/usr/bin ${fs}/usr
   98.41 -	cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib
   98.42 -	cp -a ${install}/usr/lib/python* ${fs}/usr/lib
   98.43 +genpkg_rules() {
   98.44 +	case $PACKAGE in
   98.45 +		libsearpc)
   98.46 +			mkdir -p ${fs}/usr/lib
   98.47 +			cp -a ${install}/usr/bin ${fs}/usr
   98.48 +			cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib
   98.49 +			cp -a ${install}/usr/lib/python* ${fs}/usr/lib
   98.50 +			DEPENDS="python glib jansson"
   98.51 +			;;
   98.52 +		*-dev)
   98.53 +			mkdir -p ${fs}/usr/lib
   98.54 +			cp -a ${install}/usr/include ${fs}/usr
   98.55 +			cp -a ${install}/usr/lib/*.*a ${fs}/usr/lib
   98.56 +			cp -a ${install}/usr/lib/pkgconfig ${fs}/usr/lib
   98.57 +			;;
   98.58 +	esac
   98.59  }
    99.1 --- a/libsieve-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
    99.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    99.3 @@ -1,21 +0,0 @@
    99.4 -# SliTaz package receipt.
    99.5 -
    99.6 -PACKAGE="libsieve-dev"
    99.7 -VERSION="2.3.1"
    99.8 -CATEGORY="development"
    99.9 -SHORT_DESC="A library for parsing, sorting and filtering your mail, development files."
   99.10 -MAINTAINER="pascal.bellard@slitaz.org"
   99.11 -LICENSE="LGPL2.1"
   99.12 -WEB_SITE="http://libsieve.sourceforge.net/"
   99.13 -WANTED="libsieve"
   99.14 -
   99.15 -DEPENDS="libsieve pkg-config"
   99.16 -
   99.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   99.18 -genpkg_rules()
   99.19 -{
   99.20 -	mkdir -p $fs/usr/lib
   99.21 -	cp -a $install/usr/include $fs/usr
   99.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
   99.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   99.24 -}
   100.1 --- a/libsieve/receipt	Tue Mar 06 11:29:35 2018 +0200
   100.2 +++ b/libsieve/receipt	Wed Mar 07 19:43:44 2018 +0200
   100.3 @@ -1,28 +1,29 @@
   100.4 -# SliTaz package receipt.
   100.5 +# SliTaz package receipt v2.
   100.6  
   100.7  PACKAGE="libsieve"
   100.8  VERSION="2.3.1"
   100.9  CATEGORY="network"
  100.10 -SHORT_DESC="A library for parsing, sorting and filtering your mail."
  100.11 +SHORT_DESC="A library for parsing, sorting and filtering your mail"
  100.12  MAINTAINER="pascal.bellard@slitaz.org"
  100.13  LICENSE="LGPL2.1"
  100.14 +WEB_SITE="http://libsieve.sourceforge.net/"
  100.15 +
  100.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
  100.17 -WEB_SITE="http://libsieve.sourceforge.net/"
  100.18  WGET_URL="https://github.com/downloads/sodabrew/$PACKAGE/$TARBALL"
  100.19  
  100.20 -BUILD_DEPENDS="wget"
  100.21 +SPLIT="libsieve-dev"
  100.22  
  100.23 -# Rules to configure and make the package.
  100.24 -compile_rules()
  100.25 -{
  100.26 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
  100.27 +compile_rules() {
  100.28 +	./configure \
  100.29 +		--prefix=/usr \
  100.30 +		$CONFIGURE_ARGS &&
  100.31  	make &&
  100.32  	make DESTDIR=$DESTDIR install
  100.33  }
  100.34  
  100.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
  100.36 -genpkg_rules()
  100.37 -{
  100.38 -	mkdir -p $fs/usr/lib
  100.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  100.40 +genpkg_rules() {
  100.41 +	case $PACKAGE in
  100.42 +		libsieve) copy @std;;
  100.43 +		*-dev)    copy @dev;;
  100.44 +	esac
  100.45  }
   101.1 --- a/libv4l-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   101.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   101.3 @@ -1,21 +0,0 @@
   101.4 -# SliTaz package receipt.
   101.5 -
   101.6 -PACKAGE="libv4l-dev"
   101.7 -VERSION="0.8.5"
   101.8 -CATEGORY="development"
   101.9 -SHORT_DESC="libv4l devel library."
  101.10 -MAINTAINER="jozee@slitaz.org"
  101.11 -LICENSE="GPL2"
  101.12 -WANTED="libv4l"
  101.13 -WEB_SITE="http://freshmeat.net/projects/libv4l"
  101.14 -SOURCE=v4l-utils
  101.15 -
  101.16 -DEPENDS="libv4l pkg-config"
  101.17 -
  101.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
  101.19 -genpkg_rules()
  101.20 -{
  101.21 -	mkdir -p $fs/usr/lib 
  101.22 -	cp -a $install/usr/include $fs/usr
  101.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib	
  101.24 -}
   102.1 --- a/libv4l/receipt	Tue Mar 06 11:29:35 2018 +0200
   102.2 +++ b/libv4l/receipt	Wed Mar 07 19:43:44 2018 +0200
   102.3 @@ -1,4 +1,4 @@
   102.4 -# SliTaz package receipt.
   102.5 +# SliTaz package receipt v2.
   102.6  
   102.7  PACKAGE="libv4l"
   102.8  VERSION="0.8.5"
   102.9 @@ -7,31 +7,36 @@
  102.10  LICENSE="GPL2"
  102.11  SHORT_DESC="Userspace library for Video 4 Linux (1 and 2)"
  102.12  WEB_SITE="http://freshmeat.net/projects/libv4l"
  102.13 -SOURCE="v4l-utils"
  102.14 -TARBALL="$SOURCE-$VERSION.tar.bz2"
  102.15 +
  102.16 +TARBALL="v4l-utils-$VERSION.tar.bz2"
  102.17  WGET_URL="http://linuxtv.org/downloads/v4l-utils/$TARBALL"
  102.18 -TAGS="webcam video"
  102.19  
  102.20 -DEPENDS="libjpeg"
  102.21  BUILD_DEPENDS="jpeg-dev"
  102.22 +SPLIT="libv4l"
  102.23  
  102.24 -# Rules to configure and make the package.
  102.25 -compile_rules()
  102.26 -{
  102.27 +compile_rules() {
  102.28  	make &&
  102.29  	make install PREFIX="/usr" DESTDIR="$DESTDIR"
  102.30  }
  102.31  
  102.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
  102.33 -genpkg_rules()
  102.34 -{
  102.35 -	mkdir -p $fs/usr/lib
  102.36 -	cp -a $install/usr/lib/*so* $fs/usr/lib/
  102.37 -	cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
  102.38 +genpkg_rules() {
  102.39 +	case $PACKAGE in
  102.40 +		libv4l)
  102.41 +			mkdir -p $fs/usr/lib
  102.42 +			cp -a $install/usr/lib/*so* $fs/usr/lib/
  102.43 +			cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
  102.44 +			DEPENDS="libjpeg"
  102.45 +			TAGS="webcam video"
  102.46 +			;;
  102.47 +		*-dev)
  102.48 +			mkdir -p $fs/usr/lib
  102.49 +			cp -a $install/usr/include $fs/usr
  102.50 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  102.51 +			;;
  102.52 +	esac
  102.53  }
  102.54  
  102.55 -post_install()
  102.56 -{
  102.57 +post_install_libv4l() {
  102.58  	lib='/usr/lib/libv4l/v4l1compat.so'
  102.59  	if [ -e "$1$lib" ]; then
  102.60  		grep -q "^export LD_PRELOAD=$lib$"   "$1/etc/profile" ||
  102.61 @@ -39,7 +44,6 @@
  102.62  	fi
  102.63  }
  102.64  
  102.65 -post_remove()
  102.66 -{
  102.67 +post_remove_libv4l() {
  102.68  	sed -i '/export LD_PRELOAD=\/usr\/lib\/libv4l\/v4l1compat.so/d' "$1/etc/profile"
  102.69  }
   103.1 --- a/libxdg-basedir-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   103.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   103.3 @@ -1,21 +0,0 @@
   103.4 -# SliTaz package receipt.
   103.5 -
   103.6 -PACKAGE="libxdg-basedir-dev"
   103.7 -VERSION="1.2.0"
   103.8 -CATEGORY="development"
   103.9 -SHORT_DESC="libxdg-basedir development files"
  103.10 -MAINTAINER="mallory@sweetpeople.org"
  103.11 -LICENSE="MIT"
  103.12 -WEB_SITE="https://github.com/devnev/libxdg-basedir"
  103.13 -
  103.14 -WANTED="libxdg-basedir"
  103.15 -
  103.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
  103.17 -genpkg_rules()
  103.18 -{
  103.19 -    mkdir -p $fs/usr/lib
  103.20 -	cp -a $install/usr/include $fs/usr
  103.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
  103.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  103.23 -}
  103.24 -
   104.1 --- a/libxdg-basedir/receipt	Tue Mar 06 11:29:35 2018 +0200
   104.2 +++ b/libxdg-basedir/receipt	Wed Mar 07 19:43:44 2018 +0200
   104.3 @@ -1,20 +1,20 @@
   104.4 -# SliTaz package receipt.
   104.5 +# SliTaz package receipt v2.
   104.6  
   104.7  PACKAGE="libxdg-basedir"
   104.8  VERSION="1.2.0"
   104.9  CATEGORY="development"
  104.10 -SHORT_DESC="Implements functions for the XDG Base Directory specification."
  104.11 +SHORT_DESC="Implements functions for the XDG Base Directory specification"
  104.12  MAINTAINER="mallory@sweetpeople.org"
  104.13  LICENSE="MIT"
  104.14 +WEB_SITE="https://github.com/devnev/libxdg-basedir"
  104.15 +
  104.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
  104.17 -WEB_SITE="https://github.com/devnev/libxdg-basedir"
  104.18  WGET_URL="https://github.com/devnev/$PACKAGE/archive/$TARBALL"
  104.19  
  104.20 -BUILD_DEPENDS="wget autoconf automake libtool"
  104.21 +BUILD_DEPENDS="autoconf automake libtool"
  104.22 +SPLIT="libxdg-basedir-dev"
  104.23  
  104.24 -# Rules to configure and make the package.
  104.25 -compile_rules()
  104.26 -{
  104.27 +compile_rules() {
  104.28  	unset CFLAGS
  104.29  	./autogen.sh \
  104.30  		--prefix=/usr \
  104.31 @@ -22,10 +22,10 @@
  104.32  	make && make install
  104.33  }
  104.34  
  104.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
  104.36 -genpkg_rules()
  104.37 -{
  104.38 -	mkdir -p $fs/usr/lib
  104.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  104.40 +genpkg_rules() {
  104.41 +	case $PACKAGE in
  104.42 +		libxdg-basedir) copy @std;;
  104.43 +		*-dev)          copy @dev;;
  104.44 +	esac
  104.45  }
  104.46  
   105.1 --- a/libxfcegui4-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   105.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   105.3 @@ -1,24 +0,0 @@
   105.4 -# SliTaz package receipt.
   105.5 -
   105.6 -PACKAGE="libxfcegui4-dev"
   105.7 -VERSION="4.10.0"
   105.8 -CATEGORY="development"
   105.9 -SHORT_DESC="Xfce Gtk Widget library dev files"
  105.10 -MAINTAINER="erjo@slitaz.org"
  105.11 -LICENSE="GPL2"
  105.12 -WANTED="libxfcegui4"
  105.13 -WEB_SITE="http://www.xfce.org"
  105.14 -
  105.15 -DEPENDS="gtk+ libxfcegui4 libxfce4util-dev pkg-config"
  105.16 -
  105.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  105.18 -genpkg_rules()
  105.19 -{
  105.20 -	mkdir -p $fs/usr/lib \
  105.21 -		$fs/usr
  105.22 -		
  105.23 -	cp -a $install/usr/include $fs/usr
  105.24 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
  105.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  105.26 -}
  105.27 -
   106.1 --- a/libxfcegui4/receipt	Tue Mar 06 11:29:35 2018 +0200
   106.2 +++ b/libxfcegui4/receipt	Wed Mar 07 19:43:44 2018 +0200
   106.3 @@ -1,4 +1,4 @@
   106.4 -# SliTaz package receipt.
   106.5 +# SliTaz package receipt v2.
   106.6  
   106.7  PACKAGE="libxfcegui4"
   106.8  VERSION="4.10.0"
   106.9 @@ -6,21 +6,20 @@
  106.10  SHORT_DESC="Xfce Gtk Widget library"
  106.11  MAINTAINER="erjo@slitaz.org"
  106.12  LICENSE="GPL2"
  106.13 +WEB_SITE="http://www.xfce.org"
  106.14 +
  106.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
  106.16 -WEB_SITE="http://www.xfce.org"
  106.17  WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
  106.18  
  106.19 -DEPENDS="gtk+ libxfce4util xfconf startup-notification dbus-glib libglade"
  106.20 -BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev 
  106.21 - libglade-dev xorg-xcb-util-dev intltool util-linux-uuid-dev"
  106.22 +BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev \
  106.23 +libglade-dev xorg-xcb-util-dev intltool util-linux-uuid-dev"
  106.24 +SPLIT="libxfcegui4-dev"
  106.25  
  106.26 -# Rules to configure and make the package.
  106.27 -compile_rules()
  106.28 -{
  106.29 -	cd $src
  106.30 +compile_rules() {
  106.31  	# xfce_setenv is removed in libxfce4util 4.11.0
  106.32  	sed -i 's/xfce_setenv/g_setenv/' libxfcegui4/xfce-exec.c
  106.33 -	./configure --prefix=/usr \
  106.34 +	./configure \
  106.35 +		--prefix=/usr \
  106.36  		--infodir=/usr/share/info \
  106.37  		--mandir=/usr/share/man \
  106.38  		--disable-static \
  106.39 @@ -30,20 +29,28 @@
  106.40  	make DESTDIR=$DESTDIR install
  106.41  }
  106.42  
  106.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
  106.44 -genpkg_rules()
  106.45 -{
  106.46 -	 
  106.47 -	mkdir -p $fs/usr/lib \
  106.48 -		$fs/usr/share/locale
  106.49 -		
  106.50 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  106.51 -	cp -a $install/usr/lib/libglade $fs/usr/lib
  106.52 -	cp -a $install/usr/share/locale/fr $fs/usr/share/locale
  106.53 -	cp -a $install/usr/share/icons $fs/usr/share
  106.54 -	
  106.55 -	# Remove SVG icons
  106.56 -	rm -rf $fs/usr/share/icons/hicolor/scalable
  106.57 -	
  106.58 +genpkg_rules() {
  106.59 +	case $PACKAGE in
  106.60 +		libxfcegui4)
  106.61 +			mkdir -p $fs/usr/lib \
  106.62 +				$fs/usr/share/locale
  106.63 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
  106.64 +			cp -a $install/usr/lib/libglade $fs/usr/lib
  106.65 +			cp -a $install/usr/share/locale/fr $fs/usr/share/locale
  106.66 +			cp -a $install/usr/share/icons $fs/usr/share
  106.67 +			# Remove SVG icons
  106.68 +			rm -rf $fs/usr/share/icons/hicolor/scalable
  106.69 +			DEPENDS="gtk+ libxfce4util xfconf startup-notification dbus-glib \
  106.70 +			libglade"
  106.71 +			;;
  106.72 +		*-dev)
  106.73 +			mkdir -p $fs/usr/lib \
  106.74 +				$fs/usr
  106.75 +			cp -a $install/usr/include $fs/usr
  106.76 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
  106.77 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  106.78 +			DEPENDS="gtk+ libxfcegui4 libxfce4util-dev pkg-config"
  106.79 +			;;
  106.80 +	esac
  106.81  }
  106.82  
   107.1 --- a/lightdm-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   107.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   107.3 @@ -1,26 +0,0 @@
   107.4 -# SliTaz package receipt.
   107.5 -
   107.6 -PACKAGE="lightdm-dev"
   107.7 -VERSION="1.5.3"
   107.8 -CATEGORY="development"
   107.9 -SHORT_DESC="Development files for lightdm"
  107.10 -MAINTAINER="al.bobylev@gmail.com"
  107.11 -LICENSE="GPL3 LGPL3"
  107.12 -WEB_SITE="https://launchpad.net/lightdm"
  107.13 -
  107.14 -WANTED="lightdm"
  107.15 -DEPENDS="lightdm glib-dev libxklavier-dev xorg-libX11-dev pkg-config"
  107.16 -
  107.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  107.18 -genpkg_rules()
  107.19 -{
  107.20 -	mkdir -p \
  107.21 -		$fs/usr/lib \
  107.22 -		$fs/usr/share
  107.23 -	cp -a $install/usr/include $fs/usr
  107.24 -	cp -a $install/usr/lib/girepository* $fs/usr/lib
  107.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  107.26 -	cp -a $install/usr/lib/*.la $fs/usr/lib
  107.27 -	cp -a $install/usr/share/gir* $fs/usr/share
  107.28 -	cp -a $install/usr/share/vala $fs/usr/share
  107.29 -}
   108.1 --- a/lightdm-gtk2-greeter/receipt	Tue Mar 06 11:29:35 2018 +0200
   108.2 +++ b/lightdm-gtk2-greeter/receipt	Wed Mar 07 19:43:44 2018 +0200
   108.3 @@ -1,4 +1,4 @@
   108.4 -# SliTaz package receipt.
   108.5 +# SliTaz package receipt v2.
   108.6  
   108.7  PACKAGE="lightdm-gtk2-greeter"
   108.8  VERSION="1.5.1"
   108.9 @@ -7,53 +7,85 @@
  108.10  MAINTAINER="al.bobylev@gmail.com"
  108.11  LICENSE="GPL3"
  108.12  WEB_SITE="https://launchpad.net/lightdm-gtk-greeter"
  108.13 -SOURCE="lightdm-gtk-greeter"
  108.14 -TARBALL="$SOURCE-$VERSION.tar.gz"
  108.15 -WGET_URL="https://launchpad.net/$SOURCE/1.6/$VERSION/+download/$TARBALL"
  108.16  
  108.17 -DEPENDS="gtk+ lightdm"
  108.18 -BUILD_DEPENDS="gobject-introspection-dev gtk+-dev lightdm-dev libxklavier-dev \
  108.19 -wget intltool"
  108.20 +TARBALL="lightdm-gtk-greeter-$VERSION.tar.gz"
  108.21 +WGET_URL="https://launchpad.net/lightdm-gtk-greeter/1.6/$VERSION/+download/$TARBALL"
  108.22  
  108.23 -# Rules to configure and make the package.
  108.24 -compile_rules()
  108.25 -{
  108.26 +BUILD_DEPENDS="gobject-introspection-dev gtk+-dev gtk+3-dev lightdm-dev \
  108.27 +libxklavier-dev intltool"
  108.28 +SPLIT="lightdm-gtk3-greeter:gtk3"
  108.29 +
  108.30 +compile_rules() {
  108.31 +	case $SET in
  108.32 +		'')   SET_ARGS='--with-gtk2';;
  108.33 +		gtk3) SET_ARGS='';;
  108.34 +	esac
  108.35 +
  108.36  	./configure \
  108.37  		--sysconfdir=/etc \
  108.38  		--disable-static \
  108.39  		--enable-introspection \
  108.40 -		--with-gtk2 \
  108.41 +		$SET_ARGS \
  108.42  		$CONFIGURE_ARGS &&
  108.43  	make &&
  108.44  	make install
  108.45  }
  108.46  
  108.47 -# Rules to gen a SliTaz package suitable for Tazpkg.
  108.48 -genpkg_rules()
  108.49 -{
  108.50 -	mkdir -p $fs/usr/share/locale
  108.51 -	cp -a $install/etc $fs
  108.52 -	cp -a $install/usr/sbin $fs/usr
  108.53 -	cp -a $install/usr/share/xgreeters $fs/usr/share
  108.54 +genpkg_rules() {
  108.55 +	case $PACKAGE in
  108.56 +		lightdm-gtk2-greeter)
  108.57 +			mkdir -p $fs/usr/share/locale
  108.58 +			cp -a $install/etc $fs
  108.59 +			cp -a $install/usr/sbin $fs/usr
  108.60 +			cp -a $install/usr/share/xgreeters $fs/usr/share
  108.61  
  108.62 -	# localization
  108.63 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
  108.64 -	for lang in $LOCALE_PACK; do
  108.65 -		langf=$install/usr/share/locale/$lang
  108.66 -		[ -d $langf ] && cp -a $langf $fs/usr/share/locale
  108.67 -	done
  108.68 +			# localization
  108.69 +			. $WOK/slitaz-i18n/stuff/locale-pack.conf
  108.70 +			for lang in $LOCALE_PACK; do
  108.71 +				langf=$install/usr/share/locale/$lang
  108.72 +				[ -d $langf ] && cp -a $langf $fs/usr/share/locale
  108.73 +			done
  108.74 +			CAT="x-window|GTK+2"
  108.75 +			DEPENDS="gtk+ lightdm"
  108.76 +			;;
  108.77 +		lightdm-gtk3-greeter)
  108.78 +			mkdir -p $fs/usr/share/locale
  108.79 +			cp -a $install/etc $fs
  108.80 +			cp -a $install/usr/sbin $fs/usr
  108.81 +			cp -a $install/usr/share/xgreeters $fs/usr/share
  108.82 +
  108.83 +			# localization
  108.84 +			. $WOK/slitaz-i18n/stuff/locale-pack.conf
  108.85 +			for lang in $LOCALE_PACK; do
  108.86 +				langf=$install/usr/share/locale/$lang
  108.87 +				[ -d $langf ] && cp -a $langf $fs/usr/share/locale
  108.88 +			done
  108.89 +			CAT="x-window|GTK+3"
  108.90 +			DEPENDS="gtk+3 lightdm"
  108.91 +			;;
  108.92 +	esac
  108.93  }
  108.94  
  108.95 -post_install()
  108.96 -{
  108.97 +post_install_lightdm_gtk2_greeter() {
  108.98  	echo 'make lightdm-gtk2-greeter default greeter'
  108.99  	sed -i 's|^# \(greeter-session =\)|\1 lightdm-gtk2-greeter #|' \
 108.100  		"$1/etc/lightdm/lightdm.conf"
 108.101  }
 108.102  
 108.103 -post_remove()
 108.104 -{
 108.105 +post_remove_lightdm_gtk2_greeter() {
 108.106  	echo 'back to default greeter'
 108.107  	sed -i 's|^\(greeter-session =\).*#\(.*\)|#\1\2|' \
 108.108  		"$1/etc/lightdm/lightdm.conf"
 108.109  }
 108.110 +
 108.111 +post_install_lightdm_gtk3_greeter() {
 108.112 +	echo 'make lightdm-gtk3-greeter default greeter'
 108.113 +	sed -i 's|^# \(greeter-session =\)|\1 lightdm-gtk3-greeter #|' \
 108.114 +		"$1/etc/lightdm/lightdm.conf"
 108.115 +}
 108.116 +
 108.117 +post_remove_lightdm_gtk3_greeter() {
 108.118 +	echo 'back to default greeter'
 108.119 +	sed -i 's|^\(greeter-session =\).*#\(.*\)|#\1\2|' \
 108.120 +		"$1/etc/lightdm/lightdm.conf"
 108.121 +}
   109.1 --- a/lightdm-gtk3-greeter/receipt	Tue Mar 06 11:29:35 2018 +0200
   109.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   109.3 @@ -1,58 +0,0 @@
   109.4 -# SliTaz package receipt.
   109.5 -
   109.6 -PACKAGE="lightdm-gtk3-greeter"
   109.7 -VERSION="1.5.1"
   109.8 -CATEGORY="x-window"
   109.9 -SHORT_DESC="Reference GTK+3 greeter for LightDM"
  109.10 -MAINTAINER="al.bobylev@gmail.com"
  109.11 -LICENSE="GPL3"
  109.12 -WEB_SITE="https://launchpad.net/lightdm-gtk-greeter"
  109.13 -SOURCE="lightdm-gtk-greeter"
  109.14 -TARBALL="$SOURCE-$VERSION.tar.gz"
  109.15 -WGET_URL="https://launchpad.net/$SOURCE/1.6/$VERSION/+download/$TARBALL"
  109.16 -
  109.17 -DEPENDS="gtk+3 lightdm"
  109.18 -BUILD_DEPENDS="gobject-introspection-dev gtk+3-dev lightdm-dev libxklavier-dev \
  109.19 -wget intltool"
  109.20 -
  109.21 -# Rules to configure and make the package.
  109.22 -compile_rules()
  109.23 -{
  109.24 -	./configure \
  109.25 -		--sysconfdir=/etc \
  109.26 -		--disable-static \
  109.27 -		--enable-introspection \
  109.28 -		$CONFIGURE_ARGS &&
  109.29 -	make &&
  109.30 -	make install
  109.31 -}
  109.32 -
  109.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
  109.34 -genpkg_rules()
  109.35 -{
  109.36 -	mkdir -p $fs/usr/share/locale
  109.37 -	cp -a $install/etc $fs
  109.38 -	cp -a $install/usr/sbin $fs/usr
  109.39 -	cp -a $install/usr/share/xgreeters $fs/usr/share
  109.40 -
  109.41 -	# localization
  109.42 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
  109.43 -	for lang in $LOCALE_PACK; do
  109.44 -		langf=$install/usr/share/locale/$lang
  109.45 -		[ -d $langf ] && cp -a $langf $fs/usr/share/locale
  109.46 -	done
  109.47 -}
  109.48 -
  109.49 -post_install()
  109.50 -{
  109.51 -	echo 'make lightdm-gtk3-greeter default greeter'
  109.52 -	sed -i 's|^# \(greeter-session =\)|\1 lightdm-gtk3-greeter #|' \
  109.53 -		"$1/etc/lightdm/lightdm.conf"
  109.54 -}
  109.55 -
  109.56 -post_remove()
  109.57 -{
  109.58 -	echo 'back to default greeter'
  109.59 -	sed -i 's|^\(greeter-session =\).*#\(.*\)|#\1\2|' \
  109.60 -		"$1/etc/lightdm/lightdm.conf"
  109.61 -}
   110.1 --- a/lightdm-qt-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   110.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   110.3 @@ -1,26 +0,0 @@
   110.4 -# SliTaz package receipt.
   110.5 -
   110.6 -PACKAGE="lightdm-qt-dev"
   110.7 -VERSION="1.5.3"
   110.8 -CATEGORY="development"
   110.9 -SHORT_DESC="Development files for lightdm-qt"
  110.10 -MAINTAINER="al.bobylev@gmail.com"
  110.11 -LICENSE="GPL3 LGPL3"
  110.12 -WEB_SITE="https://launchpad.net/lightdm"
  110.13 -
  110.14 -WANTED="lightdm-qt"
  110.15 -DEPENDS="Qt4-dev lightdm-dev lightdm-qt xorg-libXi-dev xorg-libxkbfile-dev pkg-config"
  110.16 -
  110.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  110.18 -genpkg_rules()
  110.19 -{
  110.20 -	mkdir -p \
  110.21 -		$fs/usr/lib \
  110.22 -		$fs/usr/share
  110.23 -	cp -a $install/usr/include $fs/usr
  110.24 -	cp -a $install/usr/lib/girepository* $fs/usr/lib
  110.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  110.26 -	cp -a $install/usr/lib/*.la $fs/usr/lib
  110.27 -	cp -a $install/usr/share/gir* $fs/usr/share
  110.28 -	cp -a $install/usr/share/vala $fs/usr/share
  110.29 -}
   111.1 --- a/lightdm-qt/receipt	Tue Mar 06 11:29:35 2018 +0200
   111.2 +++ b/lightdm-qt/receipt	Wed Mar 07 19:43:44 2018 +0200
   111.3 @@ -1,4 +1,4 @@
   111.4 -# SliTaz package receipt.
   111.5 +# SliTaz package receipt v2.
   111.6  
   111.7  PACKAGE="lightdm-qt"
   111.8  VERSION="1.5.3"
   111.9 @@ -7,21 +7,17 @@
  111.10  MAINTAINER="al.bobylev@gmail.com"
  111.11  LICENSE="GPL3 LGPL3"
  111.12  WEB_SITE="https://launchpad.net/lightdm"
  111.13 -SOURCE="lightdm"
  111.14 -TARBALL="$SOURCE-$VERSION.tar.xz"
  111.15 -WGET_URL="https://launchpad.net/$SOURCE/1.8/$VERSION/+download/$TARBALL"
  111.16  HELP="https://wiki.archlinux.org/index.php/LightDM"
  111.17 -CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \
  111.18 -/etc/lightdm/lightdm.conf /etc/lightdm/users.conf"
  111.19  
  111.20 -DEPENDS="libQtDBus libQtGui libgcrypt glib libxklavier pam"
  111.21 -BUILD_DEPENDS="Qt4-dev gobject-introspection-dev pam-dev itstool libxklavier-dev \
  111.22 -libgcrypt-dev wget xorg-libXdmcp-dev xorg-libX11-dev xorg-libXi-dev \
  111.23 -xorg-libxkbfile-dev gettext intltool"
  111.24 +TARBALL="lightdm-$VERSION.tar.xz"
  111.25 +WGET_URL="https://launchpad.net/lightdm/1.8/$VERSION/+download/$TARBALL"
  111.26  
  111.27 -# Rules to configure and make the package.
  111.28 -compile_rules()
  111.29 -{
  111.30 +BUILD_DEPENDS="Qt4-dev gobject-introspection-dev pam-dev itstool \
  111.31 +libxklavier-dev libgcrypt-dev wget xorg-libXdmcp-dev xorg-libX11-dev \
  111.32 +xorg-libXi-dev xorg-libxkbfile-dev gettext intltool"
  111.33 +SPLIT="lightdm-qt-dev"
  111.34 +
  111.35 +compile_rules() {
  111.36  	./configure \
  111.37  		--libexecdir=/usr/lib \
  111.38  		--sysconfdir=/etc \
  111.39 @@ -35,22 +31,40 @@
  111.40  	make install
  111.41  }
  111.42  
  111.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
  111.44 -genpkg_rules()
  111.45 -{
  111.46 -	mkdir -p \
  111.47 -		$fs/usr/lib \
  111.48 -		$fs/usr/share/locale
  111.49 -	cp -a $install/etc $fs
  111.50 -	cp -a $install/usr/bin $fs/usr
  111.51 -	cp -a $install/usr/lib/lightdm $fs/usr/lib
  111.52 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  111.53 -	cp -a $install/usr/sbin $fs/usr
  111.54 +genpkg_rules() {
  111.55 +	case $PACKAGE in
  111.56 +		lightdm-qt)
  111.57 +			mkdir -p \
  111.58 +				$fs/usr/lib \
  111.59 +				$fs/usr/share/locale
  111.60 +			cp -a $install/etc $fs
  111.61 +			cp -a $install/usr/bin $fs/usr
  111.62 +			cp -a $install/usr/lib/lightdm $fs/usr/lib
  111.63 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
  111.64 +			cp -a $install/usr/sbin $fs/usr
  111.65  
  111.66 -	# localization
  111.67 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
  111.68 -	for lang in $LOCALE_PACK; do
  111.69 -		langf=$install/usr/share/locale/$lang
  111.70 -		[ -d $langf ] && cp -a $langf $fs/usr/share/locale
  111.71 -	done
  111.72 +			# localization
  111.73 +			. $WOK/slitaz-i18n/stuff/locale-pack.conf
  111.74 +			for lang in $LOCALE_PACK; do
  111.75 +				langf=$install/usr/share/locale/$lang
  111.76 +				[ -d $langf ] && cp -a $langf $fs/usr/share/locale
  111.77 +			done
  111.78 +			CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \
  111.79 +			/etc/lightdm/lightdm.conf /etc/lightdm/users.conf"
  111.80 +			DEPENDS="libQtDBus libQtGui libgcrypt glib libxklavier pam"
  111.81 +			;;
  111.82 +		*-dev)
  111.83 +			mkdir -p \
  111.84 +				$fs/usr/lib \
  111.85 +				$fs/usr/share
  111.86 +			cp -a $install/usr/include $fs/usr
  111.87 +			cp -a $install/usr/lib/girepository* $fs/usr/lib
  111.88 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  111.89 +			cp -a $install/usr/lib/*.la $fs/usr/lib
  111.90 +			cp -a $install/usr/share/gir* $fs/usr/share
  111.91 +			cp -a $install/usr/share/vala $fs/usr/share
  111.92 +			DEPENDS="Qt4-dev lightdm-dev lightdm-qt xorg-libXi-dev \
  111.93 +			xorg-libxkbfile-dev pkg-config"
  111.94 +			;;
  111.95 +	esac
  111.96  }
   112.1 --- a/lightdm/receipt	Tue Mar 06 11:29:35 2018 +0200
   112.2 +++ b/lightdm/receipt	Wed Mar 07 19:43:44 2018 +0200
   112.3 @@ -1,4 +1,4 @@
   112.4 -# SliTaz package receipt.
   112.5 +# SliTaz package receipt v2.
   112.6  
   112.7  PACKAGE="lightdm"
   112.8  VERSION="1.5.3"
   112.9 @@ -7,19 +7,17 @@
  112.10  MAINTAINER="al.bobylev@gmail.com"
  112.11  LICENSE="GPL3 LGPL3"
  112.12  WEB_SITE="https://launchpad.net/lightdm"
  112.13 +
  112.14  TARBALL="$PACKAGE-$VERSION.tar.xz"
  112.15  WGET_URL="https://launchpad.net/$PACKAGE/1.6/$VERSION/+download/$TARBALL"
  112.16 +
  112.17  HELP="https://wiki.archlinux.org/index.php/LightDM"
  112.18 -CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \
  112.19 -/etc/lightdm/lightdm.conf /etc/lightdm/users.conf"
  112.20  
  112.21 -DEPENDS="libgcrypt glib libxklavier pam xorg-libX11"
  112.22  BUILD_DEPENDS="gobject-introspection-dev pam-dev itstool libxklavier-dev \
  112.23 -libgcrypt-dev wget intltool"
  112.24 +libgcrypt-dev intltool"
  112.25 +SPLIT="lightdm-dev"
  112.26  
  112.27 -# Rules to configure and make the package.
  112.28 -compile_rules()
  112.29 -{
  112.30 +compile_rules() {
  112.31  	./configure \
  112.32  		--libexecdir=/usr/lib \
  112.33  		--sysconfdir=/etc \
  112.34 @@ -33,22 +31,39 @@
  112.35  	make install
  112.36  }
  112.37  
  112.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
  112.39 -genpkg_rules()
  112.40 -{
  112.41 -	mkdir -p \
  112.42 -		$fs/usr/lib \
  112.43 -		$fs/usr/share/locale
  112.44 -	cp -a $install/etc $fs
  112.45 -	cp -a $install/usr/bin $fs/usr
  112.46 -	cp -a $install/usr/lib/lightdm $fs/usr/lib
  112.47 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  112.48 -	cp -a $install/usr/sbin $fs/usr
  112.49 +genpkg_rules() {
  112.50 +	case $PACKAGE in
  112.51 +		lightdm)
  112.52 +			mkdir -p \
  112.53 +				$fs/usr/lib \
  112.54 +				$fs/usr/share/locale
  112.55 +			cp -a $install/etc $fs
  112.56 +			cp -a $install/usr/bin $fs/usr
  112.57 +			cp -a $install/usr/lib/lightdm $fs/usr/lib
  112.58 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
  112.59 +			cp -a $install/usr/sbin $fs/usr
  112.60  
  112.61 -	# localization
  112.62 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
  112.63 -	for lang in $LOCALE_PACK; do
  112.64 -		langf=$install/usr/share/locale/$lang
  112.65 -		[ -d $langf ] && cp -a $langf $fs/usr/share/locale
  112.66 -	done
  112.67 +			# localization
  112.68 +			. $WOK/slitaz-i18n/stuff/locale-pack.conf
  112.69 +			for lang in $LOCALE_PACK; do
  112.70 +				langf=$install/usr/share/locale/$lang
  112.71 +				[ -d $langf ] && cp -a $langf $fs/usr/share/locale
  112.72 +			done
  112.73 +			DEPENDS="libgcrypt glib libxklavier pam xorg-libX11"
  112.74 +			CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \
  112.75 +			/etc/lightdm/lightdm.conf /etc/lightdm/users.conf"
  112.76 +			;;
  112.77 +		*-dev)
  112.78 +			mkdir -p \
  112.79 +				$fs/usr/lib \
  112.80 +				$fs/usr/share
  112.81 +			cp -a $install/usr/include $fs/usr
  112.82 +			cp -a $install/usr/lib/girepository* $fs/usr/lib
  112.83 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  112.84 +			cp -a $install/usr/lib/*.la $fs/usr/lib
  112.85 +			cp -a $install/usr/share/gir* $fs/usr/share
  112.86 +			cp -a $install/usr/share/vala $fs/usr/share
  112.87 +			DEPENDS="lightdm glib-dev libxklavier-dev xorg-libX11-dev"
  112.88 +			;;
  112.89 +	esac
  112.90  }
   113.1 --- a/lorcon-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   113.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   113.3 @@ -1,21 +0,0 @@
   113.4 -# SliTaz package receipt.
   113.5 -
   113.6 -PACKAGE="lorcon-dev"
   113.7 -VERSION="163"
   113.8 -CATEGORY="development"
   113.9 -SHORT_DESC="devel files for lorcon"
  113.10 -MAINTAINER="slaxemulator@gmail.com"
  113.11 -LICENSE="GPL2"
  113.12 -WEB_SITE="http://802.11ninja.net/lorcon/"
  113.13 -WANTED="lorcon"
  113.14 -
  113.15 -DEPENDS="lorcon"
  113.16 -
  113.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  113.18 -genpkg_rules()
  113.19 -{
  113.20 -	mkdir -p $fs/usr/lib
  113.21 -	cp -a $install/usr/include $fs/usr
  113.22 -	cp -a $install/usr/lib/*.a $fs/usr/lib
  113.23 -}
  113.24 -
   114.1 --- a/lorcon/receipt	Tue Mar 06 11:29:35 2018 +0200
   114.2 +++ b/lorcon/receipt	Wed Mar 07 19:43:44 2018 +0200
   114.3 @@ -1,22 +1,23 @@
   114.4 -# SliTaz package receipt.
   114.5 +# SliTaz package receipt v2.
   114.6  
   114.7  PACKAGE="lorcon"
   114.8  VERSION="163"
   114.9  CATEGORY="network"
  114.10 -SHORT_DESC="A generic library for injecting 802.11 frames, capable of injection via multiple driver frameworks, without forcing modification of the application code."
  114.11 +SHORT_DESC="A generic library for injecting 802.11 frames, capable of \
  114.12 +injection via multiple driver frameworks, without forcing modification of the \
  114.13 +application code"
  114.14  MAINTAINER="slaxemulator@gmail.com"
  114.15  LICENSE="GPL2"
  114.16  WEB_SITE="http://802.11ninja.net/lorcon/"
  114.17 +
  114.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
  114.19 +BRANCH="$VERSION"
  114.20  WGET_URL="subversion|http://802.11ninja.net/svn/lorcon/trunk"
  114.21 -BRANCH="$VERSION"
  114.22  
  114.23  BUILD_DEPENDS="subversion"
  114.24 +SPLIT="lorcon-dev"
  114.25  
  114.26 -# Rules to configure and make the package.
  114.27 -compile_rules()
  114.28 -{
  114.29 -	cd $src
  114.30 +compile_rules() {
  114.31  	touch -d 197001010000 .depend
  114.32  	./configure \
  114.33  		--prefix=/usr \
  114.34 @@ -26,10 +27,10 @@
  114.35  	make && make DESTDIR=$DESTDIR install
  114.36  }
  114.37  
  114.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
  114.39 -genpkg_rules()
  114.40 -{
  114.41 -	mkdir -p $fs/usr/lib
  114.42 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  114.43 +genpkg_rules() {
  114.44 +	case $PACKAGE in
  114.45 +		lorcon) copy @std;;
  114.46 +		*-dev)  copy @dev;;
  114.47 +	esac
  114.48  }
  114.49  
   115.1 --- a/lua5.1-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   115.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   115.3 @@ -1,22 +0,0 @@
   115.4 -# SliTaz package receipt.
   115.5 -
   115.6 -PACKAGE="lua5.1-dev"
   115.7 -VERSION="5.1.4"
   115.8 -CATEGORY="development"
   115.9 -SHORT_DESC="Lua devel files."
  115.10 -WANTED="lua5.1"
  115.11 -MAINTAINER="pankso@slitaz.org"
  115.12 -LICENSE="MIT"
  115.13 -WEB_SITE="http://www.lua.org/"
  115.14 -
  115.15 -DEPENDS="pkg-config"
  115.16 -
  115.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  115.18 -genpkg_rules()
  115.19 -{
  115.20 -	mkdir -p $fs/usr/lib/pkgconfig $fs/usr/lib/lua/5.1
  115.21 -	cp -a $install/usr/include $fs/usr
  115.22 -	cp -a $install/usr/lib/lua/5.1/liblua.a $fs/usr/lib/lua/5.1
  115.23 -	ln -s liblua.a $fs/usr/lib/lua/5.1/liblua5.1.a
  115.24 -	cp -a $src/etc/lua.pc $fs/usr/lib/pkgconfig/lua5.1.pc
  115.25 -}
   116.1 --- a/lua5.1/receipt	Tue Mar 06 11:29:35 2018 +0200
   116.2 +++ b/lua5.1/receipt	Wed Mar 07 19:43:44 2018 +0200
   116.3 @@ -1,40 +1,47 @@
   116.4 -# SliTaz package receipt.
   116.5 +# SliTaz package receipt v2.
   116.6  
   116.7  PACKAGE="lua5.1"
   116.8  VERSION="5.1.4"
   116.9 -SOURCE="lua"
  116.10  CATEGORY="development"
  116.11 -SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language."
  116.12 +SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language"
  116.13  MAINTAINER="pankso@slitaz.org"
  116.14  LICENSE="MIT"
  116.15 -TARBALL="$SOURCE-$VERSION.tar.gz"
  116.16  WEB_SITE="http://www.lua.org/"
  116.17 +
  116.18 +TARBALL="lua-$VERSION.tar.gz"
  116.19  WGET_URL="http://www.lua.org/ftp/$TARBALL"
  116.20  
  116.21 -DEPENDS="readline ncurses"
  116.22  BUILD_DEPENDS="readline-dev"
  116.23 +SPLIT="lua5.1-dev"
  116.24  
  116.25 -# Rules to configure and make the package.
  116.26 -compile_rules()
  116.27 -{
  116.28 -	cd $src
  116.29 -	patch -p0 < $stuff/lua5.1-paths.patch || exit 1
  116.30 -	sed -i "s#prefix= /usr/local#prefix= /usr#" etc/lua.pc
  116.31 +compile_rules() {
  116.32 +	sed -i "s#prefix= /usr/local#prefix= /usr#"     etc/lua.pc
  116.33  	sed -i "s#${prefix}/lib#${prefix}/lib/lua/5.1#" etc/lua.pc
  116.34 -	sed -i "s#/include#/include/lua/5.1#g" etc/lua.pc
  116.35 -	sed -i "s#/usr/local/#/usr/#" src/luaconf.h
  116.36 -	sed -i "s#share/lua/5.1/#lib/lua/5.1/#" src/luaconf.h
  116.37 -	sed -i s"/-O2/-Os -march=$ARCH/" src/Makefile
  116.38 +	sed -i "s#/include#/include/lua/5.1#g"          etc/lua.pc
  116.39 +	sed -i "s#/usr/local/#/usr/#"                   src/luaconf.h
  116.40 +	sed -i "s#share/lua/5.1/#lib/lua/5.1/#"         src/luaconf.h
  116.41 +	sed -i s"/-O2/-Os -march=$ARCH/"                src/Makefile
  116.42 +
  116.43  	make linux &&
  116.44  	make install \
  116.45  		INSTALL_TOP=$DESTDIR/usr \
  116.46  		INSTALL_MAN=$DESTDIR/usr/share/man/man1
  116.47  }
  116.48  
  116.49 -# Rules to gen a SliTaz package suitable for Tazpkg.
  116.50 -genpkg_rules()
  116.51 -{
  116.52 -	mkdir -p $fs/usr/bin $fs/usr/lib/lua/5.1
  116.53 -	cp -a $install/usr/bin/lua $fs/usr/bin/lua5.1
  116.54 -	cp -a $install/usr/bin/luac $fs/usr/bin/luac5.1
  116.55 +genpkg_rules() {
  116.56 +	case $PACKAGE in
  116.57 +		lua5.1)
  116.58 +			mkdir -p $fs/usr/bin $fs/usr/lib/lua/5.1
  116.59 +			cp -a $install/usr/bin/lua  $fs/usr/bin/lua5.1
  116.60 +			cp -a $install/usr/bin/luac $fs/usr/bin/luac5.1
  116.61 +			DEPENDS="readline ncurses"
  116.62 +			;;
  116.63 +		*-dev)
  116.64 +			mkdir -p $fs/usr/lib/pkgconfig $fs/usr/lib/lua/5.1
  116.65 +			cp -a $install/usr/include $fs/usr
  116.66 +			cp -a $install/usr/lib/lua/5.1/liblua.a $fs/usr/lib/lua/5.1
  116.67 +			ln -s liblua.a $fs/usr/lib/lua/5.1/liblua5.1.a
  116.68 +			cp -a $src/etc/lua.pc $fs/usr/lib/pkgconfig/lua5.1.pc
  116.69 +			;;
  116.70 +	esac
  116.71  }
   117.1 --- a/lua5.1/stuff/lua5.1-paths.patch	Tue Mar 06 11:29:35 2018 +0200
   117.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   117.3 @@ -1,22 +0,0 @@
   117.4 ---- Makefile
   117.5 -+++ stuff/Makefile
   117.6 -@@ -9,15 +9,15 @@
   117.7 - 
   117.8 - # Where to install. The installation starts in the src and doc directories,
   117.9 - # so take care if INSTALL_TOP is not an absolute path.
  117.10 --INSTALL_TOP= /usr/local
  117.11 -+INSTALL_TOP= /usr
  117.12 - INSTALL_BIN= $(INSTALL_TOP)/bin
  117.13 --INSTALL_INC= $(INSTALL_TOP)/include
  117.14 --INSTALL_LIB= $(INSTALL_TOP)/lib
  117.15 -+INSTALL_INC= $(INSTALL_TOP)/include/lua/$V
  117.16 -+INSTALL_LIB= $(INSTALL_TOP)/lib/lua/$V
  117.17 - INSTALL_MAN= $(INSTALL_TOP)/man/man1
  117.18 - #
  117.19 - # You probably want to make INSTALL_LMOD and INSTALL_CMOD consistent with
  117.20 - # LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h (and also with etc/lua.pc).
  117.21 --INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V
  117.22 -+INSTALL_LMOD= $(INSTALL_TOP)/lib/lua/$V
  117.23 - INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V
  117.24 - 
  117.25 - # How to install. If your install program does not support "-p", then you
   118.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   118.2 +++ b/lua5.1/stuff/patches/lua5.1-paths.patch	Wed Mar 07 19:43:44 2018 +0200
   118.3 @@ -0,0 +1,22 @@
   118.4 +--- Makefile
   118.5 ++++ stuff/Makefile
   118.6 +@@ -9,15 +9,15 @@
   118.7 + 
   118.8 + # Where to install. The installation starts in the src and doc directories,
   118.9 + # so take care if INSTALL_TOP is not an absolute path.
  118.10 +-INSTALL_TOP= /usr/local
  118.11 ++INSTALL_TOP= /usr
  118.12 + INSTALL_BIN= $(INSTALL_TOP)/bin
  118.13 +-INSTALL_INC= $(INSTALL_TOP)/include
  118.14 +-INSTALL_LIB= $(INSTALL_TOP)/lib
  118.15 ++INSTALL_INC= $(INSTALL_TOP)/include/lua/$V
  118.16 ++INSTALL_LIB= $(INSTALL_TOP)/lib/lua/$V
  118.17 + INSTALL_MAN= $(INSTALL_TOP)/man/man1
  118.18 + #
  118.19 + # You probably want to make INSTALL_LMOD and INSTALL_CMOD consistent with
  118.20 + # LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h (and also with etc/lua.pc).
  118.21 +-INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V
  118.22 ++INSTALL_LMOD= $(INSTALL_TOP)/lib/lua/$V
  118.23 + INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V
  118.24 + 
  118.25 + # How to install. If your install program does not support "-p", then you
   119.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   119.2 +++ b/lua5.1/stuff/patches/series	Wed Mar 07 19:43:44 2018 +0200
   119.3 @@ -0,0 +1,1 @@
   119.4 +-p0|lua5.1-paths.patch
   120.1 --- a/mesa-wayland-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   120.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   120.3 @@ -1,23 +0,0 @@
   120.4 -# SliTaz package receipt.
   120.5 -
   120.6 -PACKAGE="mesa-wayland-dev"
   120.7 -VERSION="9.1.3"
   120.8 -CATEGORY="development"
   120.9 -SHORT_DESC="Wayland X server devel files."
  120.10 -MAINTAINER="pankso@slitaz.org"
  120.11 -LICENSE="MIT"
  120.12 -WANTED="mesa-wayland"
  120.13 -WEB_SITE="http://www.mesa3d.org/"
  120.14 -
  120.15 -DEPENDS="pkg-config udev-dev"
  120.16 -
  120.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  120.18 -genpkg_rules()
  120.19 -{
  120.20 -	mkdir -p $fs/usr/lib/dri
  120.21 -	cp -a $install/usr/include $fs/usr
  120.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
  120.23 -	cp -a $install/usr/lib/dri/*.*a $fs/usr/lib/dri
  120.24 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  120.25 -}
  120.26 -
   121.1 --- a/mesa-wayland/receipt	Tue Mar 06 11:29:35 2018 +0200
   121.2 +++ b/mesa-wayland/receipt	Wed Mar 07 19:43:44 2018 +0200
   121.3 @@ -1,38 +1,29 @@
   121.4 -# SliTaz package receipt.
   121.5 +# SliTaz package receipt v2.
   121.6  
   121.7  PACKAGE="mesa-wayland"
   121.8  VERSION="9.1.3"
   121.9  CATEGORY="x-window"
  121.10 -SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL."
  121.11 +SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL"
  121.12  MAINTAINER="pascal.bellard@slitaz.org"
  121.13  LICENSE="MIT"
  121.14 -SUGGESTED="nvidia"
  121.15 -SOURCE="Mesa"
  121.16 -TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
  121.17  WEB_SITE="http://www.mesa3d.org/"
  121.18 +
  121.19 +TARBALL="MesaLib-$VERSION.tar.bz2"
  121.20  WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL"
  121.21  
  121.22 -# Have Wayland support by default ?
  121.23 -PROVIDE="libgl libegl-mesa libglw-mesa"
  121.24 -
  121.25 -DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev \
  121.26 -wayland"
  121.27 -BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
  121.28 +BUILD_DEPENDS_arm="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
  121.29  xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
  121.30  lesstif libxml2-python lesstif-dev xorg-server-dev udev-dev wayland-dev gettext"
  121.31 +BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
  121.32 +xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto lesstif \
  121.33 +libxml2-python lesstif-dev xorg-server-dev udev-dev wayland-dev gettext talloc \
  121.34 +xorg-makedepend xorg-imake file libdrm-nouveau llvm libtool automake autoconf \
  121.35 +libpthread-stubs-dev"
  121.36 +SPLIT="mesa-wayland-dev"
  121.37  
  121.38 -# Use some build system tools
  121.39 -case "$ARCH" in
  121.40 -	i?86) 
  121.41 -		BUILD_DEPENDS="$BUILD_DEPENDS talloc xorg-makedepend xorg-imake \
  121.42 -		file libdrm-nouveau llvm libtool automake autoconf libpthread-stubs-dev" ;;
  121.43 -esac
  121.44 -
  121.45 -# Rules to configure and make the package.
  121.46 -compile_rules()
  121.47 -{
  121.48 -	find . -name 'nouveau*.h' | \
  121.49 -		xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|'
  121.50 +compile_rules() {
  121.51 +	find . -name 'nouveau*.h' \
  121.52 +	| xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|'
  121.53  	./autogen.sh \
  121.54  		--prefix=/usr \
  121.55  		--sysconfdir=/etc/X11/${PACKAGE} \
  121.56 @@ -46,21 +37,36 @@
  121.57  	make $MAKEFLAGS && make install
  121.58  }
  121.59  
  121.60 -# Rules to gen a SliTaz package suitable for Tazpkg.
  121.61 -genpkg_rules()
  121.62 -{
  121.63 -	mkdir -p $fs/usr/lib/dri
  121.64 -	cp -a $install/etc $fs
  121.65 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  121.66 -	cp -a $install/usr/lib/dri/*.so* $fs/usr/lib/dri
  121.67 +genpkg_rules() {
  121.68 +	case $PACKAGE in
  121.69 +		mesa-wayland)
  121.70 +			mkdir -p $fs/usr/lib/dri
  121.71 +			cp -a $install/etc $fs
  121.72 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
  121.73 +			cp -a $install/usr/lib/dri/*.so* $fs/usr/lib/dri
  121.74  
  121.75 -	# libGLU is included in the package libglu-mesa
  121.76 -	#rm -r -f $fs/usr/lib/libGLU*
  121.77 +			# libGLU is included in the package libglu-mesa
  121.78 +			#rm -r -f $fs/usr/lib/libGLU*
  121.79  
  121.80 -	#libGLw is included in the package libglw-mesa
  121.81 -	#rm -r -f $fs/usr/lib/libGLw*
  121.82 +			#libGLw is included in the package libglw-mesa
  121.83 +			#rm -r -f $fs/usr/lib/libGLw*
  121.84  
  121.85 -	#libEGL is included in the package libegl-mesa
  121.86 -	#rm -r -f $fs/usr/lib/libEGL*
  121.87 +			#libEGL is included in the package libegl-mesa
  121.88 +			#rm -r -f $fs/usr/lib/libEGL*
  121.89 +			DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt \
  121.90 +			udev wayland"
  121.91 +			SUGGESTED="nvidia"
  121.92 +			# Have Wayland support by default ?
  121.93 +			PROVIDE="libgl libegl-mesa libglw-mesa"
  121.94 +			;;
  121.95 +		*-dev)
  121.96 +			mkdir -p $fs/usr/lib/dri
  121.97 +			cp -a $install/usr/include $fs/usr
  121.98 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
  121.99 +			cp -a $install/usr/lib/dri/*.*a $fs/usr/lib/dri
 121.100 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
 121.101 +			DEPENDS="mesa-wayland udev-dev"
 121.102 +			;;
 121.103 +	esac
 121.104  }
 121.105  
   122.1 --- a/mgetty-voicetools/receipt	Tue Mar 06 11:29:35 2018 +0200
   122.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   122.3 @@ -1,18 +0,0 @@
   122.4 -# SliTaz package receipt.
   122.5 -
   122.6 -PACKAGE="mgetty-voicetools"
   122.7 -VERSION="1.1.37"
   122.8 -CATEGORY="network"
   122.9 -SHORT_DESC="Convertion tool set for vgetty."
  122.10 -MAINTAINER="pascal.bellard@slitaz.org"
  122.11 -LICENSE="GPL2"
  122.12 -WEB_SITE="http://mgetty.greenie.net/"
  122.13 -DEPENDS="mgetty"
  122.14 -WANTED="mgetty"
  122.15 -
  122.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
  122.17 -genpkg_rules()
  122.18 -{
  122.19 -	mkdir -p $fs/usr
  122.20 -	cp -a $install/usr/bin $fs/usr
  122.21 -}
   123.1 --- a/mgetty/receipt	Tue Mar 06 11:29:35 2018 +0200
   123.2 +++ b/mgetty/receipt	Wed Mar 07 19:43:44 2018 +0200
   123.3 @@ -1,20 +1,19 @@
   123.4 -# SliTaz package receipt.
   123.5 +# SliTaz package receipt v2.
   123.6  
   123.7  PACKAGE="mgetty"
   123.8  VERSION="1.1.37"
   123.9  CATEGORY="network"
  123.10 -SHORT_DESC="reliable and proven fax send and receive solution."
  123.11 +SHORT_DESC="Reliable and proven fax send and receive solution"
  123.12  MAINTAINER="pascal.bellard@slitaz.org"
  123.13  LICENSE="GPL2"
  123.14 +WEB_SITE="http://mgetty.greenie.net/"
  123.15 +
  123.16  TARBALL="$PACKAGE$VERSION-Jun05.tar.gz"
  123.17 -WEB_SITE="http://mgetty.greenie.net/"
  123.18  WGET_URL="ftp://mgetty.greenie.net/pub/$PACKAGE/source/${VERSION%.*}/$TARBALL"
  123.19 -DEPENDS="slitaz-base-files"
  123.20 -CONFIG_FILES="/etc/mgetty+sendfax"
  123.21  
  123.22 -# Rules to configure and make the package.
  123.23 -compile_rules()
  123.24 -{
  123.25 +SPLIT="mgetty-voicetools"
  123.26 +
  123.27 +compile_rules() {
  123.28  	[ -f Makefile.dist ] && mv -f Makefile.dist Makefile
  123.29  	cp Makefile Makefile.dist
  123.30  	cp Makefile Makefile.install
  123.31 @@ -39,21 +38,29 @@
  123.32  	make -k install.bin vgetty-install
  123.33  }
  123.34  
  123.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
  123.36 -genpkg_rules()
  123.37 -{
  123.38 -	mkdir -p $fs/usr
  123.39 -	cp -a $install/usr/lib $fs/usr
  123.40 -	cp -a $install/usr/sbin $fs/usr
  123.41 -	cp -a $install/etc $fs
  123.42 -	cp -a $install/var $fs
  123.43 -	chmod 755 $fs/var/spool/fax
  123.44 +genpkg_rules() {
  123.45 +	case $PACKAGE in
  123.46 +		mgetty)
  123.47 +			mkdir -p $fs/usr
  123.48 +			cp -a $install/usr/lib $fs/usr
  123.49 +			cp -a $install/usr/sbin $fs/usr
  123.50 +			cp -a $install/etc $fs
  123.51 +			cp -a $install/var $fs
  123.52 +			chmod 755 $fs/var/spool/fax
  123.53 +			DEPENDS="slitaz-base-files"
  123.54 +			CONFIG_FILES="/etc/mgetty+sendfax"
  123.55 +			;;
  123.56 +		mgetty-voicetools)
  123.57 +			mkdir -p $fs/usr
  123.58 +			cp -a $install/usr/bin $fs/usr
  123.59 +			CAT="network|convertion tool set for vgetty"
  123.60 +			DEPENDS="mgetty"
  123.61 +			;;
  123.62 +	esac
  123.63  }
  123.64  
  123.65 -# Pre and post install commands for Tazpkg.
  123.66 -post_install()
  123.67 -{
  123.68 -        # adduser fax if needed
  123.69 +# adduser fax if needed
  123.70 +post_install_mgetty() {
  123.71  	if ! grep -q fax "$1/etc/passwd"; then
  123.72  		echo -n "Adding user fax..."
  123.73  		chroot "$1/" adduser fax -D -H -S
  123.74 @@ -62,7 +69,6 @@
  123.75  	chroot "$1/" chown fax /var/spool/fax
  123.76  }
  123.77  
  123.78 -post_remove()
  123.79 -{
  123.80 +post_remove_mgetty() {
  123.81  	chroot "$1/" deluser fax
  123.82  }
   124.1 --- a/mobile-broadband-provider-info-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   124.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   124.3 @@ -1,20 +0,0 @@
   124.4 -# SliTaz package receipt.
   124.5 -
   124.6 -PACKAGE="mobile-broadband-provider-info-dev"
   124.7 -VERSION="20120614"
   124.8 -CATEGORY="development"
   124.9 -SHORT_DESC="Service Provider Database (dev)"
  124.10 -MAINTAINER="domcox@slitaz.org"
  124.11 -LICENSE="cc-pd"
  124.12 -WEB_SITE="http://live.gnome.org/NetworkManager/MobileBroadband/ServiceProviders"
  124.13 -WANTED="mobile-broadband-provider-info"
  124.14 -
  124.15 -DEPENDS="mobile-broadband-provider-info pkg-config"
  124.16 -BUILD_DEPENDS=""
  124.17 -
  124.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
  124.19 -genpkg_rules()
  124.20 -{
  124.21 -	mkdir -p $fs/usr/lib
  124.22 -	cp -a $install/usr/share/pkgconfig $fs/usr/lib
  124.23 -}
   125.1 --- a/mobile-broadband-provider-info/receipt	Tue Mar 06 11:29:35 2018 +0200
   125.2 +++ b/mobile-broadband-provider-info/receipt	Wed Mar 07 19:43:44 2018 +0200
   125.3 @@ -1,4 +1,4 @@
   125.4 -# SliTaz package receipt.
   125.5 +# SliTaz package receipt v2.
   125.6  
   125.7  PACKAGE="mobile-broadband-provider-info"
   125.8  VERSION="20120614"
   125.9 @@ -7,21 +7,25 @@
  125.10  MAINTAINER="domcox@slitaz.org"
  125.11  LICENSE="cc-pd"
  125.12  WEB_SITE="http://live.gnome.org/NetworkManager/MobileBroadband/ServiceProviders"
  125.13 +
  125.14  TARBALL="$PACKAGE-$VERSION.tar.xz"
  125.15  WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/$VERSION/$TARBALL"
  125.16  
  125.17 -DEPENDS=""
  125.18 -BUILD_DEPENDS=""
  125.19 +SPLIT="mobile-broadband-provider-info-dev"
  125.20  
  125.21 -# Rules to configure and make the package.
  125.22 -compile_rules()
  125.23 -{
  125.24 +compile_rules() {
  125.25  	./configure $CONFIGURE_ARGS && make && make install
  125.26  }
  125.27  
  125.28 -# Rules to gen a SliTaz package suitable for Tazpkg.
  125.29 -genpkg_rules()
  125.30 -{
  125.31 -	mkdir -p $fs/usr/share
  125.32 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
  125.33 +genpkg_rules() {
  125.34 +	case $PACKAGE in
  125.35 +		mobile-broadband-provider-info)
  125.36 +			mkdir -p $fs/usr/share
  125.37 +			cp -a $install/usr/share/$PACKAGE $fs/usr/share
  125.38 +			;;
  125.39 +		*-dev)
  125.40 +			mkdir -p $fs/usr/lib
  125.41 +			cp -a $install/usr/share/pkgconfig $fs/usr/lib
  125.42 +			;;
  125.43 +	esac
  125.44  }
   126.1 --- a/module-init-tools/receipt	Tue Mar 06 11:29:35 2018 +0200
   126.2 +++ b/module-init-tools/receipt	Wed Mar 07 19:43:44 2018 +0200
   126.3 @@ -1,9 +1,9 @@
   126.4 -# SliTaz package receipt.
   126.5 +# SliTaz package receipt v2.
   126.6  
   126.7  PACKAGE="module-init-tools"
   126.8  VERSION="3.12"
   126.9  CATEGORY="base-system"
  126.10 -SHORT_DESC="Kernel modules manipulation tools."
  126.11 +SHORT_DESC="Kernel modules manipulation tools"
  126.12  MAINTAINER="pascal.bellard@slitaz.org"
  126.13  LICENSE="GPL2"
  126.14  WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/module-init-tools/"
  126.15 @@ -11,22 +11,10 @@
  126.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
  126.17  WGET_URL="${WEB_SITE}$TARBALL"
  126.18  
  126.19 -DEPENDS="glibc-base gcc-lib-base zlib lzlib depmod"
  126.20 -BUILD_DEPENDS="wget zlib-dev lzlib-dev lzlib"
  126.21 +BUILD_DEPENDS="zlib-dev lzlib-dev lzlib"
  126.22 +SPLIT="depmod"
  126.23  
  126.24 -# Rules to configure and make the package.
  126.25 -compile_rules()
  126.26 -{
  126.27 -	for patch_file in lzlib depmod; do
  126.28 -		if [ -f done.$patch_file ]; then
  126.29 -			echo "Skipping $patch_file"
  126.30 -			continue
  126.31 -		fi
  126.32 -		echo "Apply $patch_file.u"
  126.33 -		patch -p1 < $stuff/$patch_file.u || return 1
  126.34 -		touch done.$patch_file
  126.35 -	done
  126.36 -
  126.37 +compile_rules() {
  126.38  	# Don't generate manpages to avoid failure.
  126.39  	echo '.so man5/modprobe.conf.5' > modprobe.d.5
  126.40  
  126.41 @@ -36,26 +24,28 @@
  126.42  		--bindir=/bin \
  126.43  		--sysconfdir=/etc \
  126.44  	$CONFIGURE_ARGS &&
  126.45 -	make &&	make install
  126.46 +	make && make install || return 1
  126.47 +
  126.48 +	# Create the modprobe config directory
  126.49 +	mkdir -p $install/etc/modprobe.d
  126.50  }
  126.51  
  126.52 -# Rules to gen a SliTaz package suitable for Tazpkg.
  126.53 -genpkg_rules()
  126.54 -{
  126.55 -	mkdir -p $fs/sbin $fs/etc
  126.56 -	cp $install/sbin/insmod $fs/sbin
  126.57 -	cp $install/sbin/modinfo $fs/sbin
  126.58 -	cp $install/sbin/modprobe $fs/sbin
  126.59 -	cp $install/sbin/rmmod $fs/sbin
  126.60 -	# lsmod goes in /bin.
  126.61 -	cp -a $install/bin $fs
  126.62 -	# Create the modprobe config directory
  126.63 -	mkdir -p $fs/etc/modprobe.d
  126.64 +genpkg_rules() {
  126.65 +	case $PACKAGE in
  126.66 +		depmod)
  126.67 +			copy depmod
  126.68 +			CAT="base-system|Kernel modules dependancy tool"
  126.69 +			DEPENDS="glibc-base gcc-lib-base zlib lzlib"
  126.70 +			;;
  126.71 +		module-init-tools)
  126.72 +			copy @std @rm
  126.73 +			DEPENDS="glibc-base gcc-lib-base zlib lzlib depmod"
  126.74 +			;;
  126.75 +	esac
  126.76  }
  126.77  
  126.78  # Remove Busybox symlink before installing
  126.79 -pre_install()
  126.80 -{
  126.81 +pre_install_module_init_tools() {
  126.82  	rm -f "$1/sbin/insmod"
  126.83  	rm -f "$1/sbin/modinfo"
  126.84  	rm -f "$1/sbin/modprobe"
  126.85 @@ -63,3 +53,8 @@
  126.86  	# BusyBox puts lsmod in /sbin, not /bin
  126.87  	rm -f "$1/sbin/lsmod"
  126.88  }
  126.89 +
  126.90 +# Overlap busybox
  126.91 +pre_install_depmod() {
  126.92 +	rm -f "$1/sbin/depmod"
  126.93 +}
   127.1 --- a/module-init-tools/stuff/depmod.u	Tue Mar 06 11:29:35 2018 +0200
   127.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   127.3 @@ -1,22 +0,0 @@
   127.4 ---- module-init-tools-3.10/depmod.c
   127.5 -+++ module-init-tools-3.10/depmod.c
   127.6 -@@ -439,16 +439,16 @@
   127.7 - {
   127.8 - 	struct module *i;
   127.9 - 
  127.10 -+	(void) dirname; /* force full path for busybox modprobe */
  127.11 - 	for (i = modules; i; i = i->next) {
  127.12 - 		struct list_head *j, *tmp;
  127.13 - 		order_dep_list(i, i);
  127.14 - 
  127.15 --		fprintf(out, "%s:", compress_path(i->pathname, dirname));
  127.16 -+		fprintf(out, "%s:", i->pathname);
  127.17 - 		list_for_each_safe(j, tmp, &i->dep_list) {
  127.18 - 			struct module *dep
  127.19 - 				= list_entry(j, struct module, dep_list);
  127.20 --			fprintf(out, " %s",
  127.21 --			        compress_path(dep->pathname, dirname));
  127.22 -+			fprintf(out, " %s", dep->pathname);
  127.23 - 			list_del_init(j);
  127.24 - 		}
  127.25 - 		fprintf(out, "\n");
   128.1 --- a/module-init-tools/stuff/lzlib.u	Tue Mar 06 11:29:35 2018 +0200
   128.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   128.3 @@ -1,73 +0,0 @@
   128.4 ---- module-init-tools-3.10/zlibsupport.c
   128.5 -+++ module-init-tools-3.10/zlibsupport.c
   128.6 -@@ -18,43 +18,23 @@
   128.7 - #include "testing.h"
   128.8 - 
   128.9 - #ifdef CONFIG_USE_ZLIB
  128.10 --#include <zlib.h>
  128.11 --
  128.12 --void *grab_contents(gzFile *gzfd, unsigned long *size)
  128.13 --{
  128.14 --	unsigned int max = 16384;
  128.15 --	void *buffer = NOFAIL(malloc(max));
  128.16 --	int ret;
  128.17 --
  128.18 --	*size = 0;
  128.19 --	while ((ret = gzread(gzfd, buffer + *size, max - *size)) > 0) {
  128.20 --		*size += ret;
  128.21 --		if (*size == max)
  128.22 --			buffer = NOFAIL(realloc(buffer, max *= 2));
  128.23 --	}
  128.24 --	if (ret < 0) {
  128.25 --		free(buffer);
  128.26 --		buffer = NULL;
  128.27 --	}
  128.28 --
  128.29 --	return buffer;
  128.30 --}
  128.31 -+#include <lzlib.h>
  128.32 - 
  128.33 - /* gzopen handles uncompressed files transparently. */
  128.34 - void *grab_file(const char *filename, unsigned long *size)
  128.35 - {
  128.36 --	gzFile gzfd;
  128.37 -+	lzFile lzfd;
  128.38 - 	void *buffer;
  128.39 - 
  128.40 - 	errno = 0;
  128.41 --	gzfd = gzopen(filename, "rb");
  128.42 --	if (!gzfd) {
  128.43 -+	lzfd = lzopen(filename, "rb");
  128.44 -+	if (!lzfd) {
  128.45 - 		if (errno == ENOMEM)
  128.46 - 			fatal("Memory allocation failure in gzopen\n");
  128.47 - 		return NULL;
  128.48 - 	}
  128.49 --	buffer = grab_contents(gzfd, size);
  128.50 --	gzclose(gzfd);
  128.51 -+	buffer = lzgrab(lzfd, size);
  128.52 -+	lzclose(lzfd);
  128.53 - 	return buffer;
  128.54 - }
  128.55 - 
  128.56 -
  128.57 ---- module-init-tools-3.9/configure
  128.58 -+++ module-init-tools-3.9/configure
  128.59 -@@ -2590,7 +2590,7 @@
  128.60 - #define CONFIG_USE_ZLIB 1
  128.61 - _ACEOF
  128.62 - 
  128.63 --  zlib_flags="-Wl,-Bstatic -lz -Wl,-Bdynamic"
  128.64 -+  zlib_flags="-Wl,-Bdynamic -lz -llz"
  128.65 - fi
  128.66 - fi
  128.67 - 
  128.68 -@@ -2602,7 +2602,7 @@
  128.69 - #define CONFIG_USE_ZLIB 1
  128.70 - _ACEOF
  128.71 - 
  128.72 --  zlib_flags="-lz"
  128.73 -+  zlib_flags="-lz -llz"
  128.74 - fi
  128.75 - fi
  128.76 - 
   129.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   129.2 +++ b/module-init-tools/stuff/patches/depmod.u	Wed Mar 07 19:43:44 2018 +0200
   129.3 @@ -0,0 +1,22 @@
   129.4 +--- module-init-tools-3.10/depmod.c
   129.5 ++++ module-init-tools-3.10/depmod.c
   129.6 +@@ -439,16 +439,16 @@
   129.7 + {
   129.8 + 	struct module *i;
   129.9 + 
  129.10 ++	(void) dirname; /* force full path for busybox modprobe */
  129.11 + 	for (i = modules; i; i = i->next) {
  129.12 + 		struct list_head *j, *tmp;
  129.13 + 		order_dep_list(i, i);
  129.14 + 
  129.15 +-		fprintf(out, "%s:", compress_path(i->pathname, dirname));
  129.16 ++		fprintf(out, "%s:", i->pathname);
  129.17 + 		list_for_each_safe(j, tmp, &i->dep_list) {
  129.18 + 			struct module *dep
  129.19 + 				= list_entry(j, struct module, dep_list);
  129.20 +-			fprintf(out, " %s",
  129.21 +-			        compress_path(dep->pathname, dirname));
  129.22 ++			fprintf(out, " %s", dep->pathname);
  129.23 + 			list_del_init(j);
  129.24 + 		}
  129.25 + 		fprintf(out, "\n");
   130.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   130.2 +++ b/module-init-tools/stuff/patches/lzlib.u	Wed Mar 07 19:43:44 2018 +0200
   130.3 @@ -0,0 +1,73 @@
   130.4 +--- module-init-tools-3.10/zlibsupport.c
   130.5 ++++ module-init-tools-3.10/zlibsupport.c
   130.6 +@@ -18,43 +18,23 @@
   130.7 + #include "testing.h"
   130.8 + 
   130.9 + #ifdef CONFIG_USE_ZLIB
  130.10 +-#include <zlib.h>
  130.11 +-
  130.12 +-void *grab_contents(gzFile *gzfd, unsigned long *size)
  130.13 +-{
  130.14 +-	unsigned int max = 16384;
  130.15 +-	void *buffer = NOFAIL(malloc(max));
  130.16 +-	int ret;
  130.17 +-
  130.18 +-	*size = 0;
  130.19 +-	while ((ret = gzread(gzfd, buffer + *size, max - *size)) > 0) {
  130.20 +-		*size += ret;
  130.21 +-		if (*size == max)
  130.22 +-			buffer = NOFAIL(realloc(buffer, max *= 2));
  130.23 +-	}
  130.24 +-	if (ret < 0) {
  130.25 +-		free(buffer);
  130.26 +-		buffer = NULL;
  130.27 +-	}
  130.28 +-
  130.29 +-	return buffer;
  130.30 +-}
  130.31 ++#include <lzlib.h>
  130.32 + 
  130.33 + /* gzopen handles uncompressed files transparently. */
  130.34 + void *grab_file(const char *filename, unsigned long *size)
  130.35 + {
  130.36 +-	gzFile gzfd;
  130.37 ++	lzFile lzfd;
  130.38 + 	void *buffer;
  130.39 + 
  130.40 + 	errno = 0;
  130.41 +-	gzfd = gzopen(filename, "rb");
  130.42 +-	if (!gzfd) {
  130.43 ++	lzfd = lzopen(filename, "rb");
  130.44 ++	if (!lzfd) {
  130.45 + 		if (errno == ENOMEM)
  130.46 + 			fatal("Memory allocation failure in gzopen\n");
  130.47 + 		return NULL;
  130.48 + 	}
  130.49 +-	buffer = grab_contents(gzfd, size);
  130.50 +-	gzclose(gzfd);
  130.51 ++	buffer = lzgrab(lzfd, size);
  130.52 ++	lzclose(lzfd);
  130.53 + 	return buffer;
  130.54 + }
  130.55 + 
  130.56 +
  130.57 +--- module-init-tools-3.9/configure
  130.58 ++++ module-init-tools-3.9/configure
  130.59 +@@ -2590,7 +2590,7 @@
  130.60 + #define CONFIG_USE_ZLIB 1
  130.61 + _ACEOF
  130.62 + 
  130.63 +-  zlib_flags="-Wl,-Bstatic -lz -Wl,-Bdynamic"
  130.64 ++  zlib_flags="-Wl,-Bdynamic -lz -llz"
  130.65 + fi
  130.66 + fi
  130.67 + 
  130.68 +@@ -2602,7 +2602,7 @@
  130.69 + #define CONFIG_USE_ZLIB 1
  130.70 + _ACEOF
  130.71 + 
  130.72 +-  zlib_flags="-lz"
  130.73 ++  zlib_flags="-lz -llz"
  130.74 + fi
  130.75 + fi
  130.76 + 
   131.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   131.2 +++ b/module-init-tools/stuff/patches/series	Wed Mar 07 19:43:44 2018 +0200
   131.3 @@ -0,0 +1,2 @@
   131.4 +-p1|lzlib.u
   131.5 +-p1|depmod.u
   132.1 --- a/monkey-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   132.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   132.3 @@ -1,20 +0,0 @@
   132.4 -# SliTaz package receipt.
   132.5 -
   132.6 -PACKAGE="monkey-dev"
   132.7 -VERSION="1.5.6"
   132.8 -CATEGORY="development"
   132.9 -SHORT_DESC="Lightweight HTTP server - dev files"
  132.10 -MAINTAINER="necrophcodr@necrophcodr.me"
  132.11 -LICENSE="APL2"
  132.12 -WEB_SITE="http://monkey-project.com"
  132.13 -WANTED="monkey"
  132.14 -
  132.15 -DEPENDS="monkey"
  132.16 -
  132.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  132.18 -genpkg_rules()
  132.19 -{
  132.20 -	mkdir -p $fs/usr
  132.21 -	cp -a $install/usr/include $fs/usr
  132.22 -	cp -a $install/usr/lib $fs/usr
  132.23 -}
   133.1 --- a/monkey/receipt	Tue Mar 06 11:29:35 2018 +0200
   133.2 +++ b/monkey/receipt	Wed Mar 07 19:43:44 2018 +0200
   133.3 @@ -1,4 +1,4 @@
   133.4 -# SliTaz package receipt.
   133.5 +# SliTaz package receipt v2.
   133.6  
   133.7  PACKAGE="monkey"
   133.8  VERSION="1.5.6"
   133.9 @@ -6,32 +6,43 @@
  133.10  SHORT_DESC="Lightweight HTTP server"
  133.11  MAINTAINER="necrophcodr@necrophcodr.me"
  133.12  LICENSE="APL2"
  133.13 +WEB_SITE="http://monkey-project.com"
  133.14 +
  133.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
  133.16 -WEB_SITE="http://monkey-project.com"
  133.17  WGET_URL="$WEB_SITE/releases/${VERSION%.*}/$TARBALL"
  133.18  
  133.19 -DEPENDS=""
  133.20  BUILD_DEPENDS="findutils"
  133.21 +SPLIT="monkey-dev"
  133.22  
  133.23 -# Rules to configure and make the package.
  133.24 -compile_rules()
  133.25 -{
  133.26 -	./configure --enable-shared --prefix=/usr --datadir=/var/www \
  133.27 -	--pidfile=/var/run/monkey.pid --sysconfdir=/etc/monkey \
  133.28 -	--disable-plugins=mbedtls --mandir=/usr/share/man \
  133.29 -	--plugdir=/usr/share/monkey/plugins &&
  133.30 +compile_rules() {
  133.31 +	./configure \
  133.32 +		--enable-shared \
  133.33 +		--prefix=/usr \
  133.34 +		--datadir=/var/www \
  133.35 +		--pidfile=/var/run/monkey.pid \
  133.36 +		--sysconfdir=/etc/monkey \
  133.37 +		--disable-plugins=mbedtls \
  133.38 +		--mandir=/usr/share/man \
  133.39 +		--plugdir=/usr/share/monkey/plugins &&
  133.40  	make &&
  133.41  	make DESTDIR=$install install
  133.42  }
  133.43  
  133.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
  133.45 -genpkg_rules()
  133.46 -{
  133.47 -	mkdir -p $fs/usr
  133.48 -	cp -a $install/usr/bin $fs/usr/
  133.49 -	cp -a $install/usr/share $fs/usr/
  133.50 -	cp -a $install/etc $fs/
  133.51 -	cp -a $install/var $fs/
  133.52 -	mkdir -p $fs/usr/share/monkey/samples
  133.53 -	mv $fs/var/www/ $fs/usr/share/monkey/samples/htdocs
  133.54 +genpkg_rules() {
  133.55 +	case $PACKAGE in
  133.56 +		monkey)
  133.57 +			mkdir -p $fs/usr
  133.58 +			cp -a $install/usr/bin $fs/usr/
  133.59 +			cp -a $install/usr/share $fs/usr/
  133.60 +			cp -a $install/etc $fs/
  133.61 +			cp -a $install/var $fs/
  133.62 +			mkdir -p $fs/usr/share/monkey/samples
  133.63 +			mv $fs/var/www/ $fs/usr/share/monkey/samples/htdocs
  133.64 +			;;
  133.65 +		*-dev)
  133.66 +			mkdir -p $fs/usr
  133.67 +			cp -a $install/usr/include $fs/usr
  133.68 +			cp -a $install/usr/lib $fs/usr
  133.69 +			;;
  133.70 +	esac
  133.71  }
   134.1 --- a/nagios-plugins-mysql/receipt	Tue Mar 06 11:29:35 2018 +0200
   134.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   134.3 @@ -1,20 +0,0 @@
   134.4 -# SliTaz package receipt.
   134.5 -
   134.6 -PACKAGE="nagios-plugins-mysql"
   134.7 -VERSION="1.4.16"
   134.8 -CATEGORY="meta"
   134.9 -SHORT_DESC="Dependencies for Nagios MySQL plugin."
  134.10 -MAINTAINER="erjo@slitaz.org"
  134.11 -LICENSE="GPL3"
  134.12 -WEB_SITE="http://www.nagios.org/"
  134.13 -WANTED="nagios-plugins"
  134.14 -
  134.15 -DEPENDS="nagios-plugins mysql-client"
  134.16 -
  134.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  134.18 -genpkg_rules()
  134.19 -{
  134.20 -	mkdir -p $fs/usr/lib/nagios/plugins
  134.21 -	cp -pa $install/usr/lib/nagios/plugins/*mysql* $fs/usr/lib/nagios/plugins
  134.22 -}
  134.23 -
   135.1 --- a/nagios-plugins/receipt	Tue Mar 06 11:29:35 2018 +0200
   135.2 +++ b/nagios-plugins/receipt	Wed Mar 07 19:43:44 2018 +0200
   135.3 @@ -1,60 +1,62 @@
   135.4 -# SliTaz package receipt.
   135.5 +# SliTaz package receipt v2.
   135.6  
   135.7  PACKAGE="nagios-plugins"
   135.8  VERSION="1.4.16"
   135.9  CATEGORY="network"
  135.10 -SHORT_DESC="Plugins for host, service and network monitoring program."
  135.11 +SHORT_DESC="Plugins for host, service and network monitoring program"
  135.12  MAINTAINER="erjo@slitaz.org"
  135.13  LICENSE="GPL3"
  135.14 +WEB_SITE="http://www.nagios.org/"
  135.15 +
  135.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
  135.17 -WEB_SITE="http://www.nagios.org/"
  135.18  WGET_URL="$SF_MIRROR/nagiosplug/$TARBALL"
  135.19  
  135.20 -DEPENDS="openssl fping"
  135.21 -BUILD_DEPENDS="openssl-dev radiusclient-ng-dev radiusclient-ng openldap-dev
  135.22 - mysql-dev libmysqlclient"
  135.23 +BUILD_DEPENDS="openssl-dev radiusclient-ng-dev radiusclient-ng openldap-dev \
  135.24 +mysql-dev libmysqlclient"
  135.25 +SPLIT="nagios-plugins-mysql"
  135.26  
  135.27 -# Rules to configure and make the package.
  135.28 -compile_rules()
  135.29 -{
  135.30 +compile_rules() {
  135.31  	sed -i '/gets is a security hole/d' gl/stdio*.h
  135.32 -	./configure --prefix=/usr \
  135.33 -	--libexecdir=/usr/lib/nagios/plugins \
  135.34 -	--with-nagios-user=nobody \
  135.35 -	--with-nagios-group=nogroup \
  135.36 -	--with-ping-command="/bin/ping -w %d -c %d %s" \
  135.37 -	--with-fping-command="/usr/sbin/fping" \
  135.38 -	--mandir=/usr/share/man $CONFIGURE_ARGS
  135.39 -	
  135.40 +	./configure \
  135.41 +		--prefix=/usr \
  135.42 +		--libexecdir=/usr/lib/nagios/plugins \
  135.43 +		--with-nagios-user=nobody \
  135.44 +		--with-nagios-group=nogroup \
  135.45 +		--with-ping-command="/bin/ping -w %d -c %d %s" \
  135.46 +		--with-fping-command="/usr/sbin/fping" \
  135.47 +		--mandir=/usr/share/man \
  135.48 +		$CONFIGURE_ARGS &&
  135.49  	make &&
  135.50  	make DESTDIR=$DESTDIR install &&
  135.51  	make DESTDIR=$DESTDIR install-root
  135.52  }
  135.53  
  135.54 -# Rules to gen a SliTaz package suitable for Tazpkg.
  135.55 -genpkg_rules()
  135.56 -{
  135.57 -	mkdir -p $fs/usr/lib $fs/etc/nagios/objects
  135.58 -	
  135.59 -	cp -a $install/usr/lib/nagios/ $fs/usr/lib
  135.60 -
  135.61 -	# 
  135.62 -	stuff/convertcfg $src/command.cfg commands > $fs/etc/nagios/objects/command.cfg
  135.63 -	
  135.64 -	# Move mySQL plugins in separate package.
  135.65 -	rm -f $fs/usr/lib/nagios/plugins/*mysql*
  135.66 -
  135.67 +genpkg_rules() {
  135.68 +	case $PACKAGE in
  135.69 +		nagios-plugins)
  135.70 +			mkdir -p $fs/usr/lib $fs/etc/nagios/objects
  135.71 +			cp -a $install/usr/lib/nagios/ $fs/usr/lib
  135.72 +			$stuff/convertcfg $src/command.cfg commands > $fs/etc/nagios/objects/command.cfg
  135.73 +			# Move mySQL plugins in separate package.
  135.74 +			rm -f $fs/usr/lib/nagios/plugins/*mysql*
  135.75 +			DEPENDS="openssl fping"
  135.76 +			;;
  135.77 +		nagios-plugins-mysql)
  135.78 +			mkdir -p $fs/usr/lib/nagios/plugins
  135.79 +			cp -pa $install/usr/lib/nagios/plugins/*mysql* $fs/usr/lib/nagios/plugins
  135.80 +			DEPENDS="nagios-plugins mysql-client"
  135.81 +			CATEGORY="network|Nagios MySQL plugin"
  135.82 +			;;
  135.83 +	esac
  135.84  }
  135.85  
  135.86 -post_install()
  135.87 -{
  135.88 +post_install_nagios_plugins() {
  135.89  	if ! grep -q nagios "$1/etc/passwd"; then
  135.90 -		echo -n "Adding user/group nagios..."
  135.91 +		# Adding user/group nagios...
  135.92  		chroot "$1/" addgroup -S nagios
  135.93  		chroot "$1/" adduser -S -D -H -G nagios nagios
  135.94 -		status
  135.95  	fi
  135.96 -	
  135.97 +
  135.98  	if [ -f "$1/etc/nagios/resource.cfg" ]; then
  135.99  		sed -i 's|/usr/lib/nagios|/usr/lib/nagios/plugins|' \
 135.100  		   "$1/etc/nagios/resource.cfg"
   136.1 --- a/ntk-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   136.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   136.3 @@ -1,23 +0,0 @@
   136.4 -# SliTaz package receipt.
   136.5 -
   136.6 -PACKAGE="ntk-dev"
   136.7 -GITHASH="127328b00c3ceddebeeff6fac59f207a8469f6dc"
   136.8 -VERSION="${GITHASH:0:7}"
   136.9 -CATEGORY="development"
  136.10 -SHORT_DESC="NTK include files."
  136.11 -MAINTAINER="pankso@slitaz.org"
  136.12 -LICENSE="LGPL"
  136.13 -WEB_SITE="http://non.tuxfamily.org/"
  136.14 -
  136.15 -WANTED="ntk"
  136.16 -
  136.17 -DEPENDS="ntk cairo-dev xorg-libX11-dev xorg-libXft-dev"
  136.18 -
  136.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
  136.20 -genpkg_rules()
  136.21 -{
  136.22 -	mkdir -p $fs/usr/lib
  136.23 -	cp -a $install/usr/include $fs/usr
  136.24 -	cp -a $install/usr/lib/*.a* $fs/usr/lib
  136.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  136.26 -}
   137.1 --- a/ntk/receipt	Tue Mar 06 11:29:35 2018 +0200
   137.2 +++ b/ntk/receipt	Wed Mar 07 19:43:44 2018 +0200
   137.3 @@ -1,36 +1,36 @@
   137.4 -# SliTaz package receipt.
   137.5 +# SliTaz package receipt v2.
   137.6  
   137.7  PACKAGE="ntk"
   137.8  GITHASH="127328b00c3ceddebeeff6fac59f207a8469f6dc"
   137.9  VERSION="${GITHASH:0:7}"
  137.10  CATEGORY="x-window"
  137.11 -SHORT_DESC="Fork of FLTK 1.3.0 with additional functionality."
  137.12 +SHORT_DESC="Fork of FLTK 1.3.0 with additional functionality"
  137.13  MAINTAINER="pankso@slitaz.org"
  137.14  LICENSE="LGPL"
  137.15 +WEB_SITE="http://non.tuxfamily.org/"
  137.16 +
  137.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
  137.18 -WEB_SITE="http://non.tuxfamily.org/"
  137.19  WGET_URL="http://git.tuxfamily.org/non/fltk/?p=non/fltk.git;a=snapshot;h=$GITHASH;sf=tgz"
  137.20  
  137.21 -DEPENDS="xorg-libXft cairo jpeg"
  137.22 -BUILD_DEPENDS="xorg-libXft-dev cairo-dev jpeg-dev"
  137.23 +BUILD_DEPENDS_arm="xorg-libXft-dev cairo-dev jpeg-dev"
  137.24 +BUILD_DEPENDS="xorg-libXft-dev cairo-dev jpeg-dev git python"
  137.25 +SPLIT="ntk-dev"
  137.26  
  137.27 -# Handle cross compilation
  137.28 -case "$ARCH" in
  137.29 -	i?86) BUILD_DEPENDS="$BUILD_DEPENDS git python"
  137.30 -esac
  137.31 -
  137.32 -# Rules to configure and make the package.
  137.33 -compile_rules()
  137.34 -{
  137.35 +compile_rules() {
  137.36  	./waf configure --prefix=/usr &&
  137.37 -	./waf build && 
  137.38 -	./waf install --destdir=${DESTDIR}
  137.39 +	./waf build &&
  137.40 +	./waf install --destdir=$DESTDIR
  137.41  }
  137.42  
  137.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
  137.44 -genpkg_rules()
  137.45 -{
  137.46 -	mkdir -p $fs/usr $fs/usr/lib
  137.47 -	cp -a $install/usr/bin $fs/usr
  137.48 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  137.49 +genpkg_rules() {
  137.50 +	case $PACKAGE in
  137.51 +		ntk)
  137.52 +			copy @std
  137.53 +			DEPENDS="xorg-libXft cairo jpeg"
  137.54 +			;;
  137.55 +		*-dev)
  137.56 +			copy @dev
  137.57 +			DEPENDS="ntk cairo-dev xorg-libX11-dev xorg-libXft-dev"
  137.58 +			;;
  137.59 +	esac
  137.60  }
   138.1 --- a/ode-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   138.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   138.3 @@ -1,23 +0,0 @@
   138.4 -# SliTaz package receipt.
   138.5 -
   138.6 -PACKAGE="ode-dev"
   138.7 -VERSION="0.11.1"
   138.8 -CATEGORY="development"
   138.9 -SHORT_DESC="devel files for ode"
  138.10 -MAINTAINER="slaxemulator@gmail.com"
  138.11 -LICENSE="LGPL2.1 BSD"
  138.12 -WEB_SITE="http://www.ode.org/"
  138.13 -WANTED="ode"
  138.14 -
  138.15 -DEPENDS="ode bash pkg-config"
  138.16 -
  138.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  138.18 -genpkg_rules()
  138.19 -{
  138.20 -	mkdir -p $fs/usr/lib
  138.21 -	cp -a $install/usr/bin $fs/usr
  138.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  138.23 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
  138.24 -	cp -a $install/usr/include $fs/usr
  138.25 -}
  138.26 -
   139.1 --- a/ode/receipt	Tue Mar 06 11:29:35 2018 +0200
   139.2 +++ b/ode/receipt	Wed Mar 07 19:43:44 2018 +0200
   139.3 @@ -1,20 +1,20 @@
   139.4 -# SliTaz package receipt.
   139.5 +# SliTaz package receipt v2.
   139.6  
   139.7  PACKAGE="ode"
   139.8  VERSION="0.11.1"
   139.9  CATEGORY="misc"
  139.10 -SHORT_DESC="An open source, high performance library for simulating rigid body dynamics."
  139.11 +SHORT_DESC="An open source, high performance library for simulating rigid body \
  139.12 +dynamics"
  139.13  MAINTAINER="slaxemulator@gmail.com"
  139.14  LICENSE="LGPL2.1 BSD"
  139.15 -DEPENDS=""
  139.16 +WEB_SITE="http://www.ode.org/"
  139.17 +
  139.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
  139.19 -WEB_SITE="http://www.ode.org/"
  139.20  WGET_URL="$SF_MIRROR/opende/$TARBALL"
  139.21  
  139.22 -# Rules to configure and make the package.
  139.23 -compile_rules()
  139.24 -{
  139.25 -	cd $src
  139.26 +SPLIT="ode-dev"
  139.27 +
  139.28 +compile_rules() {
  139.29  	./configure \
  139.30  		--prefix=/usr \
  139.31  		--infodir=/usr/share/info \
  139.32 @@ -24,9 +24,9 @@
  139.33  	make && make DESTDIR=$DESTDIR install
  139.34  }
  139.35  
  139.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
  139.37 -genpkg_rules()
  139.38 -{
  139.39 -	mkdir -p $fs/usr/lib
  139.40 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  139.41 +genpkg_rules() {
  139.42 +	case $PACKAGE in
  139.43 +		ode)   copy @std;;
  139.44 +		*-dev) copy @dev;;
  139.45 +	esac
  139.46  }
   140.1 --- a/ofono-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   140.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   140.3 @@ -1,16 +0,0 @@
   140.4 -# SliTaz package receipt.
   140.5 -
   140.6 -PACKAGE="ofono-dev"
   140.7 -VERSION="1.14"
   140.8 -CATEGORY="network"
   140.9 -SHORT_DESC="Stack for mobile telephony (GSM/UMTS) - dev files"
  140.10 -MAINTAINER="slaxemulator@gmail.com"
  140.11 -LICENSE="GPL2"
  140.12 -WANTED="ofono"
  140.13 -
  140.14 -# Rules to gen a SliTaz package suitable for Tazpkg.
  140.15 -genpkg_rules()
  140.16 -{
  140.17 -	mkdir -p $fs/usr
  140.18 -	cp -a $install/usr/include $fs/usr
  140.19 -}
   141.1 --- a/ofono/receipt	Tue Mar 06 11:29:35 2018 +0200
   141.2 +++ b/ofono/receipt	Wed Mar 07 19:43:44 2018 +0200
   141.3 @@ -1,22 +1,21 @@
   141.4 -# SliTaz package receipt.
   141.5 +# SliTaz package receipt v2.
   141.6  
   141.7  PACKAGE="ofono"
   141.8  VERSION="1.14"
   141.9  CATEGORY="network"
  141.10 -SHORT_DESC="Stack for mobile telephony (GSM/UMTS) applications."
  141.11 +SHORT_DESC="Stack for mobile telephony (GSM/UMTS) applications"
  141.12  MAINTAINER="slaxemulator@gmail.com"
  141.13  LICENSE="GPL2"
  141.14 +WEB_SITE="http://ofono.org"
  141.15 +
  141.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
  141.17 -WEB_SITE="http://ofono.org"
  141.18  WGET_URL="http://linux-kernel.uio.no/pub/linux/network/$PACKAGE/$TARBALL"
  141.19  
  141.20 -DEPENDS="dbus glib udev bluez"
  141.21  BUILD_DEPENDS="dbus-dev udev-dev glib-dev bluez-dev \
  141.22  mobile-broadband-provider-info-dev"
  141.23 +SPLIT="ofono-dev"
  141.24  
  141.25 -# Rules to configure and make the package.
  141.26 -compile_rules()
  141.27 -{
  141.28 +compile_rules() {
  141.29  	./configure \
  141.30  		--prefix=/usr \
  141.31  		--sysconfdir=/etc \
  141.32 @@ -27,14 +26,21 @@
  141.33  	make && make DESTDIR=$DESTDIR install
  141.34  }
  141.35  
  141.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
  141.37 -genpkg_rules()
  141.38 -{
  141.39 -	# sysconfdir
  141.40 -	mkdir -p $fs/etc
  141.41 -	cp -a $install/etc/* $fs/etc
  141.42 -	cp -a $stuff/etc/* $fs/etc
  141.43 -	# sbin
  141.44 -	mkdir -p $fs/usr
  141.45 -	cp -a $install/usr/sbin $fs/usr
  141.46 +genpkg_rules() {
  141.47 +	case $PACKAGE in
  141.48 +		ofono)
  141.49 +			# sysconfdir
  141.50 +			mkdir -p $fs/etc
  141.51 +			cp -a $install/etc/* $fs/etc
  141.52 +			cp -a $stuff/etc/* $fs/etc
  141.53 +			# sbin
  141.54 +			mkdir -p $fs/usr
  141.55 +			cp -a $install/usr/sbin $fs/usr
  141.56 +			DEPENDS="dbus glib udev bluez"
  141.57 +			;;
  141.58 +		*-dev)
  141.59 +			mkdir -p $fs/usr
  141.60 +			cp -a $install/usr/include $fs/usr
  141.61 +			;;
  141.62 +	esac
  141.63  }
   142.1 --- a/openexr/receipt	Tue Mar 06 11:29:35 2018 +0200
   142.2 +++ b/openexr/receipt	Wed Mar 07 19:43:44 2018 +0200
   142.3 @@ -23,17 +23,11 @@
   142.4  genpkg_rules() {
   142.5  	case $PACKAGE in
   142.6  		openexr)
   142.7 -			mkdir -p $fs/usr/lib
   142.8 -			cp -a $install/usr/bin $fs/usr
   142.9 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
  142.10 +			copy @std
  142.11  			DEPENDS="zlib ilmbase"
  142.12  			;;
  142.13  		*-dev)
  142.14 -			mkdir -p $fs/usr/lib $fs/usr/share
  142.15 -			cp -a $install/usr/include $fs/usr
  142.16 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  142.17 -			cp -a $install/usr/lib/*.*a $fs/usr/lib
  142.18 -			cp -a $install/usr/share/aclocal $fs/usr/share
  142.19 +			copy @dev
  142.20  			;;
  142.21  	esac
  142.22  }
   143.1 --- a/osip-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   143.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   143.3 @@ -1,22 +0,0 @@
   143.4 -# SliTaz package receipt.
   143.5 -
   143.6 -PACKAGE="osip-dev"
   143.7 -VERSION="3.6.0"
   143.8 -CATEGORY="development"
   143.9 -SHORT_DESC="SIP library development files."
  143.10 -MAINTAINER="pascal.bellard@slitaz.org"
  143.11 -LICENSE="LGPL"
  143.12 -WEB_SITE="http://www.gnu.org/software/osip/osip.html"
  143.13 -WANTED="osip"
  143.14 -SOURCE="libosip2"
  143.15 -
  143.16 -DEPENDS="pkg-config"
  143.17 -
  143.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
  143.19 -genpkg_rules()
  143.20 -{
  143.21 -	mkdir -p $fs/usr
  143.22 -	cp -a $install/usr/include $fs/usr
  143.23 -	cp -a $install/usr/lib $fs/usr
  143.24 -	rm -f $fs/usr/lib/*.so*
  143.25 -}
   144.1 --- a/osip/receipt	Tue Mar 06 11:29:35 2018 +0200
   144.2 +++ b/osip/receipt	Wed Mar 07 19:43:44 2018 +0200
   144.3 @@ -1,29 +1,27 @@
   144.4 -# SliTaz package receipt.
   144.5 +# SliTaz package receipt v2.
   144.6  
   144.7  PACKAGE="osip"
   144.8  VERSION="3.6.0"
   144.9  CATEGORY="network"
  144.10 -SHORT_DESC="SIP library."
  144.11 +SHORT_DESC="SIP library"
  144.12  MAINTAINER="pascal.bellard@slitaz.org"
  144.13  LICENSE="LGPL"
  144.14 -SOURCE="libosip2"
  144.15 -TARBALL="$SOURCE-$VERSION.tar.gz"
  144.16  WEB_SITE="http://www.gnu.org/software/osip/osip.html"
  144.17 +
  144.18 +TARBALL="libosip2-$VERSION.tar.gz"
  144.19  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
  144.20  
  144.21 -# Rules to configure and make the package.
  144.22 -compile_rules()
  144.23 -{
  144.24 -	cd $src
  144.25 -	./configure --prefix=/usr --infodir=/usr/share/info \
  144.26 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
  144.27 +SPLIT="osip-dev"
  144.28 +
  144.29 +compile_rules() {
  144.30 +	./configure $CONFIGURE_ARGS &&
  144.31  	make &&
  144.32  	make DESTDIR=$DESTDIR install
  144.33  }
  144.34  
  144.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
  144.36 -genpkg_rules()
  144.37 -{
  144.38 -	mkdir -p $fs/usr/lib
  144.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  144.40 +genpkg_rules() {
  144.41 +	case $PACKAGE in
  144.42 +		osip)  copy @std;;
  144.43 +		*-dev) copy @dev;;
  144.44 +	esac
  144.45  }
   145.1 --- a/pangox-compat-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   145.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   145.3 @@ -1,22 +0,0 @@
   145.4 -# SliTaz package receipt.
   145.5 -
   145.6 -PACKAGE="pangox-compat-dev"
   145.7 -VERSION="0.0.2"
   145.8 -CATEGORY="development"
   145.9 -SHORT_DESC="Development files for pangox-compat"
  145.10 -MAINTAINER="yuripourre@gmail.com"
  145.11 -LICENSE="LGPL2"
  145.12 -WEB_SITE="http://www.gnome.org/"
  145.13 -
  145.14 -WANTED="pangox-compat"
  145.15 -DEPENDS="glib-dev libffi-dev xorg-libxcb-dev pango-dev pangox-compat pcre-dev \
  145.16 -xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev"
  145.17 -
  145.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
  145.19 -genpkg_rules()
  145.20 -{
  145.21 -	mkdir -p $fs/usr/lib
  145.22 -	cp -a $install/usr/include $fs/usr
  145.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  145.24 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
  145.25 -}
   146.1 --- a/pangox-compat/receipt	Tue Mar 06 11:29:35 2018 +0200
   146.2 +++ b/pangox-compat/receipt	Wed Mar 07 19:43:44 2018 +0200
   146.3 @@ -1,4 +1,4 @@
   146.4 -# SliTaz package receipt.
   146.5 +# SliTaz package receipt v2.
   146.6  
   146.7  PACKAGE="pangox-compat"
   146.8  VERSION="0.0.2"
   146.9 @@ -7,15 +7,14 @@
  146.10  MAINTAINER="yuripourre@gmail.com"
  146.11  LICENSE="LGPL2"
  146.12  WEB_SITE="http://www.gnome.org/"
  146.13 +
  146.14  TARBALL="$PACKAGE-$VERSION.tar.xz"
  146.15  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
  146.16  
  146.17 -DEPENDS="glib glibc-base libffi pango pcre xorg-libX11"
  146.18  BUILD_DEPENDS="pango-dev glib-dev xorg-libX11-dev"
  146.19 +SPLIT="pangox-compat-dev"
  146.20  
  146.21 -# Rules to configure and make the package.
  146.22 -compile_rules()
  146.23 -{
  146.24 +compile_rules() {
  146.25  	./configure \
  146.26  		--prefix=/usr \
  146.27  		--sysconfdir=/etc \
  146.28 @@ -24,9 +23,22 @@
  146.29  	make install
  146.30  }
  146.31  
  146.32 -genpkg_rules()
  146.33 -{
  146.34 -	mkdir -p $fs/usr/lib
  146.35 -	cp -a $install/etc $fs
  146.36 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  146.37 +genpkg_rules() {
  146.38 +	case $PACKAGE in
  146.39 +		pangox-compat)
  146.40 +			mkdir -p $fs/usr/lib
  146.41 +			cp -a $install/etc $fs
  146.42 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
  146.43 +			DEPENDS="glib glibc-base libffi pango pcre xorg-libX11"
  146.44 +			;;
  146.45 +		*-dev)
  146.46 +			mkdir -p $fs/usr/lib
  146.47 +			cp -a $install/usr/include $fs/usr
  146.48 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  146.49 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
  146.50 +			DEPENDS="glib-dev libffi-dev xorg-libxcb-dev pango-dev \
  146.51 +			pangox-compat pcre-dev xorg-libX11-dev xorg-libXau-dev \
  146.52 +			xorg-libXdmcp-dev"
  146.53 +			;;
  146.54 +	esac
  146.55  }
   147.1 --- a/pcsc-lite-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   147.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   147.3 @@ -1,21 +0,0 @@
   147.4 -# SliTaz package receipt.
   147.5 -
   147.6 -PACKAGE="pcsc-lite-dev"
   147.7 -VERSION="1.8.6"
   147.8 -CATEGORY="development"
   147.9 -SHORT_DESC="SCard interface for communicating to smart cards and readers, developement files"
  147.10 -MAINTAINER="pascal.bellard@slitaz.org"
  147.11 -LICENSE="BSD"
  147.12 -WEB_SITE="http://pcsclite.alioth.debian.org/"
  147.13 -WANTED="pcsc-lite"
  147.14 -
  147.15 -DEPENDS="pcsc-lite pkg-config"
  147.16 -
  147.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  147.18 -genpkg_rules()
  147.19 -{
  147.20 -	mkdir -p $fs/usr/lib
  147.21 -	cp -a $install/usr/include $fs/usr
  147.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
  147.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  147.24 -}
   148.1 --- a/pcsc-lite/receipt	Tue Mar 06 11:29:35 2018 +0200
   148.2 +++ b/pcsc-lite/receipt	Wed Mar 07 19:43:44 2018 +0200
   148.3 @@ -1,23 +1,20 @@
   148.4 -# SliTaz package receipt.
   148.5 +# SliTaz package receipt v2.
   148.6  
   148.7  PACKAGE="pcsc-lite"
   148.8  VERSION="1.8.6"
   148.9  CATEGORY="base-system"
  148.10 -SHORT_DESC="SCard interface for communicating to smart cards and readers."
  148.11 +SHORT_DESC="SCard interface for communicating to smart cards and readers"
  148.12  MAINTAINER="pascal.bellard@slitaz.org"
  148.13  LICENSE="BSD"
  148.14  WEB_SITE="http://pcsclite.alioth.debian.org/"
  148.15 +
  148.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
  148.17  WGET_URL="https://alioth.debian.org/frs/download.php/3741/$TARBALL"
  148.18  
  148.19 -SUGGESTED="ccid"
  148.20 -DEPENDS="udev"
  148.21 -BUILD_DEPENDS="wget udev-dev perl libtool"
  148.22 +BUILD_DEPENDS="udev-dev perl libtool"
  148.23 +SPLIT="pcsc-lite-dev"
  148.24  
  148.25 -# Rules to configure and make the package.
  148.26 -compile_rules()
  148.27 -{
  148.28 -	cd $src
  148.29 +compile_rules() {
  148.30  	./configure \
  148.31  		--prefix=/usr \
  148.32  		--enable-libudev \
  148.33 @@ -27,22 +24,33 @@
  148.34  	make && make DESTDIR=$DESTDIR install
  148.35  }
  148.36  
  148.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
  148.38 -genpkg_rules()
  148.39 -{
  148.40 -	mkdir -p $fs/usr/lib/pcsc/drivers $fs/etc
  148.41 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  148.42 -	cp -a $install/usr/sbin $fs/usr
  148.43 -	cp -a $install/usr/bin $fs/usr
  148.44 -	cp -a $stuff/init.d $fs/etc
  148.45 +genpkg_rules() {
  148.46 +	case $PACKAGE in
  148.47 +		pcsc-lite)
  148.48 +			mkdir -p $fs/usr/lib/pcsc/drivers $fs/etc
  148.49 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
  148.50 +			cp -a $install/usr/sbin $fs/usr
  148.51 +			cp -a $install/usr/bin $fs/usr
  148.52 +			cp -a $stuff/init.d $fs/etc
  148.53 +			DEPENDS="udev"
  148.54 +			SUGGESTED="ccid"
  148.55 +			;;
  148.56 +		*-dev)
  148.57 +			mkdir -p $fs/usr/lib
  148.58 +			cp -a $install/usr/include $fs/usr
  148.59 +			cp -a $install/usr/lib/*a $fs/usr/lib
  148.60 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  148.61 +			;;
  148.62 +	esac
  148.63  }
  148.64  
  148.65  # Daemon options in: daemons.conf
  148.66 -post_install()
  148.67 -{
  148.68 +post_install_pcsc_lite() {
  148.69  	if ! grep -q 'PCSCD_OPTIONS' "$1/etc/daemons.conf"; then
  148.70 -		echo '# PC/SC smart card daemon options.' >> "$1/etc/daemons.conf"
  148.71 -		echo 'PCSCD_OPTIONS=""' >> "$1/etc/daemons.conf"
  148.72 -		echo '' >> "$1/etc/daemons.conf"
  148.73 +		cat >> "$1/etc/daemons.conf" <<EOT
  148.74 +# PC/SC smart card daemon options.
  148.75 +PCSCD_OPTIONS=""
  148.76 +
  148.77 +EOT
  148.78  	fi
  148.79  }
   149.1 --- a/pilot-link-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   149.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   149.3 @@ -1,20 +0,0 @@
   149.4 -# SliTaz package receipt.
   149.5 -
   149.6 -PACKAGE="pilot-link-dev"
   149.7 -VERSION="0.12.5"
   149.8 -CATEGORY="development"
   149.9 -SHORT_DESC="pilot-link devel files."
  149.10 -MAINTAINER="Lucas Levrel <llev@slitaz.org>"
  149.11 -LICENSE="GPL-LGPL"
  149.12 -WANTED="pilot-link"
  149.13 -WEB_SITE="http://www.pilot-link.org/"
  149.14 -
  149.15 -DEPENDS="pilot-link"
  149.16 -
  149.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  149.18 -genpkg_rules()
  149.19 -{
  149.20 -	mkdir -p $fs/usr/share
  149.21 -	cp -a $install/usr/include $fs/usr
  149.22 -	cp -a $install/usr/share/aclocal $fs/usr/share
  149.23 -}
   150.1 --- a/pilot-link/receipt	Tue Mar 06 11:29:35 2018 +0200
   150.2 +++ b/pilot-link/receipt	Wed Mar 07 19:43:44 2018 +0200
   150.3 @@ -1,29 +1,37 @@
   150.4 -# SliTaz package receipt.
   150.5 +# SliTaz package receipt v2.
   150.6  
   150.7  PACKAGE="pilot-link"
   150.8  VERSION="0.12.5"
   150.9  CATEGORY="office"
  150.10 -SHORT_DESC="A suite of tools used to connect PalmOS compatible handhelds."
  150.11 +SHORT_DESC="A suite of tools used to connect PalmOS compatible handhelds"
  150.12  MAINTAINER="Lucas Levrel <llev@slitaz.org>"
  150.13  LICENSE="GPL-LGPL"
  150.14  WEB_SITE="http://www.pilot-link.org/"
  150.15 +
  150.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
  150.17  WGET_URL="http://downloads.pilot-link.org/$TARBALL"
  150.18  
  150.19 -DEPENDS="popt readline"
  150.20  BUILD_DEPENDS="popt-dev readline-dev"
  150.21 +SPLIT="pilot-link-dev"
  150.22  
  150.23 -# Rules to configure and make the package.
  150.24 -compile_rules()
  150.25 -{
  150.26 -	./configure $CONFIGURE_ARGS --prefix=/usr --enable-conduits \
  150.27 -		--sharedstatedir=/var/lib --localstatedir=/var &&
  150.28 +compile_rules() {
  150.29 +	./configure \
  150.30 +		--prefix=/usr \
  150.31 +		--enable-conduits \
  150.32 +		--sharedstatedir=/var/lib \
  150.33 +		--localstatedir=/var \
  150.34 +		$CONFIGURE_ARGS &&
  150.35  	make && make install
  150.36  }
  150.37  
  150.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
  150.39 -genpkg_rules()
  150.40 -{
  150.41 -	cp -a $install/* $fs
  150.42 -	rm -r $fs/usr/include $fs/usr/share/aclocal
  150.43 +genpkg_rules() {
  150.44 +	case $PACKAGE in
  150.45 +		pilot-link)
  150.46 +			copy @std
  150.47 +			DEPENDS="popt readline"
  150.48 +			;;
  150.49 +		*-dev)
  150.50 +			copy @dev
  150.51 +			;;
  150.52 +	esac
  150.53  }
   151.1 --- a/pth-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   151.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   151.3 @@ -1,20 +0,0 @@
   151.4 -# SliTaz package receipt.
   151.5 -
   151.6 -PACKAGE="pth-dev"
   151.7 -VERSION="2.0.7"
   151.8 -CATEGORY="system-tools"
   151.9 -SHORT_DESC="PTH devel files."
  151.10 -MAINTAINER="fraazz@altern.org"
  151.11 -LICENSE="LGPL2.1"
  151.12 -WANTED="pth"
  151.13 -WEB_SITE="http://www.gnu.org/software/pth/"
  151.14 -
  151.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
  151.16 -genpkg_rules()
  151.17 -{
  151.18 -	mkdir -p $fs/usr/lib $fs/usr/share
  151.19 -	cp -a $install/usr/bin $fs/usr
  151.20 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
  151.21 -	cp -a $install/usr/include $fs/usr
  151.22 -	cp -a $install/usr/share/aclocal $fs/usr/share
  151.23 -}
   152.1 --- a/pth/receipt	Tue Mar 06 11:29:35 2018 +0200
   152.2 +++ b/pth/receipt	Wed Mar 07 19:43:44 2018 +0200
   152.3 @@ -1,30 +1,32 @@
   152.4 -# SliTaz package receipt.
   152.5 +# SliTaz package receipt v2.
   152.6  
   152.7  PACKAGE="pth"
   152.8  VERSION="2.0.7"
   152.9  CATEGORY="system-tools"
  152.10 -SHORT_DESC="C library for multithreading inside server applications."
  152.11 +SHORT_DESC="C library for multithreading inside server applications"
  152.12  MAINTAINER="fraazz@altern.org"
  152.13  LICENSE="LGPL2.1"
  152.14 +WEB_SITE="http://www.gnu.org/software/pth/"
  152.15 +
  152.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
  152.17 -WEB_SITE="http://www.gnu.org/software/pth/"
  152.18  WGET_URL="ftp://ftp.ossp.org/pkg/lib/pth/$TARBALL" 
  152.19  
  152.20 -DEPENDS="libltdl"
  152.21 +SPLIT="pth-dev"
  152.22  
  152.23 -# Rules to configure and make the package.
  152.24 -compile_rules()
  152.25 -{
  152.26 -	cd $src
  152.27 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
  152.28 +compile_rules() {
  152.29 +	./configure $CONFIGURE_ARGS &&
  152.30  	make -j 1 &&
  152.31  	make -j 1 DESTDIR=$DESTDIR install
  152.32  }
  152.33  
  152.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
  152.35 -genpkg_rules()
  152.36 -{
  152.37 -	mkdir -p $fs/usr/lib
  152.38 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  152.39 +genpkg_rules() {
  152.40 +	case $PACKAGE in
  152.41 +		pth)
  152.42 +			copy @std
  152.43 +			DEPENDS="libltdl"
  152.44 +			;;
  152.45 +		*-dev)
  152.46 +			copy @dev
  152.47 +			;;
  152.48 +	esac
  152.49  }
  152.50 -
   153.1 --- a/python-edbus-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   153.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   153.3 @@ -1,21 +0,0 @@
   153.4 -# SliTaz package receipt.
   153.5 -
   153.6 -PACKAGE="python-edbus-dev"
   153.7 -VERSION="1.7.0"
   153.8 -CATEGORY="development"
   153.9 -SHORT_DESC="Python bindings for evas - Devel files."
  153.10 -MAINTAINER="domcox@slitaz.org"
  153.11 -LICENSE="LGPL2.1"
  153.12 -WANTED="python-edbus"
  153.13 -WEB_SITE="http://www.enlightenment.org/"
  153.14 -
  153.15 -DEPENDS="edbus-dev python-dev dbus-python-dev dbus-helper pkg-config"
  153.16 -
  153.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  153.18 -genpkg_rules()
  153.19 -{
  153.20 -	mkdir -p $fs/usr/lib
  153.21 -#	cp -a $install/usr/include $fs/usr
  153.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  153.23 -}
  153.24 -
   154.1 --- a/python-edbus/receipt	Tue Mar 06 11:29:35 2018 +0200
   154.2 +++ b/python-edbus/receipt	Wed Mar 07 19:43:44 2018 +0200
   154.3 @@ -1,4 +1,4 @@
   154.4 -# SliTaz package receipt.
   154.5 +# SliTaz package receipt v2.
   154.6  
   154.7  PACKAGE="python-edbus"
   154.8  VERSION="1.7.0"
   154.9 @@ -6,27 +6,34 @@
  154.10  SHORT_DESC="Python bindings for edbus"
  154.11  MAINTAINER="domcox@slitaz.org"
  154.12  LICENSE="LGPL2.1"
  154.13 -SOURCE="python-e_dbus"
  154.14 -TARBALL="$SOURCE-$VERSION.tar.bz2"
  154.15  WEB_SITE="http://www.enlightenment.org/"
  154.16 +
  154.17 +TARBALL="python-e_dbus-$VERSION.tar.bz2"
  154.18  WGET_URL="http://download.enlightenment.org/releases/BINDINGS/python/$TARBALL"
  154.19 -TAGS="e enlightenment python"
  154.20  
  154.21 -DEPENDS="edbus dbus-python dbus-helper"
  154.22  BUILD_DEPENDS="edbus-dev python-dev dbus-python-dev python-cython dbus-helper
  154.23  autoconf automake git subversion libtool"
  154.24 +SPLIT="python-edbus-dev"
  154.25  
  154.26 -# Rules to configure and make the package.
  154.27 -compile_rules()
  154.28 -{
  154.29 +compile_rules() {
  154.30  	./autogen.sh &&
  154.31  	./configure --prefix=/usr &&
  154.32 -    make $MAKEFLAGS all && make install
  154.33 +	make $MAKEFLAGS all && make install
  154.34  }
  154.35  
  154.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
  154.37 -genpkg_rules()
  154.38 -{
  154.39 -	mkdir -p $fs/usr/lib
  154.40 -	cp -a $install/usr/lib/python2.7 $fs/usr/lib
  154.41 +genpkg_rules() {
  154.42 +	case $PACKAGE in
  154.43 +		python-edbus)
  154.44 +			mkdir -p $fs/usr/lib
  154.45 +			cp -a $install/usr/lib/python2.7 $fs/usr/lib
  154.46 +			DEPENDS="edbus dbus-python dbus-helper"
  154.47 +			TAGS="e enlightenment python"
  154.48 +			;;
  154.49 +		*-dev)
  154.50 +			mkdir -p $fs/usr/lib
  154.51 +			# cp -a $install/usr/include $fs/usr
  154.52 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  154.53 +			DEPENDS="edbus-dev python-dev dbus-python-dev dbus-helper"
  154.54 +			;;
  154.55 +	esac
  154.56  }
   155.1 --- a/python-edje-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   155.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   155.3 @@ -1,21 +0,0 @@
   155.4 -# SliTaz package receipt.
   155.5 -
   155.6 -PACKAGE="python-edje-dev"
   155.7 -VERSION="1.7.0"
   155.8 -CATEGORY="development"
   155.9 -SHORT_DESC="Python bindings for Evas - Devel files."
  155.10 -MAINTAINER="domcox@slitaz.org"
  155.11 -LICENSE="LGPL2.1"
  155.12 -WANTED="python-edje"
  155.13 -WEB_SITE="http://www.enlightenment.org/"
  155.14 -
  155.15 -DEPENDS="edje-dev python-evas-dev pkg-config"
  155.16 -
  155.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  155.18 -genpkg_rules()
  155.19 -{
  155.20 -	mkdir -p $fs/usr/lib
  155.21 -	cp -a $install/usr/include $fs/usr
  155.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  155.23 -}
  155.24 -
   156.1 --- a/python-edje/receipt	Tue Mar 06 11:29:35 2018 +0200
   156.2 +++ b/python-edje/receipt	Wed Mar 07 19:43:44 2018 +0200
   156.3 @@ -1,4 +1,4 @@
   156.4 -# SliTaz package receipt.
   156.5 +# SliTaz package receipt v2.
   156.6  
   156.7  PACKAGE="python-edje"
   156.8  VERSION="1.7.0"
   156.9 @@ -6,26 +6,34 @@
  156.10  SHORT_DESC="Python bindings for Edje"
  156.11  MAINTAINER="domcox@slitaz.org"
  156.12  LICENSE="LGPL2.1"
  156.13 +WEB_SITE="http://www.enlightenment.org/"
  156.14 +
  156.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
  156.16 -WEB_SITE="http://www.enlightenment.org/"
  156.17  WGET_URL="http://download.enlightenment.org/releases/BINDINGS/python/$TARBALL"
  156.18 -TAGS="e enlightenment python"
  156.19  
  156.20 -DEPENDS="edje python-evas libxml2"
  156.21  BUILD_DEPENDS="edje-dev python-evas-dev \
  156.22  python-cython autoconf automake git subversion libtool libxml2-dev"
  156.23 +SPLIT="python-edje-dev"
  156.24  
  156.25 -# Rules to configure and make the package.
  156.26 -compile_rules()
  156.27 -{
  156.28 +compile_rules() {
  156.29  	./autogen.sh &&
  156.30  	./configure --prefix=/usr &&
  156.31  	make $MAKEFLAGS all && make install
  156.32  }
  156.33  
  156.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
  156.35 -genpkg_rules()
  156.36 -{
  156.37 -	mkdir -p $fs/usr/lib
  156.38 -	cp -a $install/usr/lib/python2.7 $fs/usr/lib
  156.39 +genpkg_rules() {
  156.40 +	case $PACKAGE in
  156.41 +		python-edje)
  156.42 +			mkdir -p $fs/usr/lib
  156.43 +			cp -a $install/usr/lib/python2.7 $fs/usr/lib
  156.44 +			DEPENDS="edje python-evas libxml2"
  156.45 +			TAGS="e enlightenment python"
  156.46 +			;;
  156.47 +		*-dev)
  156.48 +			mkdir -p $fs/usr/lib
  156.49 +			cp -a $install/usr/include $fs/usr
  156.50 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  156.51 +			DEPENDS="edje-dev python-evas-dev pkg-config"
  156.52 +			;;
  156.53 +	esac
  156.54  }
   157.1 --- a/sarg-php/receipt	Tue Mar 06 11:29:35 2018 +0200
   157.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   157.3 @@ -1,26 +0,0 @@
   157.4 -# SliTaz package receipt.
   157.5 -
   157.6 -PACKAGE="sarg-php"
   157.7 -VERSION="2.3.1"
   157.8 -CATEGORY="network"
   157.9 -SHORT_DESC="Squid Analysis Report Generator."
  157.10 -MAINTAINER="erjo@slitaz.org"
  157.11 -LICENSE="GPL2"
  157.12 -WEB_SITE="http://$PACKAGE.sourceforge.net/"
  157.13 -WANTED="sarg"
  157.14 -
  157.15 -DEPENDS="lighttpd php"
  157.16 -
  157.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  157.18 -genpkg_rules()
  157.19 -{
  157.20 -	mkdir -p $fs/var/www
  157.21 -	
  157.22 -	cp -pa $src/sarg-php $fs/var/www	
  157.23 -	# Fix perms
  157.24 -	chmod 755 $fs/var/www/sarg-php
  157.25 -	chmod 644 -R $fs/var/www/sarg-php/*
  157.26 -	chmod 755  $fs/var/www/sarg-php/locale
  157.27 -	
  157.28 -}
  157.29 -
   158.1 --- a/sarg/receipt	Tue Mar 06 11:29:35 2018 +0200
   158.2 +++ b/sarg/receipt	Wed Mar 07 19:43:44 2018 +0200
   158.3 @@ -1,19 +1,21 @@
   158.4 -# SliTaz package receipt.
   158.5 +# SliTaz package receipt v2.
   158.6  
   158.7  PACKAGE="sarg"
   158.8  VERSION="2.3.1"
   158.9  CATEGORY="network"
  158.10 -SHORT_DESC="Squid Analysis Report Generator."
  158.11 +SHORT_DESC="Squid Analysis Report Generator"
  158.12  MAINTAINER="pascal.bellard@slitaz.org"
  158.13  LICENSE="GPL2"
  158.14 +WEB_SITE="http://sarg.sourceforge.net/"
  158.15 +
  158.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
  158.17 -WEB_SITE="http://$PACKAGE.sourceforge.net/"
  158.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
  158.19  
  158.20 -# Rules to configure and make the package.
  158.21 -compile_rules()
  158.22 -{
  158.23 -	./configure --sysconfdir=/etc/sarg \
  158.24 +SPLIT="sarg-php"
  158.25 +
  158.26 +compile_rules() {
  158.27 +	./configure \
  158.28 +		--sysconfdir=/etc/sarg \
  158.29  		--bindir=/usr/bin \
  158.30  		--enable-htmldir=/var/www \
  158.31  		--enable-fontdir=/usr/share/sarg/fonts \
  158.32 @@ -22,17 +24,30 @@
  158.33  		&&	make && make install
  158.34  }
  158.35  
  158.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
  158.37 -genpkg_rules()
  158.38 -{
  158.39 -	mkdir -p $fs/usr $fs/usr/share
  158.40 -	#cp -a $install/var $fs
  158.41 -	cp -a $install/etc $fs
  158.42 -	cp -a $install/usr/bin $fs/usr
  158.43 -	cp -a $install/usr/share/sarg $fs/usr/share
  158.44 -	
  158.45 -	sed -i -e "s!^#access_log.*!access_log /var/log/squid/access_log!" \
  158.46 -		-e "s!^#output_dir.*!output_dir /var/www/squid-reports!" \
  158.47 -		$fs/etc/sarg/sarg.conf
  158.48 +genpkg_rules() {
  158.49 +	case $PACKAGE in
  158.50 +		sarg)
  158.51 +			mkdir -p $fs/usr $fs/usr/share
  158.52 +			#cp -a $install/var $fs
  158.53 +			cp -a $install/etc $fs
  158.54 +			cp -a $install/usr/bin $fs/usr
  158.55 +			cp -a $install/usr/share/sarg $fs/usr/share
  158.56 +
  158.57 +			sed -i -e "s!^#access_log.*!access_log /var/log/squid/access_log!" \
  158.58 +				-e "s!^#output_dir.*!output_dir /var/www/squid-reports!" \
  158.59 +				$fs/etc/sarg/sarg.conf
  158.60 +			;;
  158.61 +		sarg-php)
  158.62 +			mkdir -p $fs/var/www
  158.63 +
  158.64 +			cp -pa $src/sarg-php $fs/var/www
  158.65 +			# Fix perms
  158.66 +			chmod 755 $fs/var/www/sarg-php
  158.67 +			chmod 644 -R $fs/var/www/sarg-php/*
  158.68 +			chmod 755  $fs/var/www/sarg-php/locale
  158.69 +			CAT="network|?"
  158.70 +			DEPENDS="lighttpd php"
  158.71 +			;;
  158.72 +	esac
  158.73  }
  158.74  
   159.1 --- a/scratch-help/receipt	Tue Mar 06 11:29:35 2018 +0200
   159.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   159.3 @@ -1,19 +0,0 @@
   159.4 -# SliTaz package receipt.
   159.5 -
   159.6 -PACKAGE="scratch-help"
   159.7 -VERSION="1.4.0.7"
   159.8 -CATEGORY="development"
   159.9 -SHORT_DESC="Scratch Help"
  159.10 -LICENSE="GPL2"
  159.11 -MAINTAINER="pankso@slitaz.org"
  159.12 -WEB_SITE="http://www.slitaz.org/"
  159.13 -
  159.14 -WANTED="scratch"
  159.15 -DEPENDS="scratch"
  159.16 -
  159.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  159.18 -genpkg_rules()
  159.19 -{
  159.20 -	mkdir -p $fs/usr/share/scratch
  159.21 -	cp -rp ${src}/Help $fs/usr/share/scratch
  159.22 -}
   160.1 --- a/scratch/receipt	Tue Mar 06 11:29:35 2018 +0200
   160.2 +++ b/scratch/receipt	Wed Mar 07 19:43:44 2018 +0200
   160.3 @@ -1,22 +1,20 @@
   160.4 -# SliTaz package receipt.
   160.5 +# SliTaz package receipt v2.
   160.6  
   160.7  PACKAGE="scratch"
   160.8  VERSION="1.4.0.7"
   160.9  CATEGORY="network"
  160.10 -SHORT_DESC="Create and share interactive stories, games, music and art."
  160.11 +SHORT_DESC="Create and share interactive stories, games, music and art"
  160.12  MAINTAINER="pankso@slitaz.org"
  160.13  LICENSE="GPL2"
  160.14 +WEB_SITE="http://scratch.mit.edu/"
  160.15 +
  160.16  TARBALL="$PACKAGE-$VERSION.src.tar.gz"
  160.17 -WEB_SITE="http://scratch.mit.edu/"
  160.18  WGET_URL="http://download.scratch.mit.edu/$TARBALL"
  160.19  
  160.20 -SUGGESTED="scratch-help"
  160.21 -DEPENDS="pango shared-mime-info squeak-vm"
  160.22  BUILD_DEPENDS="pango-dev shared-mime-info-dev"
  160.23 +SPLIT="scratch-help"
  160.24  
  160.25 -# Rules to configure and make the package.
  160.26 -compile_rules()
  160.27 -{
  160.28 +compile_rules() {
  160.29  	# Fix cross compilation: gcc is hardcoded
  160.30  	sed -i s"/gcc/${HOST_SYSTEM}-gcc/" src/plugins/*/Makefile &&
  160.31  	sed -i 's/-vm-sound-pulse/-vm-sound-ALSA/' src/scratch &&
  160.32 @@ -43,9 +41,19 @@
  160.33  		${DESTDIR}/usr/share/icons/hicolor/48x48/mimetypes
  160.34  }
  160.35  
  160.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
  160.37 -genpkg_rules()
  160.38 -{
  160.39 -	cp -a $install/* $fs
  160.40 -	rm -rf $fs/usr/share/mime
  160.41 +genpkg_rules() {
  160.42 +	case $PACKAGE in
  160.43 +		scratch)
  160.44 +			cp -a $install/* $fs
  160.45 +			rm -rf $fs/usr/share/mime
  160.46 +			SUGGESTED="scratch-help"
  160.47 +			DEPENDS="pango shared-mime-info squeak-vm"
  160.48 +			;;
  160.49 +		scratch-help)
  160.50 +			CAT="development|help"
  160.51 +			DEPENDS="scratch"
  160.52 +			mkdir -p $fs/usr/share/scratch
  160.53 +			cp -rp ${src}/Help $fs/usr/share/scratch
  160.54 +			;;
  160.55 +	esac
  160.56  }
   161.1 --- a/slitaz-icons-nuovext/receipt	Tue Mar 06 11:29:35 2018 +0200
   161.2 +++ b/slitaz-icons-nuovext/receipt	Wed Mar 07 19:43:44 2018 +0200
   161.3 @@ -1,4 +1,4 @@
   161.4 -# SliTaz package receipt.
   161.5 +# SliTaz package receipt v2.
   161.6  
   161.7  PACKAGE="slitaz-icons-nuovext"
   161.8  VERSION="0.5.1"
   161.9 @@ -8,19 +8,15 @@
  161.10  LICENSE="GPL3"
  161.11  WEB_SITE="http://www.slitaz.org/"
  161.12  
  161.13 -WANTED="lxde-icon-theme"
  161.14 -BUILD_DEPENDS="make-slitaz-icons"
  161.15 +BUILD_DEPENDS="lxde-icon-theme make-slitaz-icons"
  161.16  
  161.17 -# Rules to compile and makethe package.
  161.18  compile_rules() {
  161.19  	mksit.sh \
  161.20 -		-f $install/usr/share/icons/nuoveXT2 \
  161.21 -		-t $fs/usr/share/icons/SliTaz-nuoveXT2 \
  161.22 +		-f /usr/share/icons/nuoveXT2 \
  161.23 +		-t $install/usr/share/icons/SliTaz-nuoveXT2 \
  161.24  		-opmax -nocolor
  161.25  }
  161.26  
  161.27 -# Rules to gen a SliTaz package suitable for Tazpkg.
  161.28 -genpkg_rules()
  161.29 -{
  161.30 -	:
  161.31 +genpkg_rules() {
  161.32 +	copy @std
  161.33  }
   162.1 --- a/slitaz-icons-tango/receipt	Tue Mar 06 11:29:35 2018 +0200
   162.2 +++ b/slitaz-icons-tango/receipt	Wed Mar 07 19:43:44 2018 +0200
   162.3 @@ -1,4 +1,4 @@
   162.4 -# SliTaz package receipt.
   162.5 +# SliTaz package receipt v2.
   162.6  
   162.7  PACKAGE="slitaz-icons-tango"
   162.8  VERSION="0.8.90"
   162.9 @@ -8,19 +8,15 @@
  162.10  LICENSE="PublicDomain"
  162.11  WEB_SITE="http://www.slitaz.org/"
  162.12  
  162.13 -WANTED="tango-icon-theme"
  162.14 -BUILD_DEPENDS="make-slitaz-icons"
  162.15 +BUILD_DEPENDS="tango-icon-theme make-slitaz-icons"
  162.16  
  162.17 -# Rules to compile and makethe package.
  162.18  compile_rules() {
  162.19  	mksit.sh \
  162.20 -		-f $install/usr/share/icons/Tango \
  162.21 -		-t $fs/usr/share/icons/SliTaz-Tango \
  162.22 +		-f /usr/share/icons/Tango \
  162.23 +		-t $install/usr/share/icons/SliTaz-Tango \
  162.24  		-opmax -nocolor
  162.25  }
  162.26  
  162.27 -# Rules to gen a SliTaz package suitable for Tazpkg.
  162.28 -genpkg_rules()
  162.29 -{
  162.30 -	:
  162.31 +genpkg_rules() {
  162.32 +	copy @std
  162.33  }
   163.1 --- a/snort-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   163.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   163.3 @@ -1,21 +0,0 @@
   163.4 -# SliTaz package receipt.
   163.5 -
   163.6 -PACKAGE="snort-dev"
   163.7 -VERSION="2.9.4"
   163.8 -CATEGORY="development"
   163.9 -SHORT_DESC="Network intrusion prevention and detection system, development files."
  163.10 -MAINTAINER="pascal.bellard@slitaz.org"
  163.11 -LICENSE="GPL2"
  163.12 -WEB_SITE="http://www.snort.org/"
  163.13 -WANTED="snort"
  163.14 -
  163.15 -DEPENDS="snort pkg-config"
  163.16 -
  163.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  163.18 -genpkg_rules()
  163.19 -{
  163.20 -	mkdir -p $fs/usr
  163.21 -	cp -a $install/usr/src $fs/usr
  163.22 -	cp -a $install/usr/lib $fs/usr
  163.23 -	rm -rf $fs/usr/lib/*/*.so*
  163.24 -}
   164.1 --- a/snort/receipt	Tue Mar 06 11:29:35 2018 +0200
   164.2 +++ b/snort/receipt	Wed Mar 07 19:43:44 2018 +0200
   164.3 @@ -1,33 +1,33 @@
   164.4 -# SliTaz package receipt.
   164.5 +# SliTaz package receipt v2.
   164.6  
   164.7  PACKAGE="snort"
   164.8  VERSION="2.9.4"
   164.9  CATEGORY="network"
  164.10 -SHORT_DESC="Network intrusion prevention and detection system (IDS/IPS)."
  164.11 +SHORT_DESC="Network intrusion prevention and detection system (IDS/IPS)"
  164.12  MAINTAINER="pascal.bellard@slitaz.org"
  164.13  LICENSE="GPL2"
  164.14 +WEB_SITE="http://www.snort.org/"
  164.15 +
  164.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
  164.17 -WEB_SITE="http://www.snort.org/"
  164.18  WGET_URL="http://www.snort.org/downloads/1207"
  164.19  
  164.20 -DEPENDS="pcre libdnet libdaq"
  164.21  BUILD_DEPENDS="pcre-dev libpcap-dev libdaq-dev libdnet-dev wget flex zlib-dev"
  164.22 +SPLIT="snort-dev"
  164.23  
  164.24 -# Rules to configure and make the package.
  164.25 -compile_rules()
  164.26 -{
  164.27 -	./configure \
  164.28 -		$CONFIGURE_ARGS &&
  164.29 +compile_rules() {
  164.30 +	./configure $CONFIGURE_ARGS &&
  164.31  	make &&
  164.32  	make DESTDIR=$DESTDIR install
  164.33  }
  164.34  
  164.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
  164.36 -genpkg_rules()
  164.37 -{
  164.38 -	mkdir -p $fs/usr/
  164.39 -	cp -a $install/usr/bin $fs/usr
  164.40 -	cp -a $install/usr/lib $fs/usr
  164.41 -	rm -f $fs/usr/lib/*/*a
  164.42 -	rm -rf $fs/usr/lib/pkgconfig
  164.43 +genpkg_rules() {
  164.44 +	case $PACKAGE in
  164.45 +		snort)
  164.46 +			copy @std
  164.47 +			DEPENDS="pcre libdnet libdaq"
  164.48 +			;;
  164.49 +		*-dev)
  164.50 +			copy @dev
  164.51 +			;;
  164.52 +	esac
  164.53  }
   165.1 --- a/swfdec-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   165.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   165.3 @@ -1,21 +0,0 @@
   165.4 -# SliTaz package receipt.
   165.5 -
   165.6 -PACKAGE="swfdec-dev"
   165.7 -VERSION="0.9.2"
   165.8 -CATEGORY="development"
   165.9 -SHORT_DESC="Macromedia Flash decoding library"
  165.10 -MAINTAINER="devl547@gmail.com"
  165.11 -LICENSE="LGPL2.1"
  165.12 -WEB_SITE="http://swfdec.freedesktop.org/"
  165.13 -WANTED="swfdec"
  165.14 -
  165.15 -DEPENDS="pkg-config"
  165.16 -
  165.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  165.18 -genpkg_rules()
  165.19 -{
  165.20 -	mkdir -p $fs/usr/
  165.21 -	cp -a $install/usr/include $fs/usr/lib
  165.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
  165.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  165.24 -}
   166.1 --- a/swfdec/receipt	Tue Mar 06 11:29:35 2018 +0200
   166.2 +++ b/swfdec/receipt	Wed Mar 07 19:43:44 2018 +0200
   166.3 @@ -1,4 +1,4 @@
   166.4 -# SliTaz package receipt.
   166.5 +# SliTaz package receipt v2.
   166.6  
   166.7  PACKAGE="swfdec"
   166.8  VERSION="0.9.2"
   166.9 @@ -6,27 +6,36 @@
  166.10  SHORT_DESC="Macromedia Flash decoding library"
  166.11  MAINTAINER="devl547@gmail.com"
  166.12  LICENSE="LGPL2.1"
  166.13 +WEB_SITE="http://swfdec.freedesktop.org/"
  166.14 +
  166.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
  166.16 -WEB_SITE="http://swfdec.freedesktop.org/"
  166.17  WGET_URL="http://swfdec.freedesktop.org/download/swfdec/${VERSION%.*}/$TARBALL"
  166.18  
  166.19 -DEPENDS="glib liboil pango gtk+ libsoup cairo alsa-lib gstreamer0 gst0-plugins-base"
  166.20  BUILD_DEPENDS="glib-dev liboil-dev pango-dev gtk+-dev libsoup-dev \
  166.21  cairo-dev alsa-lib-dev gstreamer0-dev gst0-plugins-base-dev sqlite3-dev"
  166.22 +SPLIT="swfdec-dev"
  166.23  
  166.24 -# Rules to configure and make the package.
  166.25 -compile_rules()
  166.26 -{
  166.27 -	./configure --prefix=/usr --infodir=/usr/share/info \
  166.28 -	--mandir=/usr/share/man $CONFIGURE_ARGS \
  166.29 -	--enable-gtk --with-audio="alsa" &&
  166.30 +compile_rules() {
  166.31 +	./configure \
  166.32 +		--prefix=/usr \
  166.33 +		--infodir=/usr/share/info \
  166.34 +		--mandir=/usr/share/man \
  166.35 +		--enable-gtk \
  166.36 +		--with-audio="alsa" \
  166.37 +		$CONFIGURE_ARGS &&
  166.38  	make &&
  166.39  	make DESTDIR=$DESTDIR install
  166.40  }
  166.41  
  166.42 -# Rules to gen a SliTaz package suitable for Tazpkg.
  166.43 -genpkg_rules()
  166.44 -{
  166.45 -	mkdir -p $fs/usr/lib
  166.46 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  166.47 +genpkg_rules() {
  166.48 +	case $PACKAGE in
  166.49 +		swfdec)
  166.50 +			copy @std
  166.51 +			DEPENDS="glib liboil pango gtk+ libsoup cairo alsa-lib gstreamer0 \
  166.52 +			gst0-plugins-base"
  166.53 +			;;
  166.54 +		*-dev)
  166.55 +			copy @dev
  166.56 +			;;
  166.57 +	esac
  166.58  }
   167.1 --- a/udisks-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   167.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   167.3 @@ -1,17 +0,0 @@
   167.4 -# SliTaz package receipt.
   167.5 -
   167.6 -PACKAGE="udisks-dev"
   167.7 -VERSION="1.0.4"
   167.8 -CATEGORY="development"
   167.9 -SHORT_DESC="The Udisks devel files."
  167.10 -MAINTAINER="pankso@slitaz.org"
  167.11 -LICENSE="GPL2"
  167.12 -WANTED="udisks"
  167.13 -WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
  167.14 -
  167.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
  167.16 -genpkg_rules()
  167.17 -{
  167.18 -	mkdir -p $fs/usr/share
  167.19 -	cp -a $install/usr/share/pkgconfig $fs/usr/share
  167.20 -}
   168.1 --- a/udisks/receipt	Tue Mar 06 11:29:35 2018 +0200
   168.2 +++ b/udisks/receipt	Wed Mar 07 19:43:44 2018 +0200
   168.3 @@ -1,25 +1,22 @@
   168.4 -# SliTaz package receipt.
   168.5 +# SliTaz package receipt v2.
   168.6  
   168.7  PACKAGE="udisks"
   168.8  VERSION="1.0.4"
   168.9  CATEGORY="system-tools"
  168.10 -SHORT_DESC="D-Bus interfaces to query and manipulate storage devices."
  168.11 +SHORT_DESC="D-Bus interfaces to query and manipulate storage devices"
  168.12  MAINTAINER="pankso@slitaz.org"
  168.13  LICENSE="GPL2"
  168.14 +WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
  168.15 +
  168.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
  168.17 -WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
  168.18  WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
  168.19  
  168.20 -DEPENDS="libatasmart udev libsgutils2 sg3_utils libgudev polkit dbus util-linux-blkid \
  168.21 -dbus-helper parted libdevmapper glib util-linux-mount lsof"
  168.22  BUILD_DEPENDS="libatasmart-dev udev-dev sg3_utils-dev libgudev-dev \
  168.23  polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev parted-dev libdevmapper-dev \
  168.24  util-linux-blkid-dev util-linux-uuid-dev intltool"
  168.25 +SPLIT="udisks-dev"
  168.26  
  168.27 -# Rules to configure and make the package.
  168.28 -compile_rules()
  168.29 -{
  168.30 -	cd $src
  168.31 +compile_rules() {
  168.32  	./configure \
  168.33  		--prefix=/usr \
  168.34  		--libexecdir=/usr/lib/udisks \
  168.35 @@ -32,21 +29,30 @@
  168.36  	make && make install
  168.37  }
  168.38  
  168.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
  168.40 -genpkg_rules()
  168.41 -{
  168.42 -	mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \
  168.43 -		$fs/usr/lib/udev $fs/usr/share $fs/etc/udev
  168.44 -	cp -a $install/etc/dbus-1 $fs/etc
  168.45 -	cp -a $install/lib/udev/rules.d $fs/etc/udev
  168.46 -	cp -a $install/lib/udev/udisks* $fs/usr/lib/udev/
  168.47 -	cp -a $install/usr/bin $fs/usr
  168.48 -	cp -a $install/sbin $fs
  168.49 -	cp -a $install/usr/lib/udisks $fs/usr/lib
  168.50 -	cp -a $install/usr/share/*-1 $fs/usr/share
  168.51 -	#we don't have consolekit and don't want systemd so we need
  168.52 -	#a rule to give disk group complete access to udisks2
  168.53 -	#methods without password.
  168.54 -	cp $stuff/org.freedesktop.udisks.pkla \
  168.55 -		$fs/etc/polkit-1/localauthority/90-mandatory.d
  168.56 +genpkg_rules() {
  168.57 +	case $PACKAGE in
  168.58 +		udisks)
  168.59 +			mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \
  168.60 +				$fs/usr/lib/udev $fs/usr/share $fs/etc/udev
  168.61 +			cp -a $install/etc/dbus-1 $fs/etc
  168.62 +			cp -a $install/lib/udev/rules.d $fs/etc/udev
  168.63 +			cp -a $install/lib/udev/udisks* $fs/usr/lib/udev/
  168.64 +			cp -a $install/usr/bin $fs/usr
  168.65 +			cp -a $install/sbin $fs
  168.66 +			cp -a $install/usr/lib/udisks $fs/usr/lib
  168.67 +			cp -a $install/usr/share/*-1 $fs/usr/share
  168.68 +			#we don't have consolekit and don't want systemd so we need
  168.69 +			#a rule to give disk group complete access to udisks2
  168.70 +			#methods without password.
  168.71 +			cp $stuff/org.freedesktop.udisks.pkla \
  168.72 +				$fs/etc/polkit-1/localauthority/90-mandatory.d
  168.73 +			DEPENDS="libatasmart udev libsgutils2 sg3_utils libgudev polkit \
  168.74 +			dbus util-linux-blkid dbus-helper parted libdevmapper glib \
  168.75 +			util-linux-mount lsof"
  168.76 +			;;
  168.77 +		*-dev)
  168.78 +			mkdir -p $fs/usr/share
  168.79 +			cp -a $install/usr/share/pkgconfig $fs/usr/share
  168.80 +			;;
  168.81 +	esac
  168.82  }
   169.1 --- a/usbmuxd-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   169.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   169.3 @@ -1,21 +0,0 @@
   169.4 -# SliTaz package receipt.
   169.5 -
   169.6 -PACKAGE="usbmuxd-dev"
   169.7 -VERSION="1.0.7"
   169.8 -CATEGORY="development"
   169.9 -SHORT_DESC="devel files for usbmuxd-dev"
  169.10 -MAINTAINER="slaxemulator@gmail.com"
  169.11 -LICENSE="GPL2 GPL3 LGPL2.1"
  169.12 -WEB_SITE="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
  169.13 -WANTED="usbmuxd"
  169.14 -
  169.15 -DEPENDS="usbmuxd pkg-config"
  169.16 -
  169.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  169.18 -genpkg_rules()
  169.19 -{
  169.20 -	mkdir -p $fs/usr/lib
  169.21 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  169.22 -	cp -a $install/usr/include $fs/usr
  169.23 -}
  169.24 -
   170.1 --- a/usbmuxd/receipt	Tue Mar 06 11:29:35 2018 +0200
   170.2 +++ b/usbmuxd/receipt	Wed Mar 07 19:43:44 2018 +0200
   170.3 @@ -1,4 +1,4 @@
   170.4 -# SliTaz package receipt.
   170.5 +# SliTaz package receipt v2.
   170.6  
   170.7  PACKAGE="usbmuxd"
   170.8  VERSION="1.0.7"
   170.9 @@ -6,18 +6,15 @@
  170.10  SHORT_DESC="USB Multiplex Daemon"
  170.11  MAINTAINER="slaxemulator@gmail.com"
  170.12  LICENSE="GPL2 GPL3 LGPL2.1"
  170.13 +WEB_SITE="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
  170.14 +
  170.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
  170.16 -WEB_SITE="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
  170.17  WGET_URL="http://marcansoft.com/uploads/$PACKAGE/$TARBALL"
  170.18  
  170.19 -DEPENDS="libusb libplist"
  170.20  BUILD_DEPENDS="cmake libusb-dev libplist-dev"
  170.21 +SPLIT="usbmuxd-dev"
  170.22  
  170.23 -# Rules to configure and make the package.
  170.24 -compile_rules()
  170.25 -{
  170.26 -	cd $src
  170.27 -	patch -Np1 -i $stuff/usbmuxd-udevuser.patch
  170.28 +compile_rules() {
  170.29  	sed -i 's|/lib/udev/rules.d/|/etc/udev/rules.d/|g' udev/CMakeLists.txt
  170.30  	mkdir build
  170.31  	cd build
  170.32 @@ -25,19 +22,26 @@
  170.33  	make && make install
  170.34  }
  170.35  
  170.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
  170.37 -genpkg_rules()
  170.38 -{
  170.39 -	mkdir -p $fs/usr/lib $fs/etc
  170.40 -	cp -a $install/etc/udev $fs/etc
  170.41 -	cp -a $install/usr/bin $fs/usr
  170.42 -	cp -a $install/usr/sbin $fs/usr
  170.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  170.44 +genpkg_rules() {
  170.45 +	case $PACKAGE in
  170.46 +		usbmuxd)
  170.47 +			mkdir -p $fs/usr/lib $fs/etc
  170.48 +			cp -a $install/etc/udev $fs/etc
  170.49 +			cp -a $install/usr/bin $fs/usr
  170.50 +			cp -a $install/usr/sbin $fs/usr
  170.51 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
  170.52 +			DEPENDS="libusb libplist"
  170.53 +			;;
  170.54 +		*-dev)
  170.55 +			mkdir -p $fs/usr/lib
  170.56 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  170.57 +			cp -a $install/usr/include $fs/usr
  170.58 +			;;
  170.59 +	esac
  170.60  }
  170.61  
  170.62 -post_install()
  170.63 -{
  170.64 -	# adduser usbmuxd if needed
  170.65 +# Add user usbmuxd if needed
  170.66 +post_install_usbmuxd() {
  170.67  	if ! grep -q usbmuxd "$1/etc/passwd"; then
  170.68  		echo -n "Adding user privoxy..."
  170.69  		chroot "$1/" adduser -s /bin/false -H -D -u 140 usbmuxd
  170.70 @@ -51,9 +55,8 @@
  170.71  	fi
  170.72  }
  170.73  
  170.74 -# Del user usbmuxd when pkg is removed.
  170.75 -post_remove()
  170.76 -{
  170.77 +# Del user usbmuxd when pkg is removed
  170.78 +post_remove_usbmuxd() {
  170.79  	chroot "$1/" deluser usbmuxd
  170.80  	chroot "$1/" delgroup usbmuxd
  170.81  }
   171.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   171.2 +++ b/usbmuxd/stuff/patches/series	Wed Mar 07 19:43:44 2018 +0200
   171.3 @@ -0,0 +1,1 @@
   171.4 +usbmuxd-udevuser.patch
   172.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   172.2 +++ b/usbmuxd/stuff/patches/usbmuxd-udevuser.patch	Wed Mar 07 19:43:44 2018 +0200
   172.3 @@ -0,0 +1,11 @@
   172.4 +--- usbmuxd-1.0.6/udev/85-usbmuxd.rules.in.orig	2010-11-09 04:23:44.873368717 -0800
   172.5 ++++ usbmuxd-1.0.6/udev/85-usbmuxd.rules.in	2010-11-09 04:24:13.986655838 -0800
   172.6 +@@ -1,7 +1,7 @@
   172.7 + # usbmuxd (iPhone "Apple Mobile Device" MUXer listening on /var/run/usbmuxd)
   172.8 + 
   172.9 + # Forces iPhone 1.0, 3G, 3GS, iPodTouch 1/2 and iPad to USB configuration 3 and run usbmuxd
  172.10 +-ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9a-f]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurationValue}="$attr{bNumConfigurations}", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -u -U usbmux"
  172.11 ++ACTION=="add", SUBSYSTEM=="usb", OWNER="usbmux", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9a-f]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurationValue}="$attr{bNumConfigurations}", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -u -U usbmux"
  172.12 + 
  172.13 + # Exit usbmuxd when the last device is removed
  172.14 + ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="5ac/129[0-9a-f]/*", ENV{INTERFACE}=="255/*", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -x"
   173.1 --- a/usbmuxd/stuff/usbmuxd-udevuser.patch	Tue Mar 06 11:29:35 2018 +0200
   173.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   173.3 @@ -1,11 +0,0 @@
   173.4 ---- usbmuxd-1.0.6/udev/85-usbmuxd.rules.in.orig	2010-11-09 04:23:44.873368717 -0800
   173.5 -+++ usbmuxd-1.0.6/udev/85-usbmuxd.rules.in	2010-11-09 04:24:13.986655838 -0800
   173.6 -@@ -1,7 +1,7 @@
   173.7 - # usbmuxd (iPhone "Apple Mobile Device" MUXer listening on /var/run/usbmuxd)
   173.8 - 
   173.9 - # Forces iPhone 1.0, 3G, 3GS, iPodTouch 1/2 and iPad to USB configuration 3 and run usbmuxd
  173.10 --ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9a-f]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurationValue}="$attr{bNumConfigurations}", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -u -U usbmux"
  173.11 -+ACTION=="add", SUBSYSTEM=="usb", OWNER="usbmux", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9a-f]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurationValue}="$attr{bNumConfigurations}", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -u -U usbmux"
  173.12 - 
  173.13 - # Exit usbmuxd when the last device is removed
  173.14 - ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="5ac/129[0-9a-f]/*", ENV{INTERFACE}=="255/*", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -x"
   174.1 --- a/usbredir-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   174.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   174.3 @@ -1,21 +0,0 @@
   174.4 -# SliTaz package receipt.
   174.5 -
   174.6 -PACKAGE="usbredir-dev"
   174.7 -VERSION="0.7"
   174.8 -CATEGORY="development"
   174.9 -SHORT_DESC="A protocol to send usb traffic over a network connection."
  174.10 -MAINTAINER="pascal.bellard@slitaz.org"
  174.11 -LICENSE="GPL2 LGPL2.1"
  174.12 -WEB_SITE="http://www.spice-space.org/page/UsbRedir"
  174.13 -WANTED="usbredir"
  174.14 -
  174.15 -DEPENDS="usbredir"
  174.16 -
  174.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  174.18 -genpkg_rules()
  174.19 -{
  174.20 -	mkdir -p $fs/usr/lib
  174.21 -	cp -a $install/usr/include $fs/usr
  174.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
  174.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  174.24 -}
   175.1 --- a/usbredir/receipt	Tue Mar 06 11:29:35 2018 +0200
   175.2 +++ b/usbredir/receipt	Wed Mar 07 19:43:44 2018 +0200
   175.3 @@ -1,31 +1,35 @@
   175.4 -# SliTaz package receipt.
   175.5 +# SliTaz package receipt v2.
   175.6  
   175.7  PACKAGE="usbredir"
   175.8  VERSION="0.7"
   175.9  CATEGORY="network"
  175.10 -SHORT_DESC="A protocol to send usb traffic over a network connection."
  175.11 +SHORT_DESC="A protocol to send usb traffic over a network connection"
  175.12  MAINTAINER="pascal.bellard@slitaz.org"
  175.13  LICENSE="GPL2 LGPL2.1"
  175.14 +WEB_SITE="http://www.spice-space.org/page/UsbRedir"
  175.15 +
  175.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
  175.17 -WEB_SITE="http://www.spice-space.org/page/UsbRedir"
  175.18  WGET_URL="http://spice-space.org/download/usbredir/$TARBALL"
  175.19  
  175.20 -DEPENDS="libusb"
  175.21  BUILD_DEPENDS="pkg-config glib libusb-dev"
  175.22 +SPLIT="usbredir-dev"
  175.23  
  175.24 -# Rules to configure and make the package.
  175.25 -compile_rules()
  175.26 -{
  175.27 -	./configure --prefix=/usr \
  175.28 +compile_rules() {
  175.29 +	./configure \
  175.30 +		--prefix=/usr \
  175.31  		$CONFIGURE_ARGS &&
  175.32  	make &&
  175.33  	make DESTDIR=$DESTDIR install
  175.34  }
  175.35  
  175.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
  175.37 -genpkg_rules()
  175.38 -{
  175.39 -	mkdir -p $fs/usr/lib
  175.40 -	cp -a $install/usr/sbin $fs/usr
  175.41 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  175.42 +genpkg_rules() {
  175.43 +	case $PACKAGE in
  175.44 +		usbredir)
  175.45 +			copy @std
  175.46 +			DEPENDS="libusb"
  175.47 +			;;
  175.48 +		*-dev)
  175.49 +			copy @dev
  175.50 +			;;
  175.51 +	esac
  175.52  }
   176.1 --- a/usbutils-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   176.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   176.3 @@ -1,19 +0,0 @@
   176.4 -# SliTaz package receipt.
   176.5 -
   176.6 -PACKAGE="usbutils-dev"
   176.7 -VERSION="007"
   176.8 -CATEGORY="development"
   176.9 -SHORT_DESC="Development files for usbutils."
  176.10 -MAINTAINER="erjo@slitaz.org"
  176.11 -LICENSE="GPL2"
  176.12 -WEB_SITE="http://linux-usb.sourceforge.net/"
  176.13 -WANTED="usbutils"
  176.14 -
  176.15 -DEPENDS="usbutils pkg-config"
  176.16 -
  176.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  176.18 -genpkg_rules()
  176.19 -{
  176.20 -	mkdir -p $fs/usr/lib
  176.21 -	cp -a $install/usr/share/pkgconfig $fs/usr/lib
  176.22 -}
   177.1 --- a/usbutils/receipt	Tue Mar 06 11:29:35 2018 +0200
   177.2 +++ b/usbutils/receipt	Wed Mar 07 19:43:44 2018 +0200
   177.3 @@ -1,23 +1,21 @@
   177.4 -# SliTaz package receipt.
   177.5 +# SliTaz package receipt v2.
   177.6  
   177.7  PACKAGE="usbutils"
   177.8  VERSION="007"
   177.9  CATEGORY="system-tools"
  177.10 -SHORT_DESC="Displaying information about USB."
  177.11 +SHORT_DESC="Displaying information about USB"
  177.12  MAINTAINER="erjo@slitaz.org"
  177.13  LICENSE="GPL2"
  177.14 +WEB_SITE="http://linux-usb.sourceforge.net/"
  177.15 +
  177.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
  177.17 -WEB_SITE="http://linux-usb.sourceforge.net/"
  177.18  #WGET_URL="http://www.kernel.org/pub/linux/utils/usb/$PACKAGE/$TARBALL"
  177.19  WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/utils/usb/$PACKAGE/$TARBALL"
  177.20  
  177.21 -TAGS="usb"
  177.22 -DEPENDS="glibc-base libusb libusb-compat zlib usbids"
  177.23  BUILD_DEPENDS="libusb-dev pkg-config zlib-dev"
  177.24 +SPLIT="usbutils-dev"
  177.25  
  177.26 -# Rules to configure and make the package.
  177.27 -compile_rules()
  177.28 -{
  177.29 +compile_rules() {
  177.30  	./configure \
  177.31  		--prefix=/usr \
  177.32  		--libdir=/usr/lib \
  177.33 @@ -26,17 +24,24 @@
  177.34  	make && make install
  177.35  }
  177.36  
  177.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
  177.38 -genpkg_rules()
  177.39 -{
  177.40 -	mkdir -p $fs/usr
  177.41 -	cp -a $install/usr/bin $fs/usr
  177.42 -	cp -a $install/usr/sbin $fs/usr
  177.43 -	sed -i s'/bash/sh/' $fs/usr/bin/usb-devices
  177.44 -	rm -f $fs/usr/bin/lsusb.py
  177.45 +genpkg_rules() {
  177.46 +	case $PACKAGE in
  177.47 +		usbutils)
  177.48 +			mkdir -p $fs/usr
  177.49 +			cp -a $install/usr/bin $fs/usr
  177.50 +			cp -a $install/usr/sbin $fs/usr
  177.51 +			sed -i s'/bash/sh/' $fs/usr/bin/usb-devices
  177.52 +			rm -f $fs/usr/bin/lsusb.py
  177.53 +			DEPENDS="glibc-base libusb libusb-compat zlib usbids"
  177.54 +			TAGS="usb"
  177.55 +			;;
  177.56 +		*-dev)
  177.57 +			mkdir -p $fs/usr/lib
  177.58 +			cp -a $install/usr/share/pkgconfig $fs/usr/lib
  177.59 +			;;
  177.60 +	esac
  177.61  }
  177.62  
  177.63 -post_remove()
  177.64 -{
  177.65 +post_remove_usbutils() {
  177.66  	ln -s /bin/busybox "$1/usr/bin/lsusb"
  177.67  }
   178.1 --- a/vanessa_adt-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   178.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   178.3 @@ -1,20 +0,0 @@
   178.4 -# SliTaz package receipt.
   178.5 -
   178.6 -PACKAGE="vanessa_adt-dev"
   178.7 -VERSION="0.0.9"
   178.8 -CATEGORY="development"
   178.9 -SHORT_DESC="Abstract Data Types development files."
  178.10 -MAINTAINER="pascal.bellard@slitaz.org"
  178.11 -LICENSE="LGPL2.1"
  178.12 -WEB_SITE="http://www.vergenet.net/linux/vanessa"
  178.13 -WANTED="vanessa_adt"
  178.14 -
  178.15 -DEPENDS="vanessa_adt"
  178.16 -
  178.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  178.18 -genpkg_rules()
  178.19 -{
  178.20 -	mkdir -p $fs/usr/lib
  178.21 -	cp -a $install/usr/include $fs/usr
  178.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
  178.23 -}
   179.1 --- a/vanessa_adt/receipt	Tue Mar 06 11:29:35 2018 +0200
   179.2 +++ b/vanessa_adt/receipt	Wed Mar 07 19:43:44 2018 +0200
   179.3 @@ -1,30 +1,37 @@
   179.4 -# SliTaz package receipt.
   179.5 +# SliTaz package receipt v2.
   179.6  
   179.7  PACKAGE="vanessa_adt"
   179.8  VERSION="0.0.9"
   179.9  CATEGORY="network"
  179.10 -SHORT_DESC="Abstract Data Types."
  179.11 +SHORT_DESC="Abstract Data Types"
  179.12  MAINTAINER="pascal.bellard@slitaz.org"
  179.13  LICENSE="LGPL2.1"
  179.14 +WEB_SITE="http://www.vergenet.net/linux/vanessa"
  179.15 +
  179.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
  179.17 -WEB_SITE="http://www.vergenet.net/linux/vanessa"
  179.18  WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL"
  179.19  
  179.20 -DEPENDS="vanessa_logger"
  179.21  BUILD_DEPENDS="vanessa_logger-dev vanessa_logger"
  179.22 +SPLIT="vanessa_adt-dev"
  179.23  
  179.24 -# Rules to configure and make the package.
  179.25 -compile_rules()
  179.26 -{
  179.27 -	./configure --prefix=/usr --infodir=/usr/share/info \
  179.28 -		--mandir=/usr/share/man $CONFIGURE_ARGS &&
  179.29 +compile_rules() {
  179.30 +	./configure \
  179.31 +		--prefix=/usr \
  179.32 +		--infodir=/usr/share/info \
  179.33 +		--mandir=/usr/share/man \
  179.34 +		$CONFIGURE_ARGS &&
  179.35  	make &&
  179.36  	make DESTDIR=$DESTDIR install
  179.37  }
  179.38  
  179.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
  179.40 -genpkg_rules()
  179.41 -{
  179.42 -	mkdir -p $fs/usr/lib
  179.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  179.44 +genpkg_rules() {
  179.45 +	case $PACKAGE in
  179.46 +		vanessa_adt)
  179.47 +			copy @std
  179.48 +			DEPENDS="vanessa_logger"
  179.49 +			;;
  179.50 +		*-dev)
  179.51 +			copy @dev
  179.52 +			;;
  179.53 +	esac
  179.54  }
   180.1 --- a/varka-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   180.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   180.3 @@ -1,21 +0,0 @@
   180.4 -# SliTaz package receipt.
   180.5 -
   180.6 -PACKAGE="varka-dev"
   180.7 -VERSION="0.1"
   180.8 -CATEGORY="development"
   180.9 -SHORT_DESC="Development files for varka"
  180.10 -MAINTAINER="al.bobylev@gmail.com"
  180.11 -LICENSE="GPL3"
  180.12 -WEB_SITE="https://launchpad.net/varka"
  180.13 -
  180.14 -WANTED="varka"
  180.15 -DEPENDS="varka"
  180.16 -
  180.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  180.18 -genpkg_rules()
  180.19 -{
  180.20 -	mkdir -p $fs/usr/lib
  180.21 -	cp -a $install/usr/include $fs/usr
  180.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  180.23 -	cp -a $install/usr/share $fs/usr
  180.24 -}
   181.1 --- a/varka/receipt	Tue Mar 06 11:29:35 2018 +0200
   181.2 +++ b/varka/receipt	Wed Mar 07 19:43:44 2018 +0200
   181.3 @@ -1,4 +1,4 @@
   181.4 -# SliTaz package receipt.
   181.5 +# SliTaz package receipt v2.
   181.6  
   181.7  PACKAGE="varka"
   181.8  VERSION="0.1"
   181.9 @@ -7,27 +7,34 @@
  181.10  MAINTAINER="al.bobylev@gmail.com"
  181.11  LICENSE="GPL3"
  181.12  WEB_SITE="https://launchpad.net/varka"
  181.13 +
  181.14  BRANCH="15"
  181.15  TARBALL="$PACKAGE-$BRANCH.tar.bz2"
  181.16  WGET_URL="bzr|lp:varka"
  181.17  
  181.18 -DEPENDS="gtk+3"
  181.19  BUILD_DEPENDS="bazaar cmake gobject-introspection-dev gtk+3-dev glib-dev vala \
  181.20  gettext-tools"
  181.21 +SPLIT="varka-dev"
  181.22  
  181.23 -# Rules to configure and make the package.
  181.24 -compile_rules()
  181.25 -{
  181.26 +compile_rules() {
  181.27  	export LDFLAGS="$LDFLAGS $(pkg-config --libs gio-unix-2.0 gmodule-2.0)"
  181.28 -	mkdir build && cd build
  181.29 -	cmake .. -DCMAKE_INSTALL_PREFIX=/usr && \
  181.30 -	make && \
  181.31 +	mkdir build
  181.32 +	cd    build
  181.33 +	cmake \
  181.34 +		-DCMAKE_INSTALL_PREFIX=/usr \
  181.35 +		.. &&
  181.36 +	make &&
  181.37  	make DESTDIR=$install install
  181.38  }
  181.39  
  181.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
  181.41 -genpkg_rules()
  181.42 -{
  181.43 -	mkdir -p $fs/usr/lib
  181.44 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  181.45 +genpkg_rules() {
  181.46 +	case $PACKAGE in
  181.47 +		varka)
  181.48 +			copy @std
  181.49 +			DEPENDS="gtk+3"
  181.50 +			;;
  181.51 +		*-dev)
  181.52 +			copy @dev
  181.53 +			;;
  181.54 +	esac
  181.55  }
   182.1 --- a/virtualbox-ose-guestutils/receipt	Tue Mar 06 11:29:35 2018 +0200
   182.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   182.3 @@ -1,107 +0,0 @@
   182.4 -# SliTaz package receipt.
   182.5 -
   182.6 -PACKAGE="virtualbox-ose-guestutils"
   182.7 -VERSION="4.2.6"
   182.8 -CATEGORY="misc"
   182.9 -SHORT_DESC="VirtualBox Guest userspace utilities, useful for running Slitaz inside a virtual machine"
  182.10 -MAINTAINER="slaxemulator@gmail.com"
  182.11 -LICENSE="GPL2"
  182.12 -WANTED="virtualbox-ose"
  182.13 -WEB_SITE="https://www.virtualbox.org/"
  182.14 -TAGS="virtualization"
  182.15 -
  182.16 -DEPENDS="xorg-libXfixes xorg-libXmu xorg-xrandr"
  182.17 -BUILD_DEPENDS=""
  182.18 -
  182.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
  182.20 -genpkg_rules()
  182.21 -{
  182.22 -	# virtualbox-ose-additions
  182.23 -	source $src/env.sh
  182.24 -	cd "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
  182.25 -	mkdir -p $fs/usr/bin
  182.26 -	mkdir -p $fs/sbin
  182.27 -	mkdir -p $fs/etc/X11/xorg.conf.d
  182.28 -	mkdir -p $fs/etc/init.d
  182.29 -
  182.30 -	install -m755 VBoxClient VBoxControl VBoxService "$fs/usr/bin"
  182.31 -	install -m755 mount.vboxsf "$fs/sbin"
  182.32 -
  182.33 -	install -m755 -D $src/src/VBox/Additions/x11/Installer/98vboxadd-xclient \
  182.34 -		$fs/usr/bin/VBoxClient-all
  182.35 -	install -m755 -D $src/src/VBox/Additions/x11/Installer/vboxclient.desktop \
  182.36 -		$fs/etc/xdg/autostart/vboxclient.desktop
  182.37 -
  182.38 -	install -D vboxvideo_drv_112.so \
  182.39 -		"$fs/usr/lib/X11/modules/drivers/vboxvideo.so"
  182.40 -	install -d "$fs/usr/lib/dri"
  182.41 -	install -m755 VBoxOGL*.so "$fs/usr/lib"
  182.42 -	ln -s /usr/lib/VBoxOGL.so "$fs/usr/lib/dri/vboxvideo_dri.so"
  182.43 -	install -m755 -D pam_vbox.so "$fs/lib/security/pam_vbox.so"
  182.44 -
  182.45 -	# virtualbox-ose-additions-modules
  182.46 -	KERNEL_VERSION=$(grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g')
  182.47 -
  182.48 -	cd "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src"
  182.49 -
  182.50 -	cd vboxguest
  182.51 -	install -D -m644 vboxguest.ko \
  182.52 -		"$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxguest.ko"
  182.53 -
  182.54 -	cd ../vboxsf
  182.55 -	install -D -m644 vboxsf.ko \
  182.56 -		"$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxsf.ko"
  182.57 -
  182.58 -	cd ../vboxvideo
  182.59 -	install -D -m644 vboxvideo.ko \
  182.60 -		"$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxvideo.ko"
  182.61 -
  182.62 -	install -D -m 0644 "$stuff/60-vboxguest.rules" \
  182.63 -		"$fs/etc/udev/rules.d/60-vboxguest.rules"
  182.64 -		
  182.65 -	install -D -m 0755 "$stuff/VBoxService" \
  182.66 -		"$fs/etc/init.d/VBoxService"
  182.67 -}
  182.68 -
  182.69 -pre_remove()
  182.70 -{
  182.71 -    if chroot "$1/" lspci | grep -qi virtualbox; then
  182.72 -		sed -i "s/vboxguest vboxsf vboxvideo //" "$1/etc/rcS.conf"
  182.73 -		sed -i '/# VBoxService daemon options./{N;N;N;d}' "$1/etc/daemons.conf"
  182.74 -		sed -i 's/VBoxService //' "$1/etc/rcS.conf"
  182.75 -		chroot "$1/" delgroup vboxsf
  182.76 -		sed -i 's/^\tDriver.*$/\tDriver      "vesa"/' "$1/etc/X11/xorg.conf.d/60-Device.conf"
  182.77 -    fi
  182.78 -}
  182.79 -
  182.80 -post_install()
  182.81 -{
  182.82 -	if chroot "$1/" lspci | grep -qi virtualbox; then
  182.83 -		#chroot "$1/" udevadm control --reload
  182.84 -		grep -qs VBOXSERVICE_OPTIONS "$1/etc/daemons.conf" || 
  182.85 -			cat >> "$1/etc/daemons.conf" << "EOT"
  182.86 -# VBoxService daemon options.
  182.87 -VBOXSERVICE_OPTIONS=""
  182.88 -
  182.89 -EOT
  182.90 -		KERNEL_VERSION=$( chroot "$1/" uname -r) 
  182.91 -		chroot "$1/" depmod -a $KERNEL_VERSION 
  182.92 -		#chroot "$1/" modprobe -a vboxguest vboxsf vboxvideo
  182.93 -		sed -i 's/^\tDriver.*$/\tDriver      "vboxvideo"/' "$1/etc/X11/xorg.conf.d/60-Device.conf"
  182.94 -		grep -qs vboxguest "$1/etc/rcS.conf" || 	
  182.95 -			sed -i 's/LOAD_MODULES="/&vboxguest vboxsf vboxvideo /' "$1/etc/rcS.conf"
  182.96 -		grep -qs VBoxService "$1/etc/rcS.conf" ||
  182.97 -			sed -i 's/RUN_DAEMONS="/&VBoxService /' "$1/etc/rcS.conf"
  182.98 -		grep -qs vboxsf "$1/etc/group" || chroot "$1/" addgroup -g 109 vboxsf
  182.99 -		echo "add yourself to vboxsf group if you want to access"
 182.100 -		echo "host shared folder: addgroup $USER vboxsf"
 182.101 -		#i can't get udev to do its work
 182.102 -		#echo "then logout and login again"
 182.103 -		#chroot "$1/" /etc/init.d/VBoxService start &> /dev/null
 182.104 -		echo "then reboot"
 182.105 -	else
 182.106 -		echo "this is not a virtual machine," 
 182.107 -		echo "i'm useless here and you probably" 
 182.108 -		echo "may want to remove me." 
 182.109 -	fi
 182.110 -}
   183.1 --- a/virtualbox-ose-guestutils/stuff/60-vboxguest.rules	Tue Mar 06 11:29:35 2018 +0200
   183.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   183.3 @@ -1,2 +0,0 @@
   183.4 -ACTION=="add", KERNEL=="vboxguest", SUBSYSTEM=="misc", OWNER="root", GROUP="root", MODE="0600"
   183.5 -ACTION=="add", KERNEL=="vboxuser", SUBSYSTEM=="misc", OWNER="root", GROUP="root", MODE="0666"
   184.1 --- a/virtualbox-ose-guestutils/stuff/VBoxService	Tue Mar 06 11:29:35 2018 +0200
   184.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   184.3 @@ -1,51 +0,0 @@
   184.4 -#!/bin/sh
   184.5 -# /etc/init.d/VBoxService: Start, stop and restart VBoxService daemon on SliTaz,
   184.6 -# at boot time or with the command line. Daemons options are configured
   184.7 -# with /etc/daemons.conf
   184.8 -#
   184.9 -. /etc/init.d/rc.functions
  184.10 -. /etc/daemons.conf
  184.11 -
  184.12 -NAME=VBoxService
  184.13 -DESC="$(_ 'VirtualBox Guest Service')"
  184.14 -DAEMON=/usr/bin/VBoxService
  184.15 -OPTIONS=$VBOXSERVICE_OPTIONS
  184.16 -PIDFILE=/var/run/VBoxService.pid
  184.17 -
  184.18 -case "$1" in
  184.19 -	start)
  184.20 -		if active_pidfile $PIDFILE VBoxService ; then
  184.21 -			_ '%s is already running.' $NAME
  184.22 -			exit 1
  184.23 -		fi
  184.24 -		action 'Starting %s: %s...' "$DESC" $NAME
  184.25 -		mkdir -p $(dirname $PIDFILE)
  184.26 -		$DAEMON $OPTIONS
  184.27 -		status ;;
  184.28 -	stop)
  184.29 -		if ! active_pidfile $PIDFILE VBoxService ; then
  184.30 -			_ '%s is not running.'
  184.31 -			exit 1
  184.32 -		fi
  184.33 -		action 'Stopping %s: %s...' "$DESC" $NAME
  184.34 -		kill $(cat $PIDFILE)
  184.35 -		rm $PIDFILE
  184.36 -		status ;;
  184.37 -	restart)
  184.38 -		if ! active_pidfile $PIDFILE VBoxService ; then
  184.39 -			_ '%s is not running.' $NAME
  184.40 -			exit 1
  184.41 -		fi
  184.42 -		action 'Restarting %s: %s...' "$DESC" $NAME
  184.43 -		kill $(cat $PIDFILE)
  184.44 -		rm $PIDFILE
  184.45 -		sleep 2
  184.46 -		$DAEMON $OPTIONS
  184.47 -		status ;;
  184.48 -	*)
  184.49 -		emsg "<n><b>$(_ 'Usage:')</b> $0 [start|stop|restart]"
  184.50 -		newline
  184.51 -		exit 1 ;;
  184.52 -esac
  184.53 -
  184.54 -exit 0
   185.1 --- a/virtualbox-ose/receipt	Tue Mar 06 11:29:35 2018 +0200
   185.2 +++ b/virtualbox-ose/receipt	Wed Mar 07 19:43:44 2018 +0200
   185.3 @@ -1,31 +1,26 @@
   185.4 -# SliTaz package receipt.
   185.5 +# SliTaz package receipt v2.
   185.6  
   185.7  PACKAGE="virtualbox-ose"
   185.8  VERSION="4.2.6"
   185.9  CATEGORY="misc"
  185.10 -SHORT_DESC="Powerful x86 virtualization for enterprise as well as home use (Open Source Edition)"
  185.11 +SHORT_DESC="Powerful x86 virtualization for enterprise as well as home use \
  185.12 +(Open Source Edition)"
  185.13  MAINTAINER="slaxemulator@gmail.com"
  185.14  LICENSE="GPL2"
  185.15 -SOURCE="VirtualBox"
  185.16 -TARBALL="$SOURCE-$VERSION.tar.bz2"
  185.17  WEB_SITE="https://www.virtualbox.org/"
  185.18 +
  185.19 +TARBALL="VirtualBox-$VERSION.tar.bz2"
  185.20  WGET_URL="http://download.virtualbox.org/virtualbox/$VERSION/$TARBALL"
  185.21 -TAGS="virtualization"
  185.22 -PROVIDE="virtualbox"
  185.23  
  185.24 -DEPENDS="libxml2 xorg-libXcursor libIDL xorg-libXinerama libsdl \
  185.25 -xorg-libXmu curl libvncserver libpng16 jpeg mesa libglu-mesa vde2 \
  185.26 -python libQtCore libQtGui libQtNetwork libQtOpenGL"
  185.27  BUILD_DEPENDS="bin86 dev86 iasl libIDL libsdl-dev mesa-dev libxslt-dev \
  185.28  libglu-mesa-dev Qt4-dev libsdl-ttf-dev alsa-lib-dev hal-dev xorg-libXtst-dev \
  185.29  xorg-libXrandr-dev python python-dev xalan-c curl-dev xalan-c-dev \
  185.30  xerces-c-dev openssl-dev zlib-dev libcap-dev glib-dev libvncserver-dev \
  185.31  pam pam-dev bzip2 linux-module-headers pkg-config tar wget vde2-dev \
  185.32  libpng16-dev gsoap-dev libdevmapper-dev makeself cdrkit flex"
  185.33 +SPLIT="virtualbox-ose-guestutils"
  185.34  
  185.35 -# Rules to configure and make the package.
  185.36 -compile_rules()
  185.37 -{
  185.38 +compile_rules() {
  185.39  	cp $stuff/LocalConfig.kmk .
  185.40  	./configure \
  185.41  		--disable-pulse \
  185.42 @@ -43,93 +38,148 @@
  185.43  	KERN_DIR=/usr/src/linux make -C "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src"
  185.44  }
  185.45  
  185.46 -# Rules to gen a SliTaz package suitable for Tazpkg.
  185.47 -genpkg_rules()
  185.48 -{
  185.49 -	source $src/env.sh
  185.50 -	cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin
  185.51 -	mkdir -p $fs/usr/bin $fs/usr/lib/virtualbox/components \
  185.52 -			$fs/usr/share/virtualbox/nls \
  185.53 -			$fs/usr/lib/virtualbox/ExtensionPacks
  185.54 -	install -m 0755 VBox.sh $fs/usr/bin/VBox
  185.55 -	sed -i 's/ps -U/ps | grep/' $fs/usr/bin/VBox
  185.56 -	ln -sf VBox $fs/usr/bin/VBoxHeadless
  185.57 -	ln -sf VBox $fs/usr/bin/vboxheadless
  185.58 -	ln -sf VBox $fs/usr/bin/VBoxManage
  185.59 -	ln -sf VBox $fs/usr/bin/vboxmanage
  185.60 -	ln -sf VBox $fs/usr/bin/VBoxSDL
  185.61 -	ln -sf VBox $fs/usr/bin/vboxsdl
  185.62 -	ln -sf VBox $fs/usr/bin/VirtualBox
  185.63 -	ln -sf VBox $fs/usr/bin/virtualbox
  185.64 -	ln -sf VBox $fs/usr/bin/vboxwebsrv
  185.65 +genpkg_rules() {
  185.66 +	case $PACKAGE in
  185.67 +		virtualbox-ose)
  185.68 +			source $src/env.sh
  185.69 +			cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin
  185.70 +			mkdir -p $fs/usr/bin $fs/usr/lib/virtualbox/components \
  185.71 +				$fs/usr/share/virtualbox/nls \
  185.72 +				$fs/usr/lib/virtualbox/ExtensionPacks
  185.73 +			install -m 0755 VBox.sh $fs/usr/bin/VBox
  185.74 +			sed -i 's/ps -U/ps | grep/' $fs/usr/bin/VBox
  185.75 +			ln -sf VBox $fs/usr/bin/VBoxHeadless
  185.76 +			ln -sf VBox $fs/usr/bin/vboxheadless
  185.77 +			ln -sf VBox $fs/usr/bin/VBoxManage
  185.78 +			ln -sf VBox $fs/usr/bin/vboxmanage
  185.79 +			ln -sf VBox $fs/usr/bin/VBoxSDL
  185.80 +			ln -sf VBox $fs/usr/bin/vboxsdl
  185.81 +			ln -sf VBox $fs/usr/bin/VirtualBox
  185.82 +			ln -sf VBox $fs/usr/bin/virtualbox
  185.83 +			ln -sf VBox $fs/usr/bin/vboxwebsrv
  185.84  
  185.85 -	install -m 0755 VBoxTunctl "$fs/usr/bin"
  185.86 +			install -m 0755 VBoxTunctl "$fs/usr/bin"
  185.87  
  185.88 -	# components
  185.89 -	install -D -m 0755 components/* $fs/usr/lib/virtualbox/components
  185.90 +			# components
  185.91 +			install -D -m 0755 components/* $fs/usr/lib/virtualbox/components
  185.92  
  185.93 -	# lib
  185.94 -	install -m 0755 *.so "$fs/usr/lib/virtualbox"
  185.95 -	install -m 0644 *.gc *.r0  VBoxEFI*.fd "$fs/usr/lib/virtualbox"
  185.96 +			# lib
  185.97 +			install -m 0755 *.so "$fs/usr/lib/virtualbox"
  185.98 +			install -m 0644 *.gc *.r0  VBoxEFI*.fd "$fs/usr/lib/virtualbox"
  185.99  
 185.100 -	#setuid root binaries
 185.101 -	install -m 4755 VBoxSDL VirtualBox VBoxHeadless VBoxNetDHCP VBoxNetAdpCtl  "$fs/usr/lib/virtualbox"
 185.102 +			#setuid root binaries
 185.103 +			install -m 4755 VBoxSDL VirtualBox VBoxHeadless VBoxNetDHCP VBoxNetAdpCtl  "$fs/usr/lib/virtualbox"
 185.104  
 185.105 -	#other binaries
 185.106 -	#install -m 0755 VBoxManage VBoxSVC VBoxExtPackHelperApp VBoxXPCOMIPCD VBoxTestOGL vboxwebsrv webtest "$fs/usr/lib/virtualbox"
 185.107 -	install -m 0755 VBoxManage VBoxSVC VBoxExtPackHelperApp VBoxXPCOMIPCD VBoxTestOGL "$fs/usr/lib/virtualbox"
 185.108 +			#other binaries
 185.109 +			#install -m 0755 VBoxManage VBoxSVC VBoxExtPackHelperApp VBoxXPCOMIPCD VBoxTestOGL vboxwebsrv webtest "$fs/usr/lib/virtualbox"
 185.110 +			install -m 0755 VBoxManage VBoxSVC VBoxExtPackHelperApp VBoxXPCOMIPCD VBoxTestOGL "$fs/usr/lib/virtualbox"
 185.111  
 185.112 -	#language
 185.113 -	install -m 0755 nls/*.qm "$fs/usr/share/virtualbox/nls"
 185.114 +			#language
 185.115 +			install -m 0755 nls/*.qm "$fs/usr/share/virtualbox/nls"
 185.116  
 185.117 -	#useless scripts
 185.118 -	install -m 0755 VBoxCreateUSBNode.sh VBoxSysInfo.sh "$fs/usr/share/virtualbox"
 185.119 +			#useless scripts
 185.120 +			install -m 0755 VBoxCreateUSBNode.sh VBoxSysInfo.sh "$fs/usr/share/virtualbox"
 185.121  
 185.122 -	#icon
 185.123 -	install -D -m 0644 VBox.png "$fs/usr/share/pixmaps/virtualbox.png"
 185.124 +			#icon
 185.125 +			install -D -m 0644 VBox.png "$fs/usr/share/pixmaps/virtualbox.png"
 185.126  
 185.127 -	#desktop
 185.128 -	install -D -m 0644 virtualbox.desktop "$fs/usr/share/applications/virtualbox.desktop"
 185.129 -	sed -i "s|VBox.png|virtualbox|" \
 185.130 -		$fs/usr/share/applications/virtualbox.desktop
 185.131 +			#desktop
 185.132 +			install -D -m 0644 virtualbox.desktop "$fs/usr/share/applications/virtualbox.desktop"
 185.133 +			sed -i "s|VBox.png|virtualbox|" \
 185.134 +				$fs/usr/share/applications/virtualbox.desktop
 185.135  
 185.136 -	#install configuration
 185.137 -	mkdir -p "$fs/etc/vbox"
 185.138 -	echo 'lsmod | grep -q vboxdrv || modprobe vboxdrv' > "$fs/etc/vbox/vbox.cfg"
 185.139 -	echo 'INSTALL_DIR=/usr/lib/virtualbox' >> "$fs/etc/vbox/vbox.cfg"
 185.140 +			#install configuration
 185.141 +			mkdir -p "$fs/etc/vbox"
 185.142 +			echo 'lsmod | grep -q vboxdrv || modprobe vboxdrv' > "$fs/etc/vbox/vbox.cfg"
 185.143 +			echo 'INSTALL_DIR=/usr/lib/virtualbox' >> "$fs/etc/vbox/vbox.cfg"
 185.144  
 185.145 -	#udev
 185.146 -	install -D -m 0644 "$stuff/10-vboxdrv.rules" \
 185.147 -	"$fs/etc/udev/rules.d/10-vboxdrv.rules"
 185.148 +			#udev
 185.149 +			install -D -m 0644 "$stuff/10-vboxdrv.rules" \
 185.150 +				"$fs/etc/udev/rules.d/10-vboxdrv.rules"
 185.151  
 185.152 -	mkdir -p $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/
 185.153 -	cd sdk/installer
 185.154 -	VBOX_INSTALL_PATH="/usr/lib/virtualbox" python vboxapisetup.py install --root "$fs"
 185.155 -	cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin
 185.156 -	cd sdk/bindings/xpcom/python
 185.157 -	cp -r xpcom $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/
 185.158 -	chmod 644 $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/*.py
 185.159 -	chmod 644 $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/server/*.py
 185.160 -	chmod 644 $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/client/*.py
 185.161 -	cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin
 185.162 +			mkdir -p $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/
 185.163 +			cd sdk/installer
 185.164 +			VBOX_INSTALL_PATH="/usr/lib/virtualbox" python vboxapisetup.py install --root "$fs"
 185.165 +			cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin
 185.166 +			cd sdk/bindings/xpcom/python
 185.167 +			cp -r xpcom $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/
 185.168 +			chmod 644 $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/*.py
 185.169 +			chmod 644 $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/server/*.py
 185.170 +			chmod 644 $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/client/*.py
 185.171 +			cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin
 185.172  
 185.173 -	# virtualbox-ose-modules
 185.174 -	KERNEL_VERSION=$(grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g')
 185.175 +			# virtualbox-ose-modules
 185.176 +			KERNEL_VERSION=$(grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g')
 185.177  
 185.178 -	cd "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src"
 185.179 -	install -D -m644 vboxdrv.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxdrv.ko"
 185.180 -	install -D -m644 vboxnetflt.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxnetflt.ko"
 185.181 -	install -D -m644 vboxnetadp.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxnetadp.ko"
 185.182 +			cd "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src"
 185.183 +			install -D -m644 vboxdrv.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxdrv.ko"
 185.184 +			install -D -m644 vboxnetflt.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxnetflt.ko"
 185.185 +			install -D -m644 vboxnetadp.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxnetadp.ko"
 185.186 +			DEPENDS="libxml2 xorg-libXcursor libIDL xorg-libXinerama libsdl \
 185.187 +			xorg-libXmu curl libvncserver libpng16 jpeg mesa libglu-mesa vde2 \
 185.188 +			python libQtCore libQtGui libQtNetwork libQtOpenGL"
 185.189 +			TAGS="virtualization"
 185.190 +			PROVIDE="virtualbox"
 185.191 +			;;
 185.192 +		virtualbox-ose-guestutils)
 185.193 +			# virtualbox-ose-additions
 185.194 +			source $src/env.sh
 185.195 +			cd "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
 185.196 +			mkdir -p $fs/usr/bin
 185.197 +			mkdir -p $fs/sbin
 185.198 +			mkdir -p $fs/etc/X11/xorg.conf.d
 185.199 +			mkdir -p $fs/etc/init.d
 185.200 +
 185.201 +			install -m755 VBoxClient VBoxControl VBoxService "$fs/usr/bin"
 185.202 +			install -m755 mount.vboxsf "$fs/sbin"
 185.203 +
 185.204 +			install -m755 -D $src/src/VBox/Additions/x11/Installer/98vboxadd-xclient \
 185.205 +				$fs/usr/bin/VBoxClient-all
 185.206 +			install -m755 -D $src/src/VBox/Additions/x11/Installer/vboxclient.desktop \
 185.207 +				$fs/etc/xdg/autostart/vboxclient.desktop
 185.208 +
 185.209 +			install -D vboxvideo_drv_112.so \
 185.210 +				"$fs/usr/lib/X11/modules/drivers/vboxvideo.so"
 185.211 +			install -d "$fs/usr/lib/dri"
 185.212 +			install -m755 VBoxOGL*.so "$fs/usr/lib"
 185.213 +			ln -s /usr/lib/VBoxOGL.so "$fs/usr/lib/dri/vboxvideo_dri.so"
 185.214 +			install -m755 -D pam_vbox.so "$fs/lib/security/pam_vbox.so"
 185.215 +
 185.216 +			# virtualbox-ose-additions-modules
 185.217 +			KERNEL_VERSION=$(grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g')
 185.218 +
 185.219 +			cd "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src"
 185.220 +
 185.221 +			cd vboxguest
 185.222 +			install -D -m644 vboxguest.ko \
 185.223 +				"$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxguest.ko"
 185.224 +
 185.225 +			cd ../vboxsf
 185.226 +			install -D -m644 vboxsf.ko \
 185.227 +				"$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxsf.ko"
 185.228 +
 185.229 +			cd ../vboxvideo
 185.230 +			install -D -m644 vboxvideo.ko \
 185.231 +				"$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxvideo.ko"
 185.232 +
 185.233 +			install -D -m 0644 "$stuff/60-vboxguest.rules" \
 185.234 +				"$fs/etc/udev/rules.d/60-vboxguest.rules"
 185.235 +
 185.236 +			install -D -m 0755 "$stuff/VBoxService" \
 185.237 +				"$fs/etc/init.d/VBoxService"
 185.238 +			CAT="misc|VirtualBox Guest userspace utilities, useful for running Slitaz inside a virtual machine"
 185.239 +			DEPENDS="xorg-libXfixes xorg-libXmu xorg-xrandr"
 185.240 +			TAGS="virtualization"
 185.241 +			;;
 185.242 +	esac
 185.243  }
 185.244  
 185.245 -pre_remove()
 185.246 -{
 185.247 +pre_remove_virtualbox_ose() {
 185.248  	sed -i "s/vboxdrv vboxnetadp vboxnetflt //" "$1/etc/rcS.conf"
 185.249  	chroot "$1/" delgroup vboxusers
 185.250  }
 185.251  
 185.252 -post_install()
 185.253 -{
 185.254 +post_install_virtualbox_ose() {
 185.255  	#chroot "$1/" udevadm control --reload
 185.256  	KERNEL_VERSION=$( chroot "$1/" uname -r)
 185.257  	chroot "$1/" depmod -a $KERNEL_VERSION
 185.258 @@ -143,3 +193,45 @@
 185.259  	#echo "then logout and login again"
 185.260  	echo "then reboot"
 185.261  }
 185.262 +
 185.263 +pre_remove_virtualbox_ose_guestutils() {
 185.264 +	if chroot "$1/" lspci | grep -qi virtualbox; then
 185.265 +		sed -i "s/vboxguest vboxsf vboxvideo //" "$1/etc/rcS.conf"
 185.266 +		sed -i '/# VBoxService daemon options./{N;N;N;d}' "$1/etc/daemons.conf"
 185.267 +		sed -i 's/VBoxService //' "$1/etc/rcS.conf"
 185.268 +		chroot "$1/" delgroup vboxsf
 185.269 +		sed -i 's/^\tDriver.*$/\tDriver      "vesa"/' "$1/etc/X11/xorg.conf.d/60-Device.conf"
 185.270 +	fi
 185.271 +}
 185.272 +
 185.273 +post_install_virtualbox_ose_guestutils() {
 185.274 +	if chroot "$1/" lspci | grep -qi virtualbox; then
 185.275 +		#chroot "$1/" udevadm control --reload
 185.276 +		grep -qs VBOXSERVICE_OPTIONS "$1/etc/daemons.conf" ||
 185.277 +			cat >> "$1/etc/daemons.conf" <<"EOT"
 185.278 +# VBoxService daemon options.
 185.279 +VBOXSERVICE_OPTIONS=""
 185.280 +
 185.281 +EOT
 185.282 +		KERNEL_VERSION=$( chroot "$1/" uname -r)
 185.283 +		chroot "$1/" depmod -a $KERNEL_VERSION
 185.284 +		#chroot "$1/" modprobe -a vboxguest vboxsf vboxvideo
 185.285 +		sed -i 's/^\tDriver.*$/\tDriver      "vboxvideo"/' "$1/etc/X11/xorg.conf.d/60-Device.conf"
 185.286 +		grep -qs vboxguest "$1/etc/rcS.conf" ||
 185.287 +			sed -i 's/LOAD_MODULES="/&vboxguest vboxsf vboxvideo /' "$1/etc/rcS.conf"
 185.288 +		grep -qs VBoxService "$1/etc/rcS.conf" ||
 185.289 +			sed -i 's/RUN_DAEMONS="/&VBoxService /' "$1/etc/rcS.conf"
 185.290 +		grep -qs vboxsf "$1/etc/group" ||
 185.291 +			chroot "$1/" addgroup -g 109 vboxsf
 185.292 +		echo "add yourself to vboxsf group if you want to access"
 185.293 +		echo "host shared folder: addgroup $USER vboxsf"
 185.294 +		#i can't get udev to do its work
 185.295 +		#echo "then logout and login again"
 185.296 +		#chroot "$1/" /etc/init.d/VBoxService start &> /dev/null
 185.297 +		echo "then reboot"
 185.298 +	else
 185.299 +		echo "this is not a virtual machine,"
 185.300 +		echo "i'm useless here and you probably"
 185.301 +		echo "may want to remove me."
 185.302 +	fi
 185.303 +}
   186.1 --- a/virtualbox-ose/stuff/60-vboxguest.rules	Tue Mar 06 11:29:35 2018 +0200
   186.2 +++ b/virtualbox-ose/stuff/60-vboxguest.rules	Wed Mar 07 19:43:44 2018 +0200
   186.3 @@ -1,2 +1,2 @@
   186.4 -ACTION=="add", KERNEL=="vboxguest", SUBSYSTEM=="misc", OWNER="root", MODE="0600"
   186.5 -ACTION=="add", KERNEL=="vboxuser", SUBSYSTEM=="misc", OWNER="root", MODE="0660"
   186.6 +ACTION=="add", KERNEL=="vboxguest", SUBSYSTEM=="misc", OWNER="root", GROUP="root", MODE="0600"
   186.7 +ACTION=="add", KERNEL=="vboxuser", SUBSYSTEM=="misc", OWNER="root", GROUP="root", MODE="0666"
   187.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   187.2 +++ b/virtualbox-ose/stuff/VBoxService	Wed Mar 07 19:43:44 2018 +0200
   187.3 @@ -0,0 +1,51 @@
   187.4 +#!/bin/sh
   187.5 +# /etc/init.d/VBoxService: Start, stop and restart VBoxService daemon on SliTaz,
   187.6 +# at boot time or with the command line. Daemons options are configured
   187.7 +# with /etc/daemons.conf
   187.8 +#
   187.9 +. /etc/init.d/rc.functions
  187.10 +. /etc/daemons.conf
  187.11 +
  187.12 +NAME=VBoxService
  187.13 +DESC="$(_ 'VirtualBox Guest Service')"
  187.14 +DAEMON=/usr/bin/VBoxService
  187.15 +OPTIONS=$VBOXSERVICE_OPTIONS
  187.16 +PIDFILE=/var/run/VBoxService.pid
  187.17 +
  187.18 +case "$1" in
  187.19 +	start)
  187.20 +		if active_pidfile $PIDFILE VBoxService ; then
  187.21 +			_ '%s is already running.' $NAME
  187.22 +			exit 1
  187.23 +		fi
  187.24 +		action 'Starting %s: %s...' "$DESC" $NAME
  187.25 +		mkdir -p $(dirname $PIDFILE)
  187.26 +		$DAEMON $OPTIONS
  187.27 +		status ;;
  187.28 +	stop)
  187.29 +		if ! active_pidfile $PIDFILE VBoxService ; then
  187.30 +			_ '%s is not running.'
  187.31 +			exit 1
  187.32 +		fi
  187.33 +		action 'Stopping %s: %s...' "$DESC" $NAME
  187.34 +		kill $(cat $PIDFILE)
  187.35 +		rm $PIDFILE
  187.36 +		status ;;
  187.37 +	restart)
  187.38 +		if ! active_pidfile $PIDFILE VBoxService ; then
  187.39 +			_ '%s is not running.' $NAME
  187.40 +			exit 1
  187.41 +		fi
  187.42 +		action 'Restarting %s: %s...' "$DESC" $NAME
  187.43 +		kill $(cat $PIDFILE)
  187.44 +		rm $PIDFILE
  187.45 +		sleep 2
  187.46 +		$DAEMON $OPTIONS
  187.47 +		status ;;
  187.48 +	*)
  187.49 +		emsg "<n><b>$(_ 'Usage:')</b> $0 [start|stop|restart]"
  187.50 +		newline
  187.51 +		exit 1 ;;
  187.52 +esac
  187.53 +
  187.54 +exit 0
   188.1 --- a/webkit-r-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   188.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   188.3 @@ -1,21 +0,0 @@
   188.4 -# SliTaz package receipt.
   188.5 -
   188.6 -PACKAGE="webkit-r-dev"
   188.7 -VERSION="99690"
   188.8 -CATEGORY="network"
   188.9 -SHORT_DESC="xHTML render library."
  188.10 -WANTED="webkit-r"
  188.11 -MAINTAINER="pankso@slitaz.org"
  188.12 -LICENSE="BSD LGPL"
  188.13 -WEB_SITE="http://webkit.org/"
  188.14 -
  188.15 -DEPENDS="pkg-config"
  188.16 -
  188.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  188.18 -genpkg_rules()
  188.19 -{
  188.20 -	mkdir -p $fs/usr/lib
  188.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
  188.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  188.23 -	cp -a $install/usr/include $fs/usr
  188.24 -}
   189.1 --- a/webkit-r/receipt	Tue Mar 06 11:29:35 2018 +0200
   189.2 +++ b/webkit-r/receipt	Wed Mar 07 19:43:44 2018 +0200
   189.3 @@ -1,30 +1,24 @@
   189.4 -# SliTaz package receipt.
   189.5 +# SliTaz package receipt v2.
   189.6  
   189.7  PACKAGE="webkit-r"
   189.8  VERSION="99690"
   189.9  CATEGORY="network"
  189.10 -SHORT_DESC="xHTML render library."
  189.11 +SHORT_DESC="xHTML render library"
  189.12  MAINTAINER="pankso@slitaz.org"
  189.13  LICENSE="BSD LGPL"
  189.14 +WEB_SITE="http://webkit.org/"
  189.15 +
  189.16  TARBALL="WebKit-r${VERSION}.tar.bz2"
  189.17 -WEB_SITE="http://webkit.org/"
  189.18  WGET_URL="http://nightly.webkit.org/files/trunk/src/$TARBALL"
  189.19  
  189.20 -DEPENDS="libxslt expat gtk+ icu jpeg libcurl libxml2 openssl sqlite3 \
  189.21 -         xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
  189.22 -         xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \
  189.23 -         xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXt \
  189.24 -         xorg-libXdamage gcc-lib-base"
  189.25  BUILD_DEPENDS="icu icu-dev gperf libxslt-dev glib-dev autoconf automake \
  189.26 -               sqlite3-dev libtool m4 bison flex curl-dev gtk-doc libsoup-dev \
  189.27 -               gst0-plugins-base-dev gstreamer0-dev util-linux-uuid-dev \
  189.28 -               jpeg-dev libjpeg libpng16-dev pango-dev gtk+-dev orc-dev \
  189.29 -               xorg-libXt-dev"
  189.30 +sqlite3-dev libtool m4 bison flex curl-dev gtk-doc libsoup-dev \
  189.31 +gst0-plugins-base-dev gstreamer0-dev util-linux-uuid-dev jpeg-dev libjpeg \
  189.32 +libpng16-dev pango-dev gtk+-dev orc-dev xorg-libXt-dev"
  189.33 +SPLIT="webkit-r-dev"
  189.34  
  189.35 -# Rules to configure and make the package.
  189.36 -compile_rules()
  189.37 -{
  189.38 -	mv WebKit-r${VERSION} $PACKAGE-$VERSION 2>/dev/null
  189.39 +compile_rules() {
  189.40 +	mv WebKit-r$VERSION $PACKAGE-$VERSION 2>/dev/null
  189.41  	cd $src
  189.42  	patch -p0 < $stuff/bison26.u
  189.43  	patch -p1 < $stuff/CSSParser.cpp.u
  189.44 @@ -37,9 +31,22 @@
  189.45  	make DESTDIR=$DESTDIR install
  189.46  }
  189.47  
  189.48 -# Rules to gen a SliTaz package suitable for Tazpkg.
  189.49 -genpkg_rules()
  189.50 -{
  189.51 -	mkdir -p $fs/usr/lib
  189.52 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
  189.53 +genpkg_rules() {
  189.54 +	case $PACKAGE in
  189.55 +		webkit-r)
  189.56 +			mkdir -p $fs/usr/lib
  189.57 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
  189.58 +			DEPENDS="libxslt expat gtk+ icu jpeg libcurl libxml2 openssl \
  189.59 +			sqlite3 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
  189.60 +			xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
  189.61 +			xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
  189.62 +			xorg-libXt xorg-libXdamage gcc-lib-base"
  189.63 +			;;
  189.64 +		*-dev)
  189.65 +			mkdir -p $fs/usr/lib
  189.66 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
  189.67 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
  189.68 +			cp -a $install/usr/include $fs/usr
  189.69 +			;;
  189.70 +	esac
  189.71  }
   190.1 --- a/wxWidgets-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   190.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   190.3 @@ -1,26 +0,0 @@
   190.4 -# SliTaz package receipt.
   190.5 -
   190.6 -PACKAGE="wxWidgets-dev"
   190.7 -VERSION="3.0.2"
   190.8 -CATEGORY="development"
   190.9 -SHORT_DESC="Cross-platform GUI Library devel files."
  190.10 -MAINTAINER="pankso@slitaz.org"
  190.11 -LICENSE="LGPL"
  190.12 -WANTED="wxWidgets"
  190.13 -WEB_SITE="http://www.wxwidgets.org/"
  190.14 -
  190.15 -DEPENDS="pkg-config gtk+-dev xorg-libXinerama-dev xorg-libSM-dev \
  190.16 -xorg-libICE-dev expat wxWidgets zlib"
  190.17 -
  190.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
  190.19 -genpkg_rules()
  190.20 -{
  190.21 -	mkdir -p $fs/usr/lib/wx
  190.22 -	cp -a $install/usr/bin $fs/usr
  190.23 -	cp -a $install/usr/include $fs/usr
  190.24 -	# Just copy setup.h and contrib include
  190.25 -	cp -a $install/usr/lib/wx/include $fs/usr/lib/wx
  190.26 -
  190.27 -	cp -a $install/usr/share $fs/usr
  190.28 -	rm -r $fs/usr/share/locale
  190.29 -}
   191.1 --- a/wxWidgets/receipt	Tue Mar 06 11:29:35 2018 +0200
   191.2 +++ b/wxWidgets/receipt	Wed Mar 07 19:43:44 2018 +0200
   191.3 @@ -1,4 +1,4 @@
   191.4 -# SliTaz package receipt.
   191.5 +# SliTaz package receipt v2.
   191.6  
   191.7  PACKAGE="wxWidgets"
   191.8  VERSION="3.0.2"
   191.9 @@ -6,22 +6,17 @@
  191.10  SHORT_DESC="Cross-platform GUI Library"
  191.11  MAINTAINER="pankso@slitaz.org"
  191.12  LICENSE="LGPL"
  191.13 +WEB_SITE="http://www.wxwidgets.org/"
  191.14 +
  191.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
  191.16 -WEB_SITE="http://www.wxwidgets.org/"
  191.17  WGET_URL="$SF_MIRROR/wxwindows/$TARBALL"
  191.18  
  191.19 -DEPENDS="glib glibc-base gcc-lib-base pkg-config expat zlib atk \
  191.20 -gtk+ cairo fontconfig freetype jpeg libpng16 tiff pango xorg-pixman util-linux-uuid \
  191.21 -xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \
  191.22 -xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext libglu-mesa \
  191.23 -xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa"
  191.24  BUILD_DEPENDS="gtk+-dev expat-dev zlib-dev \
  191.25  xorg-dev xorg-xineramaproto libglu-mesa mesa-dev libpng16-dev tiff-dev \
  191.26  jpeg-dev xorg-libXpm-dev patch xorg-libxshmfence-dev libglu-mesa-dev"
  191.27 +SPLIT="wxWidgets-dev"
  191.28  
  191.29 -# Rules to configure and make the package.
  191.30 -compile_rules()
  191.31 -{
  191.32 +compile_rules() {
  191.33  	sed -i 's/.*<string>/#include <cmath>\n&/;s/(abs(/(std::abs(/' \
  191.34  		src/stc/scintilla/src/Editor.cxx
  191.35  	./configure \
  191.36 @@ -39,17 +34,37 @@
  191.37  	make DESTDIR=$DESTDIR install &&
  191.38  	cd $src/contrib &&
  191.39  	{
  191.40 -	make &&
  191.41 -	make DESTDIR=$DESTDIR  install
  191.42 +		make &&
  191.43 +		make DESTDIR=$DESTDIR  install
  191.44  	} 2>&1 | sed 's/h: No such/h: no such/'
  191.45  }
  191.46  
  191.47 -# Rules to gen a SliTaz package suitable for Tazpkg.
  191.48 -genpkg_rules()
  191.49 -{
  191.50 -	mkdir -p $fs/usr
  191.51 -	# Copy libs and contrib libs.
  191.52 -	cp -a $install/usr/lib/ $fs/usr/
  191.53 -	# Remove devel files.
  191.54 -	rm -rf $fs/usr/lib/wx/include
  191.55 +genpkg_rules() {
  191.56 +	case $PACKAGE in
  191.57 +		wxWidgets)
  191.58 +			mkdir -p $fs/usr
  191.59 +			# Copy libs and contrib libs.
  191.60 +			cp -a $install/usr/lib/ $fs/usr/
  191.61 +			# Remove devel files.
  191.62 +			rm -rf $fs/usr/lib/wx/include
  191.63 +			DEPENDS="glib glibc-base gcc-lib-base pkg-config expat zlib atk \
  191.64 +			gtk+ cairo fontconfig freetype jpeg libpng16 tiff pango \
  191.65 +			xorg-pixman util-linux-uuid xorg-libSM xorg-libICE xorg-libX11 \
  191.66 +			xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
  191.67 +			xorg-libXdmcp xorg-libXext libglu-mesa xorg-libXfixes \
  191.68 +			xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa"
  191.69 +			;;
  191.70 +		*-dev)
  191.71 +			mkdir -p $fs/usr/lib/wx
  191.72 +			cp -a $install/usr/bin $fs/usr
  191.73 +			cp -a $install/usr/include $fs/usr
  191.74 +			# Just copy setup.h and contrib include
  191.75 +			cp -a $install/usr/lib/wx/include $fs/usr/lib/wx
  191.76 +
  191.77 +			cp -a $install/usr/share $fs/usr
  191.78 +			rm -r $fs/usr/share/locale
  191.79 +			DEPENDS="wxWidgets gtk+-dev xorg-libXinerama-dev xorg-libSM-dev \
  191.80 +			xorg-libICE-dev expat zlib"
  191.81 +			;;
  191.82 +	esac
  191.83  }
   192.1 --- a/wxWidgets28-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   192.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   192.3 @@ -1,26 +0,0 @@
   192.4 -# SliTaz package receipt.
   192.5 -
   192.6 -PACKAGE="wxWidgets28-dev"
   192.7 -VERSION="2.8.12.1"
   192.8 -CATEGORY="development"
   192.9 -SHORT_DESC="Cross-platform GUI Library devel files."
  192.10 -MAINTAINER="pankso@slitaz.org"
  192.11 -LICENSE="LGPL"
  192.12 -WANTED="wxWidgets28"
  192.13 -WEB_SITE="http://www.wxwidgets.org/"
  192.14 -
  192.15 -DEPENDS="pkg-config gtk+-dev xorg-libXinerama-dev xorg-libSM-dev \
  192.16 -xorg-libICE-dev expat wxWidgets28 zlib"
  192.17 -
  192.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
  192.19 -genpkg_rules()
  192.20 -{
  192.21 -	mkdir -p $fs/usr/lib/wx
  192.22 -	cp -a $install/usr/bin $fs/usr
  192.23 -	cp -a $install/usr/include $fs/usr
  192.24 -	# Just copy setup.h and contrib include
  192.25 -	cp -a $install/usr/lib/wx/include $fs/usr/lib/wx
  192.26 -
  192.27 -	cp -a $install/usr/share $fs/usr
  192.28 -	rm -r $fs/usr/share/locale
  192.29 -}
   193.1 --- a/wxWidgets28/receipt	Tue Mar 06 11:29:35 2018 +0200
   193.2 +++ b/wxWidgets28/receipt	Wed Mar 07 19:43:44 2018 +0200
   193.3 @@ -1,4 +1,4 @@
   193.4 -# SliTaz package receipt.
   193.5 +# SliTaz package receipt v2.
   193.6  
   193.7  PACKAGE="wxWidgets28"
   193.8  VERSION="2.8.12.1"
   193.9 @@ -6,22 +6,17 @@
  193.10  SHORT_DESC="Cross-platform GUI Library (oldstable version)"
  193.11  MAINTAINER="pankso@slitaz.org"
  193.12  LICENSE="LGPL"
  193.13 +WEB_SITE="http://www.wxwidgets.org/"
  193.14 +
  193.15  TARBALL="wxPython-src-$VERSION.tar.bz2"
  193.16 -WEB_SITE="http://www.wxwidgets.org/"
  193.17  WGET_URL="$SF_MIRROR/wxwindows/$TARBALL"
  193.18  
  193.19 -DEPENDS="glib glibc-base gcc-lib-base pkg-config expat zlib atk \
  193.20 -gtk+ cairo fontconfig freetype jpeg libpng12 tiff pango xorg-pixman util-linux-uuid \
  193.21 -xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \
  193.22 -xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext libglu-mesa \
  193.23 -xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa"
  193.24  BUILD_DEPENDS="gtk+-dev expat-dev zlib-dev \
  193.25  xorg-dev xorg-xineramaproto libglu-mesa mesa-dev libpng12-dev tiff-dev \
  193.26  jpeg-dev xorg-libXpm-dev patch xorg-libxshmfence-dev libglu-mesa-dev"
  193.27 +SPLIT="wxWidgets28-dev"
  193.28  
  193.29 -# Rules to configure and make the package.
  193.30 -compile_rules()
  193.31 -{
  193.32 +compile_rules() {
  193.33  	sed -i 's|/opt/wx/current/bin/||' wxPython/wx/build/build_options.py
  193.34  	export CXXFLAGS="-Wno-narrowing"
  193.35  	./configure \
  193.36 @@ -39,17 +34,37 @@
  193.37  	make DESTDIR=$DESTDIR install &&
  193.38  	cd $src/contrib &&
  193.39  	{
  193.40 -	make &&
  193.41 -	make DESTDIR=$DESTDIR  install
  193.42 +		make &&
  193.43 +		make DESTDIR=$DESTDIR  install
  193.44  	} 2>&1 | sed 's/h: No such/h: no such/'
  193.45  }
  193.46  
  193.47 -# Rules to gen a SliTaz package suitable for Tazpkg.
  193.48 -genpkg_rules()
  193.49 -{
  193.50 -	mkdir -p $fs/usr
  193.51 -	# Copy libs and contrib libs.
  193.52 -	cp -a $install/usr/lib/ $fs/usr/
  193.53 -	# Remove devel files.
  193.54 -	rm -rf $fs/usr/lib/wx/include
  193.55 +genpkg_rules() {
  193.56 +	case $PACKAGE in
  193.57 +		wxWidgets28)
  193.58 +			mkdir -p $fs/usr
  193.59 +			# Copy libs and contrib libs.
  193.60 +			cp -a $install/usr/lib/ $fs/usr/
  193.61 +			# Remove devel files.
  193.62 +			rm -rf $fs/usr/lib/wx/include
  193.63 +			DEPENDS="glib glibc-base gcc-lib-base expat zlib atk \
  193.64 +			gtk+ cairo fontconfig freetype jpeg libpng12 tiff pango \
  193.65 +			xorg-pixman util-linux-uuid xorg-libSM xorg-libICE xorg-libX11 \
  193.66 +			xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
  193.67 +			xorg-libXdmcp xorg-libXext libglu-mesa xorg-libXfixes \
  193.68 +			xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa"
  193.69 +			;;
  193.70 +		*-dev)
  193.71 +			mkdir -p $fs/usr/lib/wx
  193.72 +			cp -a $install/usr/bin $fs/usr
  193.73 +			cp -a $install/usr/include $fs/usr
  193.74 +			# Just copy setup.h and contrib include
  193.75 +			cp -a $install/usr/lib/wx/include $fs/usr/lib/wx
  193.76 +
  193.77 +			cp -a $install/usr/share $fs/usr
  193.78 +			rm -r $fs/usr/share/locale
  193.79 +			DEPENDS="wxWidgets28 gtk+-dev xorg-libXinerama-dev xorg-libSM-dev \
  193.80 +			xorg-libICE-dev expat zlib"
  193.81 +			;;
  193.82 +	esac
  193.83  }
   194.1 --- a/wxpython-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   194.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   194.3 @@ -1,20 +0,0 @@
   194.4 -# SliTaz package receipt.
   194.5 -
   194.6 -PACKAGE="wxpython-dev"
   194.7 -VERSION="2.8.12.1"
   194.8 -CATEGORY="x-window"
   194.9 -SHORT_DESC="wxPython devel files."
  194.10 -MAINTAINER="pankso@slitaz.org"
  194.11 -LICENSE="LGPL"
  194.12 -SOURCE="wxPython-src"
  194.13 -WANTED="wxpython"
  194.14 -WEB_SITE="http://www.wxpython.org/"
  194.15 -
  194.16 -DEPENDS="wxpython"
  194.17 -
  194.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
  194.19 -genpkg_rules()
  194.20 -{
  194.21 -	mkdir -p $fs/usr
  194.22 -	cp -a $install/usr/include $fs/usr
  194.23 -}
   195.1 --- a/wxpython/receipt	Tue Mar 06 11:29:35 2018 +0200
   195.2 +++ b/wxpython/receipt	Wed Mar 07 19:43:44 2018 +0200
   195.3 @@ -1,22 +1,20 @@
   195.4 -# SliTaz package receipt.
   195.5 +# SliTaz package receipt v2.
   195.6  
   195.7  PACKAGE="wxpython"
   195.8  VERSION="2.8.12.1"
   195.9  CATEGORY="x-window"
  195.10 -SHORT_DESC="GUI toolkit for the Python programming language."
  195.11 +SHORT_DESC="GUI toolkit for the Python programming language"
  195.12  MAINTAINER="pankso@slitaz.org"
  195.13  LICENSE="LGPL"
  195.14 -SOURCE="wxPython"
  195.15 -TARBALL="$SOURCE-src-$VERSION.tar.bz2"
  195.16  WEB_SITE="http://www.wxpython.org/"
  195.17 +
  195.18 +TARBALL="wxPython-src-$VERSION.tar.bz2"
  195.19  WGET_URL="$SF_MIRROR/wxpython/$TARBALL"
  195.20  
  195.21 -DEPENDS="python wxWidgets28"
  195.22  BUILD_DEPENDS="python-dev wxWidgets28-dev mesa-dev libglu-mesa-dev"
  195.23 +SPLIT="wxpython-dev"
  195.24  
  195.25 -# Rules to configure and make the package.
  195.26 -compile_rules()
  195.27 -{
  195.28 +compile_rules() {
  195.29  	export CXXFLAGS="-Wno-narrowing"
  195.30  	mv wxPython/wx/tools/Editra/editra wxPython/wx/tools/Editra/Editra
  195.31  	./configure \
  195.32 @@ -38,10 +36,17 @@
  195.33  	python setup.py WXPORT=gtk2 UNICODE=1 install --root=$DESTDIR
  195.34  }
  195.35  
  195.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
  195.37 -genpkg_rules()
  195.38 -{
  195.39 -	mkdir -p $fs/usr/lib
  195.40 -	cp -a $install/usr/bin $fs/usr
  195.41 -	cp -a $install/usr/lib/python* $fs/usr/lib
  195.42 +genpkg_rules() {
  195.43 +	case $PACKAGE in
  195.44 +		wxpython)
  195.45 +			mkdir -p $fs/usr/lib
  195.46 +			cp -a $install/usr/bin $fs/usr
  195.47 +			cp -a $install/usr/lib/python* $fs/usr/lib
  195.48 +			DEPENDS="python wxWidgets28"
  195.49 +			;;
  195.50 +		*-dev)
  195.51 +			mkdir -p $fs/usr
  195.52 +			cp -a $install/usr/include $fs/usr
  195.53 +			;;
  195.54 +	esac
  195.55  }
   196.1 --- a/zstd-dev/receipt	Tue Mar 06 11:29:35 2018 +0200
   196.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   196.3 @@ -1,21 +0,0 @@
   196.4 -# SliTaz package receipt.
   196.5 -
   196.6 -PACKAGE="zstd-dev"
   196.7 -VERSION="1.0.0"
   196.8 -CATEGORY="development"
   196.9 -SHORT_DESC="Zstandard - Fast and efficient compression algorithm, development files."
  196.10 -MAINTAINER="pascal.bellard@slitaz.org"
  196.11 -LICENSE="BSD"
  196.12 -WEB_SITE="https://github.com/Cyan4973/zstd"
  196.13 -WANTED="zstd"
  196.14 -
  196.15 -DEPENDS="zstd"
  196.16 -
  196.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
  196.18 -genpkg_rules()
  196.19 -{
  196.20 -	mkdir -p $fs/usr/lib
  196.21 -	cp -a $install/usr/include $fs/usr
  196.22 -	cp -a $install/usr/lib/*a $fs/usr/lib/
  196.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib/
  196.24 -}
   197.1 --- a/zstd/receipt	Tue Mar 06 11:29:35 2018 +0200
   197.2 +++ b/zstd/receipt	Wed Mar 07 19:43:44 2018 +0200
   197.3 @@ -1,31 +1,36 @@
   197.4 -# SliTaz package receipt.
   197.5 +# SliTaz package receipt v2.
   197.6  
   197.7  PACKAGE="zstd"
   197.8  VERSION="1.0.0"
   197.9  CATEGORY="base-system"
  197.10 -SHORT_DESC="Zstandard - Fast and efficient compression algorithm."
  197.11 +SHORT_DESC="Zstandard - Fast and efficient compression algorithm"
  197.12  MAINTAINER="pascal.bellard@slitaz.org"
  197.13  LICENSE="BSD"
  197.14 +WEB_SITE="https://github.com/Cyan4973/zstd"
  197.15 +
  197.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
  197.17 -WEB_SITE="https://github.com/Cyan4973/zstd"
  197.18  WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
  197.19 -TAGS="compression"
  197.20  
  197.21 -# Rules to configure and make the package.
  197.22 -compile_rules()
  197.23 -{
  197.24 +SPLIT="zstd-dev"
  197.25 +
  197.26 +compile_rules() {
  197.27  	cd $src/lib
  197.28  	make &&
  197.29 -	make PREFIX=/usr DESTDIR=$DESTDIR install
  197.30 +	make PREFIX=/usr DESTDIR=$DESTDIR install || return 1
  197.31 +
  197.32  	cd $src/programs
  197.33  	make &&
  197.34  	make PREFIX=/usr DESTDIR=$DESTDIR install
  197.35  }
  197.36  
  197.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
  197.38 -genpkg_rules()
  197.39 -{
  197.40 -	mkdir -p $fs/usr/lib
  197.41 -	cp -a $install/usr/bin $fs/usr
  197.42 -	cp -a $install/usr/lib/*.so* $fs/usr/lib/
  197.43 +genpkg_rules() {
  197.44 +	case $PACKAGE in
  197.45 +		zstd)
  197.46 +			copy @std
  197.47 +			TAGS="compression"
  197.48 +			;;
  197.49 +		*-dev)
  197.50 +			copy @dev
  197.51 +			;;
  197.52 +	esac
  197.53  }