wok-next rev 20459

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 13:45:43 2018 +0200 (2018-03-02)
parents c4e53a39395a
children 93930f418ffb
files clamav-dev/receipt clamav/receipt commoncpp2-dev/receipt commoncpp2/receipt compiz-libcompizconfig-dev/receipt compiz-libcompizconfig/receipt compiz-plugins-main-dev/receipt compiz-plugins-main/receipt cyrus-imapd-dev/receipt cyrus-imapd/receipt dssi-dev/receipt dssi/receipt freealut-dev/receipt freealut/receipt gammu-dev/receipt gammu/receipt gob2-dev/receipt gob2/receipt grub4dos-linux/receipt grub4dos/receipt gtk3-engine-unico-dev/receipt gtk3-engine-unico/receipt guichan-dev/receipt guichan/receipt leptonica-dev/receipt leptonica/receipt libao-dev/receipt libao/receipt libestr-dev/receipt libestr/receipt libetpan-dev/receipt libetpan/receipt liblrdf-dev/receipt liblrdf/receipt libplayer-dev/receipt libplayer/receipt libtorrent-dev/receipt libtorrent/receipt lite-dev/receipt lite/receipt log4c-dev/receipt log4c/receipt mcabber-help/receipt mcabber/receipt mpg123-dev/receipt mpg123/receipt netatalk-dev/receipt netatalk/receipt nzbget-webui/receipt nzbget/receipt phonon-dev/receipt phonon/receipt soundtouch-dev/receipt soundtouch/receipt spidermonkey-dev/receipt spidermonkey/receipt vde2-dev/receipt vde2/receipt wv-dev/receipt wv/receipt xerces-c-dev/receipt xerces-c/receipt xtrkcad-doc/receipt xtrkcad/receipt
line diff
     1.1 --- a/clamav-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,26 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="clamav-dev"
     1.7 -VERSION="0.98.1"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="Clamav dev files."
    1.10 -MAINTAINER="erjo@slitaz.org"
    1.11 -LICENSE="GPL2"
    1.12 -WEB_SITE="http://www.clamav.net/"
    1.13 -TAGS="antivirus"
    1.14 -WANTED="clamav"
    1.15 -
    1.16 -DEPENDS="clamav pkg-config"
    1.17 -
    1.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 -genpkg_rules()
    1.20 -{
    1.21 -	mkdir -p $fs/usr/lib \
    1.22 -		$fs/usr/bin
    1.23 -	
    1.24 -	cp -a $install/usr/include $fs/usr
    1.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.26 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.27 -	cp -a $install/usr/bin/clamav-config $fs/usr/bin
    1.28 -}
    1.29 -
     2.1 --- a/clamav/receipt	Fri Mar 02 12:12:14 2018 +0200
     2.2 +++ b/clamav/receipt	Fri Mar 02 13:45:43 2018 +0200
     2.3 @@ -1,4 +1,4 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="clamav"
     2.8  VERSION="0.98.1"
     2.9 @@ -6,17 +6,15 @@
    2.10  SHORT_DESC="Antivirus."
    2.11  MAINTAINER="paul@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 +WEB_SITE="http://www.clamav.net/"
    2.14 +
    2.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16 -WEB_SITE="http://www.clamav.net/"
    2.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.18 -TAGS="antivirus"
    2.19  
    2.20 -DEPENDS="zlib gmp bzip2 slitaz-base-files ncurses libltdl"
    2.21  BUILD_DEPENDS="zlib-dev gmp gmp-dev bzip2-dev ncurses-dev bash"
    2.22 +SPLIT="clamav-dev"
    2.23  
    2.24 -# Rules to configure and make the package.
    2.25 -compile_rules()
    2.26 -{
    2.27 +compile_rules() {
    2.28  	grep -rl 'alignof(' * | xargs sed -i 's|alignof(|alignof_(|'
    2.29  	grep -rl 'alignof<' * | xargs sed -i 's|alignof<|alignof_<|'
    2.30  	grep -rl '__alignof_' * | xargs sed -i 's|__alignof_|__alignof|'
    2.31 @@ -37,33 +35,44 @@
    2.32  	make DESTDIR=$DESTDIR install
    2.33  }
    2.34  
    2.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.36 -genpkg_rules()
    2.37 -{
    2.38 -	mkdir -p $fs/usr/lib $fs/etc/init.d $fs/var/lib/clamav \
    2.39 -		$fs/var/log/clamav $fs/run/clamav
    2.40 -	cp -a $install/usr/bin $fs/usr
    2.41 -	rm -f $fs/usr/bin/clamav-config
    2.42 -	cp -a $install/usr/sbin $fs/usr
    2.43 -	cp -a $install/etc $fs
    2.44 -	mv $fs/etc/clamav/clamd.conf* $fs/etc/clamav/clamd.conf
    2.45 -	mv $fs/etc/clamav/freshclam.conf* $fs/etc/clamav/freshclam.conf
    2.46 -	# Copy only shared lib (.so)
    2.47 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.48 -	# Copy daemon from /$stuff
    2.49 -	cp $stuff/daemon-clamd $fs/etc/init.d/clamd
    2.50 +genpkg_rules() {
    2.51 +	case $PACKAGE in
    2.52 +		clamav)
    2.53 +			mkdir -p $fs/usr/lib $fs/etc/init.d $fs/var/lib/clamav \
    2.54 +				$fs/var/log/clamav $fs/run/clamav
    2.55 +			cp -a $install/usr/bin $fs/usr
    2.56 +			rm -f $fs/usr/bin/clamav-config
    2.57 +			cp -a $install/usr/sbin $fs/usr
    2.58 +			cp -a $install/etc $fs
    2.59 +			mv $fs/etc/clamav/clamd.conf* $fs/etc/clamav/clamd.conf
    2.60 +			mv $fs/etc/clamav/freshclam.conf* $fs/etc/clamav/freshclam.conf
    2.61 +			# Copy only shared lib (.so)
    2.62 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.63 +			# Copy daemon from /$stuff
    2.64 +			cp $stuff/daemon-clamd $fs/etc/init.d/clamd
    2.65  
    2.66 -	# Customize config
    2.67 -	sed -i -e "s/^Example/#Example/" \
    2.68 -		-e "s|^#LogFile /tmp/clamd.log|LogFile /var/log/clamav/clamav.log|" \
    2.69 -		-e "s|^#PidFile.*|PidFile /run/clamav/clamd.pid|" \
    2.70 -		-e "s|^#LocalSocket /tmp/clamd.socket|LocalSocket /run/clamav/clamd-socket|" \
    2.71 -		$fs/etc/clamav/clamd.conf
    2.72 -		
    2.73 +			# Customize config
    2.74 +			sed -i -e "s/^Example/#Example/" \
    2.75 +				-e "s|^#LogFile /tmp/clamd.log|LogFile /var/log/clamav/clamav.log|" \
    2.76 +				-e "s|^#PidFile.*|PidFile /run/clamav/clamd.pid|" \
    2.77 +				-e "s|^#LocalSocket /tmp/clamd.socket|LocalSocket /run/clamav/clamd-socket|" \
    2.78 +				$fs/etc/clamav/clamd.conf
    2.79 +			DEPENDS="zlib gmp bzip2 slitaz-base-files ncurses libltdl"
    2.80 +			TAGS="antivirus"
    2.81 +			;;
    2.82 +		*-dev)
    2.83 +			mkdir -p $fs/usr/lib \
    2.84 +				$fs/usr/bin
    2.85 +
    2.86 +			cp -a $install/usr/include $fs/usr
    2.87 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.88 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
    2.89 +			cp -a $install/usr/bin/clamav-config $fs/usr/bin
    2.90 +			;;
    2.91 +	esac
    2.92  }
    2.93  
    2.94 -post_install()
    2.95 -{
    2.96 +post_install_clamav() {
    2.97  	local user=clamav
    2.98  	local group=clamav
    2.99  
   2.100 @@ -89,8 +98,6 @@
   2.101  		/run/clamav /var/lib/clamav
   2.102  }
   2.103  
   2.104 -# Del user clamav when pkg is removed.
   2.105 -post_remove()
   2.106 -{
   2.107 +post_remove_clamav() {
   2.108  	chroot "$1/" deluser clamav
   2.109  }
     3.1 --- a/commoncpp2-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,23 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="commoncpp2-dev"
     3.7 -VERSION="1.8.1"
     3.8 -CATEGORY="development"
     3.9 -LICENSE="GPL2"
    3.10 -SHORT_DESC="Devel files for commoncpp2."
    3.11 -MAINTAINER="rcx@zoominternet.net"
    3.12 -WEB_SITE="http://www.gnu.org/software/commoncpp/"
    3.13 -WANTED="commoncpp2"
    3.14 -
    3.15 -DEPENDS="commoncpp2 pkg-config"
    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 $fs/usr/share
    3.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    3.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.23 -	cp -a $install/usr/bin $fs/usr
    3.24 -	cp -a $install/usr/include $fs/usr
    3.25 -	cp -a $install/usr/share/aclocal $fs/usr/share
    3.26 -}
     4.1 --- a/commoncpp2/receipt	Fri Mar 02 12:12:14 2018 +0200
     4.2 +++ b/commoncpp2/receipt	Fri Mar 02 13:45:43 2018 +0200
     4.3 @@ -1,21 +1,20 @@
     4.4 -# SliTaz package receipt.
     4.5 +# SliTaz package receipt v2.
     4.6  
     4.7  PACKAGE="commoncpp2"
     4.8  VERSION="1.8.1"
     4.9  CATEGORY="development"
    4.10 -SHORT_DESC="A very portable and highly optimized class framework for writing C++ applications."
    4.11 +SHORT_DESC="A very portable and highly optimized class framework for writing \
    4.12 +C++ applications"
    4.13  MAINTAINER="rcx@zoominternet.net"
    4.14  LICENSE="GPL2"
    4.15 +WEB_SITE="http://www.gnu.org/software/commoncpp/"
    4.16 +
    4.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.18 -WEB_SITE="http://www.gnu.org/software/commoncpp/"
    4.19  WGET_URL="$GNU_MIRROR/commoncpp/$TARBALL"
    4.20  
    4.21 -DEPENDS="glibc-base gcc-lib-base zlib"
    4.22 +SPLIT="commoncpp2-dev"
    4.23  
    4.24 -# Rules to configure and make the package.
    4.25 -compile_rules()
    4.26 -{
    4.27 -	cd $src
    4.28 +compile_rules() {
    4.29  	sed -i -e '50 a\#include <sys/stat.h>' inc/cc++/applog.h
    4.30  	./configure \
    4.31  		--sysconfdir=/etc \
    4.32 @@ -23,9 +22,20 @@
    4.33  	make && make install
    4.34  }
    4.35  
    4.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.37 -genpkg_rules()
    4.38 -{
    4.39 -	mkdir -p $fs/usr/lib
    4.40 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.41 +genpkg_rules() {
    4.42 +	case $PACKAGE in
    4.43 +		commoncpp2)
    4.44 +			mkdir -p $fs/usr/lib
    4.45 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.46 +			DEPENDS="glibc-base gcc-lib-base zlib"
    4.47 +			;;
    4.48 +		*-dev)
    4.49 +			mkdir -p $fs/usr/lib $fs/usr/share
    4.50 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
    4.51 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    4.52 +			cp -a $install/usr/bin $fs/usr
    4.53 +			cp -a $install/usr/include $fs/usr
    4.54 +			cp -a $install/usr/share/aclocal $fs/usr/share
    4.55 +			;;
    4.56 +	esac
    4.57  }
     5.1 --- a/compiz-libcompizconfig-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,21 +0,0 @@
     5.4 -# SliTaz package receipt.
     5.5 -
     5.6 -PACKAGE="compiz-libcompizconfig-dev"
     5.7 -VERSION="0.8.12.1"
     5.8 -CATEGORY="development"
     5.9 -SHORT_DESC="Compiz libcompizconfig devel files."
    5.10 -MAINTAINER="pankso@slitaz.org"
    5.11 -LICENSE="GPL2"
    5.12 -WANTED="compiz-libcompizconfig"
    5.13 -WEB_SITE="http://www.compiz.org/"
    5.14 -
    5.15 -DEPENDS="pkg-config"
    5.16 -
    5.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.18 -genpkg_rules()
    5.19 -{
    5.20 -	mkdir -p $fs/usr/lib $fs/usr/share
    5.21 -	cp -a $install/usr/include $fs/usr
    5.22 -	cp -a $install/usr/lib $fs/usr
    5.23 -	find $fs -name '*so*' -delete
    5.24 -}
     6.1 --- a/compiz-libcompizconfig/receipt	Fri Mar 02 12:12:14 2018 +0200
     6.2 +++ b/compiz-libcompizconfig/receipt	Fri Mar 02 13:45:43 2018 +0200
     6.3 @@ -1,34 +1,41 @@
     6.4 -# SliTaz package receipt.
     6.5 +# SliTaz package receipt v2.
     6.6  
     6.7  PACKAGE="compiz-libcompizconfig"
     6.8 -SOURCE="libcompizconfig"
     6.9  VERSION="0.8.12.1"
    6.10  CATEGORY="x-window"
    6.11 -SHORT_DESC="Compiz configuration library."
    6.12 +SHORT_DESC="Compiz configuration library"
    6.13  MAINTAINER="pankso@slitaz.org"
    6.14  LICENSE="GPL2"
    6.15 -TARBALL="$SOURCE-$VERSION.tar.xz"
    6.16  WEB_SITE="https://github.com/compiz-reloaded"
    6.17 -WGET_URL="$WEB_SITE/$SOURCE/releases/download/v$VERSION/$TARBALL"
    6.18  
    6.19 -DEPENDS="compiz-core protobuf glib libxml2"
    6.20 +TARBALL="libcompizconfig-$VERSION.tar.xz"
    6.21 +WGET_URL="$WEB_SITE/libcompizconfig/releases/download/v$VERSION/$TARBALL"
    6.22 +
    6.23  BUILD_DEPENDS="xorg-dev compiz-core-dev glibc-dev libxml2-dev mesa-dev \
    6.24  libxslt-dev startup-notification-dev protobuf-dev glib-dev libtool"
    6.25 +SPLIT="compiz-libcompizconfig-dev"
    6.26  
    6.27 -# Rules to configure and make the package.
    6.28 -compile_rules()
    6.29 -{
    6.30 +compile_rules() {
    6.31  	./configure --sysconfdir=/etc
    6.32  	make && make install
    6.33  }
    6.34  
    6.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    6.36 -genpkg_rules()
    6.37 -{
    6.38 -	mkdir -p $fs/usr/lib $fs/usr/share
    6.39 -	cp -a $install/etc $fs
    6.40 -	cp -a $install/usr/lib/compiz* $fs/usr/lib
    6.41 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    6.42 -	cp -a $install/usr/share/compiz $fs/usr/share
    6.43 -	find $fs -name 'lib*a' -delete
    6.44 +genpkg_rules() {
    6.45 +	case $PACKAGE in
    6.46 +		compiz-libcompizconfig)
    6.47 +			mkdir -p $fs/usr/lib $fs/usr/share
    6.48 +			cp -a $install/etc $fs
    6.49 +			cp -a $install/usr/lib/compiz* $fs/usr/lib
    6.50 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
    6.51 +			cp -a $install/usr/share/compiz $fs/usr/share
    6.52 +			find $fs -name 'lib*a' -delete
    6.53 +			DEPENDS="compiz-core protobuf glib libxml2"
    6.54 +			;;
    6.55 +		*-dev)
    6.56 +			mkdir -p $fs/usr/lib $fs/usr/share
    6.57 +			cp -a $install/usr/include $fs/usr
    6.58 +			cp -a $install/usr/lib $fs/usr
    6.59 +			find $fs -name '*so*' -delete
    6.60 +			;;
    6.61 +	esac
    6.62  }
     7.1 --- a/compiz-plugins-main-dev/receipt	Fri Mar 02 12:12:14 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="compiz-plugins-main-dev"
     7.7 -VERSION="0.8.12.2"
     7.8 -CATEGORY="development"
     7.9 -SHORT_DESC="Compiz plugins-main devel files."
    7.10 -MAINTAINER="pankso@slitaz.org"
    7.11 -LICENSE="GPL2"
    7.12 -WANTED="compiz-plugins-main"
    7.13 -WEB_SITE="http://www.compiz.org/"
    7.14 -
    7.15 -DEPENDS="pkg-config compiz-plugins-main"
    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/lib/compiz
    7.21 -	cp -a $install/usr/include $fs/usr
    7.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    7.23 -	cp -a $install/usr/lib/compiz/*a $fs/usr/lib/compiz
    7.24 -}
     8.1 --- a/compiz-plugins-main/receipt	Fri Mar 02 12:12:14 2018 +0200
     8.2 +++ b/compiz-plugins-main/receipt	Fri Mar 02 13:45:43 2018 +0200
     8.3 @@ -1,34 +1,44 @@
     8.4 -# SliTaz package receipt.
     8.5 +# SliTaz package receipt v2.
     8.6  
     8.7  PACKAGE="compiz-plugins-main"
     8.8  VERSION="0.8.12.2"
     8.9  CATEGORY="x-window"
    8.10 -SHORT_DESC="Compiz main plugins."
    8.11 +SHORT_DESC="Compiz main plugins"
    8.12  MAINTAINER="pankso@slitaz.org"
    8.13  LICENSE="GPL2"
    8.14 +WEB_SITE="https://github.com/compiz-reloaded"
    8.15 +
    8.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    8.17 -WEB_SITE="https://github.com/compiz-reloaded"
    8.18  WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    8.19  
    8.20 -DEPENDS="xorg-libX11 compiz-core librsvg"
    8.21  BUILD_DEPENDS="xorg-dev compiz-core-dev libnotify-dev libxslt-dev \
    8.22  startup-notification-dev mesa-dev gtk+-dev intltool librsvg-dev \
    8.23  compiz-libcompizconfig compiz-libcompizconfig-dev compiz-bcop libglu-mesa-dev \
    8.24  util-linux-uuid-dev libtool util-linux-getopt xorg-libxshmfence-dev expat-dev"
    8.25 +SPLIT="compiz-plugins-main-dev"
    8.26  
    8.27 -# Rules to configure and make the package.
    8.28 -compile_rules()
    8.29 -{
    8.30 -	./configure --prefix=/usr --sysconfdir=/etc
    8.31 +compile_rules() {
    8.32 +	./configure \
    8.33 +		--prefix=/usr \
    8.34 +		--sysconfdir=/etc &&
    8.35  	make && make install
    8.36  }
    8.37  
    8.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    8.39 -genpkg_rules()
    8.40 -{
    8.41 -	mkdir -p $fs/usr/lib $fs/usr/share/locale
    8.42 -	cp -a $install/usr/lib/compiz $fs/usr/lib
    8.43 -	cp -a $install/usr/share/compiz $fs/usr/share
    8.44 -	cp -a $install/usr/share/locale/ru $fs/usr/share/locale
    8.45 -	cd $fs/usr/lib/compiz; rm -f *.a *.la
    8.46 +genpkg_rules() {
    8.47 +	case $PACKAGE in
    8.48 +		compiz-plugins-main)
    8.49 +			mkdir -p $fs/usr/lib $fs/usr/share/locale
    8.50 +			cp -a $install/usr/lib/compiz $fs/usr/lib
    8.51 +			cp -a $install/usr/share/compiz $fs/usr/share
    8.52 +			cp -a $install/usr/share/locale/ru $fs/usr/share/locale
    8.53 +			cd $fs/usr/lib/compiz; rm -f *.a *.la
    8.54 +			DEPENDS="xorg-libX11 compiz-core librsvg"
    8.55 +			;;
    8.56 +		*-dev)
    8.57 +			mkdir -p $fs/usr/lib/compiz
    8.58 +			cp -a $install/usr/include $fs/usr
    8.59 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    8.60 +			cp -a $install/usr/lib/compiz/*a $fs/usr/lib/compiz
    8.61 +			;;
    8.62 +	esac
    8.63  }
     9.1 --- a/cyrus-imapd-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,19 +0,0 @@
     9.4 -# SliTaz package receipt.
     9.5 -
     9.6 -PACKAGE="cyrus-imapd-dev"
     9.7 -VERSION="2.4.17"
     9.8 -CATEGORY="development"
     9.9 -SHORT_DESC="IMAP server development files."
    9.10 -MAINTAINER="pascal.bellard@slitaz.org"
    9.11 -LICENSE="BSD"
    9.12 -WEB_SITE="http://cyrusimap.web.cmu.edu//"
    9.13 -WANTED="cyrus-imapd"
    9.14 -
    9.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
    9.16 -genpkg_rules()
    9.17 -{
    9.18 -	mkdir -p $fs/usr/lib
    9.19 -	cp -a $install/usr/lib/lib* $fs/usr/lib
    9.20 -	cp -a $install/usr/include $fs/usr
    9.21 -}
    9.22 -
    10.1 --- a/cyrus-imapd/receipt	Fri Mar 02 12:12:14 2018 +0200
    10.2 +++ b/cyrus-imapd/receipt	Fri Mar 02 13:45:43 2018 +0200
    10.3 @@ -1,56 +1,64 @@
    10.4 -# SliTaz package receipt.
    10.5 +# SliTaz package receipt v2.
    10.6  
    10.7  PACKAGE="cyrus-imapd"
    10.8  VERSION="2.4.17"
    10.9  CATEGORY="network"
   10.10 -SHORT_DESC="IMAP server."
   10.11 +SHORT_DESC="IMAP server"
   10.12  MAINTAINER="pascal.bellard@slitaz.org"
   10.13  LICENSE="BSD"
   10.14 +WEB_SITE="http://cyrusimap.web.cmu.edu/"
   10.15 +
   10.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   10.17 -WEB_SITE="http://cyrusimap.web.cmu.edu/"
   10.18  WGET_URL="ftp://ftp.cyrusimap.org/$PACKAGE/$TARBALL"
   10.19 -CONFIG_FILES="/etc/imapd.conf /etc/cyrus.conf"
   10.20  
   10.21  BUILD_DEPENDS="libcomerr libcomerr-dev cyrus-sasl cyrus-sasl-dev openssl-dev \
   10.22  db-dev perl-dev zlib-dev"
   10.23 -DEPENDS="libcomerr cyrus-sasl openssl db perl libwrap slitaz-base-files \
   10.24 -net-snmp"
   10.25 +SPLIT="cyrus-imapd-dev"
   10.26  
   10.27 -# Rules to configure and make the package.
   10.28 -compile_rules()
   10.29 -{
   10.30 +compile_rules() {
   10.31  	export LDFLAGS="$LDFLAGS -lpthread"
   10.32 -	./configure --prefix=/usr --infodir=/usr/share/info \
   10.33 -	--with-service-path=/usr/lib/cyrus \
   10.34 -	--with-cyrus-prefix=/usr/lib/cyrus \
   10.35 -	--with-com_err=yes \
   10.36 -	--enable-murder \
   10.37 -	--enable-replication \
   10.38 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
   10.39 +	./configure \
   10.40 +		--prefix=/usr \
   10.41 +		--infodir=/usr/share/info \
   10.42 +		--with-service-path=/usr/lib/cyrus \
   10.43 +		--with-cyrus-prefix=/usr/lib/cyrus \
   10.44 +		--with-com_err=yes \
   10.45 +		--enable-murder \
   10.46 +		--enable-replication \
   10.47 +		--mandir=/usr/share/man \
   10.48 +		$CONFIGURE_ARGS &&
   10.49  	make &&
   10.50  	make DESTDIR=$DESTDIR install
   10.51  }
   10.52  
   10.53 -# Rules to gen a SliTaz package suitable for Tazpkg.
   10.54 -genpkg_rules()
   10.55 -{
   10.56 -	mkdir -p $fs/usr/lib $fs/var/imap $fs/var/spool/imap/stage.
   10.57 -	cp -a $install/usr/bin $fs/usr
   10.58 -	cp -a $install/usr/lib/cyrus $fs/usr/lib
   10.59 -	cp -a $install/usr/lib/perl5 $fs/usr/lib
   10.60 -	strip -s $fs/usr/lib/cyrus/*
   10.61 -	cp $src/tools/mkimap $fs/usr/lib/cyrus
   10.62 -	cp -a $stuff/etc $fs
   10.63 -	cp $src/master/conf/small.conf $fs/etc/cyrus.conf
   10.64 -	for i in proc db socket log msg ptclient; do
   10.65 -		mkdir -m 755 $fs/var/imap/$i
   10.66 -	done
   10.67 +genpkg_rules() {
   10.68 +	case $PACKAGE in
   10.69 +		cyrus-imapd)
   10.70 +			mkdir -p $fs/usr/lib $fs/var/imap $fs/var/spool/imap/stage.
   10.71 +			cp -a $install/usr/bin $fs/usr
   10.72 +			cp -a $install/usr/lib/cyrus $fs/usr/lib
   10.73 +			cp -a $install/usr/lib/perl5 $fs/usr/lib
   10.74 +			strip -s $fs/usr/lib/cyrus/*
   10.75 +			cp $src/tools/mkimap $fs/usr/lib/cyrus
   10.76 +			cp -a $stuff/etc $fs
   10.77 +			cp $src/master/conf/small.conf $fs/etc/cyrus.conf
   10.78 +			for i in proc db socket log msg ptclient; do
   10.79 +				mkdir -m 755 $fs/var/imap/$i
   10.80 +			done
   10.81 +			CONFIG_FILES="/etc/imapd.conf /etc/cyrus.conf"
   10.82 +			DEPENDS="libcomerr cyrus-sasl openssl db perl libwrap \
   10.83 +			slitaz-base-files net-snmp"
   10.84 +			;;
   10.85 +		*-dev)
   10.86 +			mkdir -p $fs/usr/lib
   10.87 +			cp -a $install/usr/lib/lib* $fs/usr/lib
   10.88 +			cp -a $install/usr/include $fs/usr
   10.89 +			;;
   10.90 +	esac
   10.91  }
   10.92  
   10.93 -# Pre and post install commands for Tazpkg.
   10.94 -post_install()
   10.95 -{
   10.96 -        # adduser cyrus if needed
   10.97 +post_install_cyrus_imapd() {
   10.98 +	# adduser cyrus if needed
   10.99  	if ! grep -q cyrus "$1/etc/passwd"; then
  10.100  		echo -n "Adding user cyrus..."
  10.101  		chroot "$1/" adduser cyrus -D -H -S -h /tmp
  10.102 @@ -104,14 +112,16 @@
  10.103  	done | chroot "$1/" cyradm -u cyrus -w cyrus 127.0.0.1 >/dev/null 2>&1
  10.104  	chroot "$1/" su -c "/usr/lib/cyrus/bin/reconstruct" cyrus >/dev/null 2>&1
  10.105  	cat <<EOF
  10.106 -----
  10.107 -Users must have a password to access the mailbox.
  10.108 -To start $PACKAGE server you can run :
  10.109  
  10.110 -    /etc/init.d/$PACKAGE start
  10.111 -
  10.112 -Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
  10.113 -----
  10.114 +	.---------------------------------------------------.
  10.115 +	| Users must have a password to access the mailbox. |
  10.116 +	|---------------------------------------------------|
  10.117 +	| To start $PACKAGE server you can run:             |
  10.118 +	|                                                   |
  10.119 +	| /etc/init.d/$PACKAGE start                        |
  10.120 +	|                                                   |
  10.121 +	| Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf   |
  10.122 +	'---------------------------------------------------'
  10.123  EOF
  10.124  
  10.125  	# A security hole with ssh...
  10.126 @@ -120,8 +130,7 @@
  10.127  	echo "DenyUsers cyrus" >> "$1/etc/ssh/sshd_config"
  10.128  }
  10.129  
  10.130 -post_remove()
  10.131 -{
  10.132 +post_remove_cyrus_imapd() {
  10.133  	deluser cyrus
  10.134  	delgroup mail
  10.135  }
    11.1 --- a/dssi-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,21 +0,0 @@
    11.4 -# SliTaz package receipt.
    11.5 -
    11.6 -PACKAGE="dssi-dev"
    11.7 -VERSION="1.1.1"
    11.8 -CATEGORY="development"
    11.9 -SHORT_DESC="An audio plugin API for soft synths and effects, development files."
   11.10 -MAINTAINER="pascal.bellard@slitaz.org"
   11.11 -LICENSE="LGPL2.1"
   11.12 -WEB_SITE="http://dssi.sourceforge.net/"
   11.13 -WANTED="dssi"
   11.14 -
   11.15 -DEPENDS="dssi pkg-config"
   11.16 -
   11.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   11.18 -genpkg_rules()
   11.19 -{
   11.20 -	mkdir -p $fs/usr/lib/dssi
   11.21 -	cp -a $install/usr/include $fs/usr
   11.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   11.23 -	cp -a $install/usr/lib/dssi/*a $fs/usr/lib/dssi
   11.24 -}
    12.1 --- a/dssi/receipt	Fri Mar 02 12:12:14 2018 +0200
    12.2 +++ b/dssi/receipt	Fri Mar 02 13:45:43 2018 +0200
    12.3 @@ -1,22 +1,22 @@
    12.4 -# SliTaz package receipt.
    12.5 +# SliTaz package receipt v2.
    12.6  
    12.7  PACKAGE="dssi"
    12.8  VERSION="1.1.1"
    12.9  CATEGORY="multimedia"
   12.10 -SHORT_DESC="An audio plugin API for soft synths and effects."
   12.11 +SHORT_DESC="An audio plugin API for soft synths and effects"
   12.12  MAINTAINER="pascal.bellard@slitaz.org"
   12.13  LICENSE="LGPL2.1"
   12.14 +WEB_SITE="http://dssi.sourceforge.net/"
   12.15 +
   12.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   12.17 -WEB_SITE="http://dssi.sourceforge.net/"
   12.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   12.19  
   12.20 -DEPENDS="gcc-lib-base"
   12.21  BUILD_DEPENDS="pkg-config alsa-lib-dev ladspa-dev"
   12.22 +SPLIT="dssi-dev"
   12.23  
   12.24 -# Rules to configure and make the package.
   12.25 -compile_rules()
   12.26 -{
   12.27 -	./configure --prefix=/usr \
   12.28 +compile_rules() {
   12.29 +	./configure \
   12.30 +		--prefix=/usr \
   12.31  		--localstatedir=/var \
   12.32  		--mandir=/usr/share/man \
   12.33  		$CONFIGURE_ARGS &&
   12.34 @@ -24,11 +24,20 @@
   12.35  	make DESTDIR=$DESTDIR install
   12.36  }
   12.37  
   12.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   12.39 -genpkg_rules()
   12.40 -{
   12.41 -	mkdir -p $fs/usr/lib/dssi
   12.42 -	cp -a $install/usr/bin $fs/usr
   12.43 -	cp -a $install/usr/lib/dssi $fs/usr/lib
   12.44 -	rm -f $fs/usr/lib/dssi/*a
   12.45 +genpkg_rules() {
   12.46 +	case $PACKAGE in
   12.47 +		dssi)
   12.48 +			mkdir -p $fs/usr/lib/dssi
   12.49 +			cp -a $install/usr/bin $fs/usr
   12.50 +			cp -a $install/usr/lib/dssi $fs/usr/lib
   12.51 +			rm -f $fs/usr/lib/dssi/*a
   12.52 +			DEPENDS="gcc-lib-base"
   12.53 +			;;
   12.54 +		*-dev)
   12.55 +			mkdir -p $fs/usr/lib/dssi
   12.56 +			cp -a $install/usr/include $fs/usr
   12.57 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   12.58 +			cp -a $install/usr/lib/dssi/*a $fs/usr/lib/dssi
   12.59 +			;;
   12.60 +	esac
   12.61  }
    13.1 --- a/freealut-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,21 +0,0 @@
    13.4 -# SliTaz package receipt.
    13.5 -
    13.6 -PACKAGE="freealut-dev"
    13.7 -COMMIT="2fa9ea27be7bb4124a878d44c14e6634f7beb1e2"
    13.8 -VERSION="${COMMIT:0:7}"
    13.9 -CATEGORY="development"
   13.10 -SHORT_DESC="freealut development files"
   13.11 -MAINTAINER="al.bobylev@gmail.com"
   13.12 -LICENSE="LGPL"
   13.13 -#WEB_SITE="http://distro.ibiblio.org/rootlinux/rootlinux-ports/more/freealut/freealut-1.1.0/doc/alut.html"
   13.14 -WEB_SITE="https://github.com/vancegroup/freealut"
   13.15 -WANTED="freealut"
   13.16 -
   13.17 -DEPENDS="freealut openal-dev"
   13.18 -
   13.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   13.20 -genpkg_rules()
   13.21 -{
   13.22 -	cp -a $install/* $fs
   13.23 -	rm -r $fs/usr/lib/*.so*
   13.24 -}
    14.1 --- a/freealut/receipt	Fri Mar 02 12:12:14 2018 +0200
    14.2 +++ b/freealut/receipt	Fri Mar 02 13:45:43 2018 +0200
    14.3 @@ -1,4 +1,4 @@
    14.4 -# SliTaz package receipt.
    14.5 +# SliTaz package receipt v2.
    14.6  
    14.7  PACKAGE="freealut"
    14.8  COMMIT="2fa9ea27be7bb4124a878d44c14e6634f7beb1e2"
    14.9 @@ -9,23 +9,30 @@
   14.10  LICENSE="LGPL"
   14.11  #WEB_SITE="http://distro.ibiblio.org/rootlinux/rootlinux-ports/more/freealut/freealut-1.1.0/doc/alut.html"
   14.12  WEB_SITE="https://github.com/vancegroup/freealut"
   14.13 +
   14.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   14.15  WGET_URL="https://github.com/vancegroup/$PACKAGE/archive/$COMMIT.tar.gz"
   14.16  
   14.17 -DEPENDS="openal glibc-base"
   14.18  BUILD_DEPENDS="wget cacerts cmake openal-dev"
   14.19 +SPLIT="freealut-dev"
   14.20  
   14.21 -# Rules to configure and make the package.
   14.22 -compile_rules()
   14.23 -{
   14.24 +compile_rules() {
   14.25  	mkdir build; cd build
   14.26  	cmake .. -DCMAKE_INSTALL_PREFIX:STRING="/usr" &&
   14.27  	make && make install
   14.28  }
   14.29  
   14.30 -# Rules to gen a SliTaz package suitable for Tazpkg.
   14.31 -genpkg_rules()
   14.32 -{
   14.33 -	mkdir -p $fs/usr/lib
   14.34 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   14.35 +genpkg_rules() {
   14.36 +	case $PACKAGE in
   14.37 +		freealut)
   14.38 +			mkdir -p $fs/usr/lib
   14.39 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   14.40 +			DEPENDS="openal glibc-base"
   14.41 +			;;
   14.42 +		*-dev)
   14.43 +			cp -a $install/* $fs
   14.44 +			rm -r $fs/usr/lib/*.so*
   14.45 +			DEPENDS="freealut openal-dev"
   14.46 +			;;
   14.47 +	esac
   14.48  }
    15.1 --- a/gammu-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    15.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.3 @@ -1,22 +0,0 @@
    15.4 -# SliTaz package receipt.
    15.5 -
    15.6 -PACKAGE="gammu-dev"
    15.7 -VERSION="1.27.0"
    15.8 -CATEGORY="system-tools"
    15.9 -SHORT_DESC="Gammu devel files"
   15.10 -MAINTAINER="pankso@slitaz.org"
   15.11 -LICENSE="GPL2"
   15.12 -WANTED="gammu"
   15.13 -WEB_SITE="http://wammu.eu/gammu/"
   15.14 -
   15.15 -DEPENDS="gammu pkg-config"
   15.16 -
   15.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   15.18 -genpkg_rules()
   15.19 -{
   15.20 -	mkdir -p $fs/usr/lib $fs/usr/bin
   15.21 -	cp -a $install/usr/bin/gammu-config $fs/usr/bin
   15.22 -	#cp -a $install/usr/lib/*.*a $fs/usr/lib
   15.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   15.24 -	cp -a $install/usr/include $fs/usr
   15.25 -}
    16.1 --- a/gammu/receipt	Fri Mar 02 12:12:14 2018 +0200
    16.2 +++ b/gammu/receipt	Fri Mar 02 13:45:43 2018 +0200
    16.3 @@ -1,4 +1,4 @@
    16.4 -# SliTaz package receipt.
    16.5 +# SliTaz package receipt v2.
    16.6  
    16.7  PACKAGE="gammu"
    16.8  VERSION="1.27.0"
    16.9 @@ -6,17 +6,15 @@
   16.10  SHORT_DESC="Library and utility to control cell phone"
   16.11  MAINTAINER="pankso@slitaz.org"
   16.12  LICENSE="GPL2"
   16.13 +WEB_SITE="http://wammu.eu/gammu/"
   16.14 +
   16.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   16.16 -WEB_SITE="http://wammu.eu/gammu/"
   16.17  WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
   16.18  
   16.19 -DEPENDS="bluez sqlite3 libusb-compat libcurl"
   16.20 -BUILD_DEPENDS="$DEPENDS cmake"
   16.21 +BUILD_DEPENDS="bluez sqlite3 libusb-compat libcurl cmake"
   16.22 +SPLIT="gammu-dev"
   16.23  
   16.24 -# Rules to configure and make the package.
   16.25 -compile_rules()
   16.26 -{
   16.27 -	cd $src
   16.28 +compile_rules() {
   16.29  	mkdir -p build && cd build
   16.30  	cmake \
   16.31  		-DCMAKE_INSTALL_PREFIX=/usr \
   16.32 @@ -25,11 +23,21 @@
   16.33  	make DESTDIR=$DESTDIR install
   16.34  }
   16.35  
   16.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   16.37 -genpkg_rules()
   16.38 -{
   16.39 -	mkdir -p $fs/usr/lib
   16.40 -	cp -a $install/usr/bin $fs/usr
   16.41 -	rm $fs/usr/bin/gammu-config
   16.42 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   16.43 +genpkg_rules() {
   16.44 +	case $PACKAGE in
   16.45 +		gammu)
   16.46 +			mkdir -p $fs/usr/lib
   16.47 +			cp -a $install/usr/bin $fs/usr
   16.48 +			rm $fs/usr/bin/gammu-config
   16.49 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   16.50 +			DEPENDS="bluez sqlite3 libusb-compat libcurl"
   16.51 +			;;
   16.52 +		*-dev)
   16.53 +			mkdir -p $fs/usr/lib $fs/usr/bin
   16.54 +			cp -a $install/usr/bin/gammu-config $fs/usr/bin
   16.55 +			#cp -a $install/usr/lib/*.*a $fs/usr/lib
   16.56 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   16.57 +			cp -a $install/usr/include $fs/usr
   16.58 +			;;
   16.59 +	esac
   16.60  }
    17.1 --- a/gob2-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,17 +0,0 @@
    17.4 -# SliTaz package receipt.
    17.5 -
    17.6 -PACKAGE="gob2-dev"
    17.7 -VERSION="2.0.17"
    17.8 -CATEGORY="development"
    17.9 -MAINTAINER="jozee@slitaz.org"
   17.10 -LICENSE="GPL2"
   17.11 -SHORT_DESC="gob2 devel library."
   17.12 -WANTED="gob2"
   17.13 -WEB_SITE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
   17.14 -
   17.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   17.16 -genpkg_rules()
   17.17 -{
   17.18 -	mkdir -p $fs/usr/share
   17.19 -	cp -a $install/usr/share/aclocal* $fs/usr/share	
   17.20 -}
    18.1 --- a/gob2/receipt	Fri Mar 02 12:12:14 2018 +0200
    18.2 +++ b/gob2/receipt	Fri Mar 02 13:45:43 2018 +0200
    18.3 @@ -1,27 +1,33 @@
    18.4 -# SliTaz package receipt.
    18.5 +# SliTaz package receipt v2.
    18.6  
    18.7  PACKAGE="gob2"
    18.8  VERSION="2.0.17"
    18.9  CATEGORY="x-window"
   18.10  MAINTAINER="jozee@slitaz.org"
   18.11  LICENSE="GPL2"
   18.12 -SHORT_DESC="GTK Object Builder (GOB) is a simple preprocessor for easily creating GTK objects"
   18.13 +SHORT_DESC="GTK Object Builder (GOB) is a simple preprocessor for easily \
   18.14 +creating GTK objects"
   18.15  WEB_SITE="http://www.5z.com/jirka/gob.html"
   18.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   18.17  WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/${PACKAGE}/${VERSION%.*}/$TARBALL"
   18.18  
   18.19 -DEPENDS="glib"
   18.20  BUILD_DEPENDS="flex glib-dev"
   18.21 -
   18.22 -# Rules to configure and make the package.
   18.23 +SPLIT="gob2-dev"
   18.24  
   18.25  compile_rules() {
   18.26  	./configure $CONFIGURE_ARGS && make -j1 && make install
   18.27  }
   18.28 -	
   18.29 -# Rules to gen a SliTaz package suitable for Tazpkg.
   18.30 -genpkg_rules()
   18.31 -{
   18.32 -	mkdir -p $fs/usr
   18.33 -	cp -a $install/usr/bin $fs/usr	
   18.34 +
   18.35 +genpkg_rules() {
   18.36 +	case $PACKAGE in
   18.37 +		gob2)
   18.38 +			mkdir -p $fs/usr
   18.39 +			cp -a $install/usr/bin $fs/usr
   18.40 +			DEPENDS="glib"
   18.41 +			;;
   18.42 +		*-dev)
   18.43 +			mkdir -p $fs/usr/share
   18.44 +			cp -a $install/usr/share/aclocal* $fs/usr/share	
   18.45 +			;;
   18.46 +	esac
   18.47  }
    19.1 --- a/grub4dos-linux/receipt	Fri Mar 02 12:12:14 2018 +0200
    19.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.3 @@ -1,23 +0,0 @@
    19.4 -# SliTaz package receipt.
    19.5 -
    19.6 -PACKAGE="grub4dos-linux"
    19.7 -VERSION="0.4.4"
    19.8 -CATEGORY="system-tools"
    19.9 -SHORT_DESC="Some enhancments of grub boot loader - linux files."
   19.10 -MAINTAINER="pascal.bellard@slitaz.org"
   19.11 -LICENSE="GPL2"
   19.12 -WEB_SITE="http://grub4dos.sourceforge.net/"
   19.13 -PROVIDE="grub"
   19.14 -
   19.15 -WANTED="grub4dos"
   19.16 -
   19.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   19.18 -genpkg_rules()
   19.19 -{
   19.20 -	libarch=$(basename `ls $install/usr/lib/grub`)
   19.21 -	mkdir -p $fs/usr/lib/grub/$libarch
   19.22 -	cp -a $install/usr/bin $fs/usr
   19.23 -	cp -a $install/usr/sbin $fs/usr
   19.24 -	cp -a  $install/usr/lib/grub/$libarch/*stage* \
   19.25 -		$fs/usr/lib/grub/$libarch
   19.26 -}
    20.1 --- a/grub4dos/receipt	Fri Mar 02 12:12:14 2018 +0200
    20.2 +++ b/grub4dos/receipt	Fri Mar 02 13:45:43 2018 +0200
    20.3 @@ -1,9 +1,9 @@
    20.4 -# SliTaz package receipt.
    20.5 +# SliTaz package receipt v2.
    20.6  
    20.7  PACKAGE="grub4dos"
    20.8  VERSION="0.4.4"
    20.9  CATEGORY="system-tools"
   20.10 -SHORT_DESC="Some enhancments of grub boot loader."
   20.11 +SHORT_DESC="Some enhancments of grub boot loader"
   20.12  MAINTAINER="pascal.bellard@slitaz.org"
   20.13  LICENSE="GPL2"
   20.14  WEB_SITE="https://gna.org/projects/grub4dos/"
   20.15 @@ -14,9 +14,7 @@
   20.16  BUILD_DEPENDS="lzma gcc3"
   20.17  SPLIT="grub4dos-linux"
   20.18  
   20.19 -# Rules to configure and make the package.
   20.20 -compile_rules()
   20.21 -{
   20.22 +compile_rules() {
   20.23  	for i in $stuff/*.diff ; do
   20.24  		[ -f $(basename $i) ] && continue
   20.25  		patch -p1 < $i
   20.26 @@ -31,16 +29,28 @@
   20.27  	make && make install
   20.28  }
   20.29  
   20.30 -# Rules to gen a SliTaz package suitable for Tazpkg.
   20.31 -genpkg_rules()
   20.32 -{
   20.33 -	mkdir -p $fs/usr/share/boot \
   20.34 -		$fs/usr/bin
   20.35 -	
   20.36 -	lzma e $install/usr/lib/grub/*/grub.exe $fs/usr/share/boot/grub.exe.lzma
   20.37 -	lzma e $install/usr/lib/grub/*/grldr $fs/usr/share/boot/grldr.lzma
   20.38 -	
   20.39 -	cp $install/usr/lib/grub/*/bootlace.com $fs/usr/bin/bootlace
   20.40 -	chmod +x $fs/usr/bin/bootlace
   20.41 -	# Skip hmload.com badgrub.exe grldr.mbr
   20.42 +genpkg_rules() {
   20.43 +	case $PACKAGE in
   20.44 +		grub4dos)
   20.45 +			mkdir -p $fs/usr/share/boot \
   20.46 +				$fs/usr/bin
   20.47 +
   20.48 +			lzma e $install/usr/lib/grub/*/grub.exe $fs/usr/share/boot/grub.exe.lzma
   20.49 +			lzma e $install/usr/lib/grub/*/grldr $fs/usr/share/boot/grldr.lzma
   20.50 +
   20.51 +			cp $install/usr/lib/grub/*/bootlace.com $fs/usr/bin/bootlace
   20.52 +			chmod +x $fs/usr/bin/bootlace
   20.53 +			# Skip hmload.com badgrub.exe grldr.mbr
   20.54 +			;;
   20.55 +		grub4dos-linux)
   20.56 +			libarch=$(basename `ls $install/usr/lib/grub`)
   20.57 +			mkdir -p $fs/usr/lib/grub/$libarch
   20.58 +			cp -a $install/usr/bin $fs/usr
   20.59 +			cp -a $install/usr/sbin $fs/usr
   20.60 +			cp -a  $install/usr/lib/grub/$libarch/*stage* \
   20.61 +				$fs/usr/lib/grub/$libarch
   20.62 +			CAT="system-tools|linux files"
   20.63 +			PROVIDE="grub"
   20.64 +			;;
   20.65 +	esac
   20.66  }
    21.1 --- a/gtk3-engine-unico-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    21.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.3 @@ -1,19 +0,0 @@
    21.4 -# SliTaz package receipt.
    21.5 -
    21.6 -PACKAGE="gtk3-engine-unico-dev"
    21.7 -VERSION="1.0.2"
    21.8 -CATEGORY="development"
    21.9 -SHORT_DESC="Development files for Unico"
   21.10 -MAINTAINER="al.bobylev@gmail.com"
   21.11 -LICENSE="LGPL2.1"
   21.12 -WEB_SITE="https://launchpad.net/unico"
   21.13 -
   21.14 -WANTED="gtk3-engine-unico"
   21.15 -DEPENDS="gtk3-engine-unico"
   21.16 -
   21.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   21.18 -genpkg_rules()
   21.19 -{
   21.20 -	cp -a $install/* $fs
   21.21 -	find $fs -name '*.so' -delete
   21.22 -}
    22.1 --- a/gtk3-engine-unico/receipt	Fri Mar 02 12:12:14 2018 +0200
    22.2 +++ b/gtk3-engine-unico/receipt	Fri Mar 02 13:45:43 2018 +0200
    22.3 @@ -1,4 +1,4 @@
    22.4 -# SliTaz package receipt.
    22.5 +# SliTaz package receipt v2.
    22.6  
    22.7  PACKAGE="gtk3-engine-unico"
    22.8  VERSION="1.0.2"
    22.9 @@ -7,17 +7,14 @@
   22.10  MAINTAINER="al.bobylev@gmail.com"
   22.11  LICENSE="LGPL2.1"
   22.12  WEB_SITE="https://launchpad.net/unico"
   22.13 -SOURCE="unico"
   22.14 -TARBALL="$SOURCE-$VERSION.tar.gz"
   22.15 +
   22.16 +TARBALL="unico-$VERSION.tar.gz"
   22.17  WGET_URL="https://launchpad.net/unico/${VERSION%.*}/$VERSION/+download/$TARBALL"
   22.18 -TAGS="gtk3"
   22.19  
   22.20 -DEPENDS="gtk+3"
   22.21  BUILD_DEPENDS="gtk+3-dev wget libxml2-dev"
   22.22 +SPLIT="gtk3-engine-unico-dev"
   22.23  
   22.24 -# Rules to configure and make the package.
   22.25 -compile_rules()
   22.26 -{
   22.27 +compile_rules() {
   22.28  	./configure \
   22.29  		--disable-static \
   22.30  		--disable-debug \
   22.31 @@ -26,9 +23,17 @@
   22.32  	make install
   22.33  }
   22.34  
   22.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
   22.36 -genpkg_rules()
   22.37 -{
   22.38 -	cp -a $install/* $fs
   22.39 -	find $fs -name '*.*a' -delete
   22.40 +genpkg_rules() {
   22.41 +	case $PACKAGE in
   22.42 +		gtk3-engine-unico)
   22.43 +			cp -a $install/* $fs
   22.44 +			find $fs -name '*.*a' -delete
   22.45 +			DEPENDS="gtk+3"
   22.46 +			TAGS="gtk3"
   22.47 +			;;
   22.48 +		*-dev)
   22.49 +			cp -a $install/* $fs
   22.50 +			find $fs -name '*.so' -delete
   22.51 +			;;
   22.52 +	esac
   22.53  }
    23.1 --- a/guichan-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    23.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.3 @@ -1,21 +0,0 @@
    23.4 -# SliTaz package receipt.
    23.5 -
    23.6 -PACKAGE="guichan-dev"
    23.7 -VERSION="0.8.2"
    23.8 -CATEGORY="development"
    23.9 -SHORT_DESC="a portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL"
   23.10 -MAINTAINER="devl547@gmail.com"
   23.11 -LICENSE="BSD"
   23.12 -WEB_SITE="http://guichan.sourceforge.net/"
   23.13 -WANTED="guichan"
   23.14 -
   23.15 -DEPENDS="pkg-config"
   23.16 -
   23.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   23.18 -genpkg_rules()
   23.19 -{
   23.20 -	mkdir -p $fs/usr/lib
   23.21 -	cp -a $install/usr/lib/*a $fs/usr/lib
   23.22 -	cp -a $install/usr/include $fs/usr
   23.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   23.24 -}
    24.1 --- a/guichan/receipt	Fri Mar 02 12:12:14 2018 +0200
    24.2 +++ b/guichan/receipt	Fri Mar 02 13:45:43 2018 +0200
    24.3 @@ -1,4 +1,4 @@
    24.4 -# SliTaz package receipt.
    24.5 +# SliTaz package receipt v2.
    24.6  
    24.7  PACKAGE="guichan"
    24.8  VERSION="0.8.2"
    24.9 @@ -6,25 +6,35 @@
   24.10  SHORT_DESC="A portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL"
   24.11  MAINTAINER="devl547@gmail.com"
   24.12  LICENSE="BSD"
   24.13 +WEB_SITE="http://guichan.sourceforge.net/"
   24.14 +
   24.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   24.16 -WEB_SITE="http://guichan.sourceforge.net/"
   24.17  WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
   24.18  
   24.19 -DEPENDS="libsdl libsdl-image"
   24.20  BUILD_DEPENDS="libsdl-dev libsdl-image-dev mesa-dev"
   24.21 +SPLIT="guichan-dev"
   24.22  
   24.23 -# Rules to configure and make the package.
   24.24 -compile_rules()
   24.25 -{
   24.26 -	./configure --prefix=/usr $CONFIGURE_ARGS \
   24.27 -	--enable-sdl &&
   24.28 +compile_rules() {
   24.29 +	./configure \
   24.30 +		--prefix=/usr \
   24.31 +		--enable-sdl \
   24.32 +		$CONFIGURE_ARGS &&
   24.33  	make &&
   24.34  	make DESTDIR=$DESTDIR install
   24.35  }
   24.36  
   24.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
   24.38 -genpkg_rules()
   24.39 -{
   24.40 -	mkdir -p $fs/usr/lib
   24.41 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   24.42 +genpkg_rules() {
   24.43 +	case $PACKAGE in
   24.44 +		guichan)
   24.45 +			mkdir -p $fs/usr/lib
   24.46 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   24.47 +			DEPENDS="libsdl libsdl-image"
   24.48 +			;;
   24.49 +		*-dev)
   24.50 +			mkdir -p $fs/usr/lib
   24.51 +			cp -a $install/usr/lib/*a $fs/usr/lib
   24.52 +			cp -a $install/usr/include $fs/usr
   24.53 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   24.54 +			;;
   24.55 +	esac
   24.56  }
    25.1 --- a/leptonica-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    25.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.3 @@ -1,21 +0,0 @@
    25.4 -# SliTaz package receipt.
    25.5 -
    25.6 -PACKAGE="leptonica-dev"
    25.7 -VERSION="1.70"
    25.8 -CATEGORY="development"
    25.9 -SHORT_DESC="Software for image processing and image analysis applications, development files."
   25.10 -MAINTAINER="pascal.bellard@slitaz.org"
   25.11 -LICENSE="MIT"
   25.12 -WEB_SITE="http://www.leptonica.org/"
   25.13 -WANTED="leptonica"
   25.14 -
   25.15 -DEPENDS="leptonica"
   25.16 -
   25.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   25.18 -genpkg_rules()
   25.19 -{
   25.20 -	mkdir -p $fs/usr/lib
   25.21 -	cp -a $install/usr/include $fs/usr
   25.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
   25.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   25.24 -}
    26.1 --- a/leptonica/receipt	Fri Mar 02 12:12:14 2018 +0200
    26.2 +++ b/leptonica/receipt	Fri Mar 02 13:45:43 2018 +0200
    26.3 @@ -1,21 +1,20 @@
    26.4 -# SliTaz package receipt.
    26.5 +# SliTaz package receipt v2.
    26.6  
    26.7  PACKAGE="leptonica"
    26.8  VERSION="1.74.4"
    26.9  CATEGORY="graphics"
   26.10 -SHORT_DESC="Software for image processing and image analysis applications."
   26.11 +SHORT_DESC="Software for image processing and image analysis applications"
   26.12  MAINTAINER="pascal.bellard@slitaz.org"
   26.13  LICENSE="MIT"
   26.14  WEB_SITE="http://www.leptonica.org/"
   26.15 +
   26.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   26.17  WGET_URL="http://www.leptonica.org/source/$TARBALL"
   26.18  
   26.19 -DEPENDS="giflib jpeg libpng16 tiff xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libxcb"
   26.20  BUILD_DEPENDS="giflib-dev jpeg-dev libpng16-dev tiff-dev xorg-dev"
   26.21 +SPLIT="leptonica-dev"
   26.22  
   26.23 -# Rules to configure and make the package.
   26.24 -compile_rules()
   26.25 -{
   26.26 +compile_rules() {
   26.27  	./autogen.sh
   26.28  	./configure \
   26.29  		--prefix=/usr \
   26.30 @@ -23,10 +22,20 @@
   26.31  	make && make install
   26.32  }
   26.33  
   26.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   26.35 -genpkg_rules()
   26.36 -{
   26.37 -	mkdir -p $fs/usr/lib
   26.38 -	cp -a $install/usr/bin $fs/usr
   26.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   26.40 -}
   26.41 \ No newline at end of file
   26.42 +genpkg_rules() {
   26.43 +	case $PACKAGE in
   26.44 +		leptonica)
   26.45 +			mkdir -p $fs/usr/lib
   26.46 +			cp -a $install/usr/bin $fs/usr
   26.47 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   26.48 +			DEPENDS="giflib jpeg libpng16 tiff xorg-libX11 xorg-libXau \
   26.49 +			xorg-libXdmcp xorg-libxcb"
   26.50 +			;;
   26.51 +		*-dev)
   26.52 +			mkdir -p $fs/usr/lib
   26.53 +			cp -a $install/usr/include $fs/usr
   26.54 +			cp -a $install/usr/lib/*a $fs/usr/lib
   26.55 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   26.56 +			;;
   26.57 +	esac
   26.58 +}
    27.1 --- a/libao-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    27.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.3 @@ -1,25 +0,0 @@
    27.4 -# SliTaz package receipt.
    27.5 -
    27.6 -PACKAGE="libao-dev"
    27.7 -VERSION="1.1.0"
    27.8 -CATEGORY="development"
    27.9 -SHORT_DESC="libao devel files"
   27.10 -MAINTAINER="rj.rohit@gmail.com"
   27.11 -LICENSE="GPL2"
   27.12 -WANTED="libao"
   27.13 -WEB_SITE="http://downloads.xiph.org/releases/ao/" 
   27.14 -
   27.15 -DEPENDS="pkg-config"
   27.16 -
   27.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   27.18 -genpkg_rules()
   27.19 -{
   27.20 -	mkdir -p \
   27.21 -		$fs/usr/lib/ao/plugins-4 \
   27.22 -		$fs/usr/share
   27.23 -	cp -a $install/usr/lib/ao/plugins-4/*.la $fs/usr/lib/ao/plugins-4
   27.24 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   27.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   27.26 -	cp -a $install/usr/include $fs/usr
   27.27 -	cp -a $install/usr/share/aclocal $fs/usr/share
   27.28 -}
    28.1 --- a/libao/receipt	Fri Mar 02 12:12:14 2018 +0200
    28.2 +++ b/libao/receipt	Fri Mar 02 13:45:43 2018 +0200
    28.3 @@ -1,4 +1,4 @@
    28.4 -# SliTaz package receipt.
    28.5 +# SliTaz package receipt v2.
    28.6  
    28.7  PACKAGE="libao"
    28.8  VERSION="1.1.0"
    28.9 @@ -6,16 +6,15 @@
   28.10  SHORT_DESC="Cross-platform audio output library and plugins"
   28.11  MAINTAINER="rj.rohit@gmail.com"
   28.12  LICENSE="GPL2"
   28.13 +WEB_SITE="http://downloads.xiph.org/releases/ao/" 
   28.14 +
   28.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   28.16 -WEB_SITE="http://downloads.xiph.org/releases/ao/" 
   28.17  WGET_URL="$WEB_SITE/$TARBALL"
   28.18  
   28.19 -DEPENDS="glibc-base alsa-lib"
   28.20  BUILD_DEPENDS="alsa-lib-dev"
   28.21 +SPLIT="libao-dev"
   28.22  
   28.23 -# Rules to configure and make the package.
   28.24 -compile_rules()
   28.25 -{
   28.26 +compile_rules() {
   28.27  	./configure \
   28.28  		--enable-alsa09 \
   28.29  		--disable-arts \
   28.30 @@ -23,12 +22,25 @@
   28.31  	make && make install
   28.32  }
   28.33  
   28.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   28.35 -genpkg_rules()
   28.36 -{
   28.37 -	mkdir -p $fs/usr/lib/ao/plugins-4 $fs/etc
   28.38 -	cp -a $install/usr/lib/ao/plugins-4/*.so $fs/usr/lib/ao/plugins-4
   28.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   28.40 -	# Add conf file
   28.41 -	cp -a $stuff/libao.conf $fs/etc
   28.42 +genpkg_rules() {
   28.43 +	case $PACKAGE in
   28.44 +		libao)
   28.45 +			mkdir -p $fs/usr/lib/ao/plugins-4 $fs/etc
   28.46 +			cp -a $install/usr/lib/ao/plugins-4/*.so $fs/usr/lib/ao/plugins-4
   28.47 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   28.48 +			# Add conf file
   28.49 +			cp -a $stuff/libao.conf $fs/etc
   28.50 +			DEPENDS="glibc-base alsa-lib"
   28.51 +			;;
   28.52 +		*-dev)
   28.53 +			mkdir -p \
   28.54 +				$fs/usr/lib/ao/plugins-4 \
   28.55 +				$fs/usr/share
   28.56 +			cp -a $install/usr/lib/ao/plugins-4/*.la $fs/usr/lib/ao/plugins-4
   28.57 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   28.58 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   28.59 +			cp -a $install/usr/include $fs/usr
   28.60 +			cp -a $install/usr/share/aclocal $fs/usr/share
   28.61 +			;;
   28.62 +	esac
   28.63  }
    29.1 --- a/libestr-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    29.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.3 @@ -1,22 +0,0 @@
    29.4 -# SliTaz package receipt.
    29.5 -
    29.6 -PACKAGE="libestr-dev"
    29.7 -VERSION="0.1.2"
    29.8 -CATEGORY="development"
    29.9 -SHORT_DESC="libestr dev files"
   29.10 -MAINTAINER="erjo@slitaz.org"
   29.11 -LICENSE="LGPL2"
   29.12 -WEB_SITE="http://libestr.adiscon.com/"
   29.13 -WANTED="libestr"
   29.14 -
   29.15 -DEPENDS="libestr pkg-config"
   29.16 -
   29.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   29.18 -genpkg_rules()
   29.19 -{
   29.20 -	mkdir -p $fs/usr/lib
   29.21 -	cp -a $install/usr/lib/*.a* $fs/usr/lib
   29.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   29.23 -	cp -a $install/usr/include $fs/usr
   29.24 -	
   29.25 -}
    30.1 --- a/libestr/receipt	Fri Mar 02 12:12:14 2018 +0200
    30.2 +++ b/libestr/receipt	Fri Mar 02 13:45:43 2018 +0200
    30.3 @@ -1,25 +1,33 @@
    30.4 -# SliTaz package receipt.
    30.5 +# SliTaz package receipt v2.
    30.6  
    30.7  PACKAGE="libestr"
    30.8  VERSION="0.1.2"
    30.9  CATEGORY="system-tools"
   30.10 -SHORT_DESC="some essentials for string handling "
   30.11 +SHORT_DESC="Some essentials for string handling"
   30.12  MAINTAINER="erjo@slitaz.org"
   30.13  LICENSE="LGPL2"
   30.14  WEB_SITE="http://libestr.adiscon.com/"
   30.15 +
   30.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   30.17  WGET_URL="http://libestr.adiscon.com/files/download/$TARBALL"
   30.18  
   30.19 -# Rules to configure and make the package.
   30.20 -compile_rules()
   30.21 -{
   30.22 -	cd $src
   30.23 +SPLIT="libestr-dev"
   30.24 +
   30.25 +compile_rules() {
   30.26  	./configure $CONFIGURE_ARGS && make && make install
   30.27  }
   30.28  
   30.29 -# Rules to gen a SliTaz package suitable for Tazpkg.
   30.30 -genpkg_rules()
   30.31 -{
   30.32 -	mkdir -p $fs/usr/lib
   30.33 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   30.34 +genpkg_rules() {
   30.35 +	case $PACKAGE in
   30.36 +		libestr)
   30.37 +			mkdir -p $fs/usr/lib
   30.38 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   30.39 +			;;
   30.40 +		*-dev)
   30.41 +			mkdir -p $fs/usr/lib
   30.42 +			cp -a $install/usr/lib/*.a* $fs/usr/lib
   30.43 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   30.44 +			cp -a $install/usr/include $fs/usr
   30.45 +			;;
   30.46 +	esac
   30.47  }
    31.1 --- a/libetpan-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    31.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.3 @@ -1,20 +0,0 @@
    31.4 -# SliTaz package receipt."
    31.5 -
    31.6 -PACKAGE="libetpan-dev"
    31.7 -VERSION="1.0"
    31.8 -CATEGORY="development"
    31.9 -SHORT_DESC="Mail librayry dev files."
   31.10 -MAINTAINER="erjo@slitaz.org"
   31.11 -LICENSE="BSD"
   31.12 -WANTED="libetpan"
   31.13 -WEB_SITE="http://libetpan.sourceforge.net/libetpan/index.html"
   31.14 -
   31.15 -DEPENDS="libetpan"
   31.16 -
   31.17 -genpkg_rules()
   31.18 -{
   31.19 -	mkdir -p $fs/usr/lib
   31.20 -	cp -a $install/usr/bin $fs/usr
   31.21 -	cp -a $install/usr/include $fs/usr
   31.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   31.23 -}
    32.1 --- a/libetpan/receipt	Fri Mar 02 12:12:14 2018 +0200
    32.2 +++ b/libetpan/receipt	Fri Mar 02 13:45:43 2018 +0200
    32.3 @@ -1,33 +1,41 @@
    32.4 -# SliTaz package receipt.
    32.5 +# SliTaz package receipt v2.
    32.6  
    32.7  PACKAGE="libetpan"
    32.8  VERSION="1.0"
    32.9  CATEGORY="misc"
   32.10 -SHORT_DESC="Mail librayry"
   32.11 +SHORT_DESC="Mail library"
   32.12  MAINTAINER="erjo@slitaz.org"
   32.13  LICENSE="BSD"
   32.14 +WEB_SITE="http://libetpan.sourceforge.net/libetpan/index.html"
   32.15 +
   32.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   32.17 -WEB_SITE="http://libetpan.sourceforge.net/libetpan/index.html"
   32.18  WGET_URL="http://heanet.dl.sourceforge.net/sourceforge/libetpan/$TARBALL"
   32.19  
   32.20 -DEPENDS="libsasl expat libcurl libdb openssl zlib gcc-lib-base"
   32.21 +SPLIT="libetpan-dev"
   32.22  
   32.23 -# Rules to configure and make the package.
   32.24 -compile_rules()
   32.25 -{
   32.26 -	cd $src
   32.27 +compile_rules() {
   32.28  	sed -i 's/--iso-8601=minutes/+%Y-%m-%dT%H:%M%Z/' configure
   32.29 -	./configure --prefix=/usr --infodir=/usr/share/info \
   32.30 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
   32.31 +	./configure \
   32.32 +		--prefix=/usr \
   32.33 +		--infodir=/usr/share/info \
   32.34 +		--mandir=/usr/share/man \
   32.35 +		$CONFIGURE_ARGS &&
   32.36  	make &&
   32.37  	make DESTDIR=$DESTDIR install
   32.38  }
   32.39  
   32.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
   32.41 -genpkg_rules()
   32.42 -{
   32.43 -	mkdir -p $fs/usr/lib
   32.44 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   32.45 -	
   32.46 +genpkg_rules() {
   32.47 +	case $PACKAGE in
   32.48 +		libetpan)
   32.49 +			mkdir -p $fs/usr/lib
   32.50 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   32.51 +			DEPENDS="libsasl expat libcurl libdb openssl zlib gcc-lib-base"
   32.52 +			;;
   32.53 +		*-dev)
   32.54 +			mkdir -p $fs/usr/lib
   32.55 +			cp -a $install/usr/bin $fs/usr
   32.56 +			cp -a $install/usr/include $fs/usr
   32.57 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   32.58 +			;;
   32.59 +	esac
   32.60  }
   32.61 -
    33.1 --- a/liblrdf-dev/receipt	Fri Mar 02 12:12:14 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="liblrdf-dev"
    33.7 -VERSION="0.4.0"
    33.8 -CATEGORY="development"
    33.9 -MAINTAINER="jozee@slitaz.org"
   33.10 -LICENSE="GPL2"
   33.11 -SHORT_DESC="liblrdf devel files"
   33.12 -WEB_SITE="http://librdf.org/raptor"
   33.13 -WANTED="liblrdf"
   33.14 -
   33.15 -DEPENDS="liblrdf raptor-dev 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/liblrdf/receipt	Fri Mar 02 12:12:14 2018 +0200
    34.2 +++ b/liblrdf/receipt	Fri Mar 02 13:45:43 2018 +0200
    34.3 @@ -1,4 +1,4 @@
    34.4 -# SliTaz package receipt.
    34.5 +# SliTaz package receipt v2.
    34.6  
    34.7  PACKAGE="liblrdf"
    34.8  VERSION="0.4.0"
    34.9 @@ -7,28 +7,36 @@
   34.10  LICENSE="GPL2"
   34.11  SHORT_DESC="A library for the manipulation of RDF file in LADSPA plugins"
   34.12  WEB_SITE="http://sourceforge.net/projects/lrdf"
   34.13 +
   34.14  TARBALL="${PACKAGE}-${VERSION}.tar.gz"
   34.15  WGET_URL="$SF_MIRROR/lrdf/$TARBALL"
   34.16  
   34.17 -DEPENDS="raptor ladspa libcurl libxslt"
   34.18  BUILD_DEPENDS="raptor-dev ladspa-dev curl-dev libxslt-dev \
   34.19  autoconf automake libtool"
   34.20 +SPLIT="liblrdf-dev"
   34.21  
   34.22 -# Rules to configure and make the package.
   34.23 -compile_rules()
   34.24 -{
   34.25 -	cd $src
   34.26 +compile_rules() {
   34.27  	patch -Np1 -i $stuff/md5.patch
   34.28  	patch -Np0 -i $stuff/raptor2.diff
   34.29  	patch -Np1 -i $stuff/pkgconfig-raptor.patch
   34.30  	autoreconf -vfi
   34.31  	./configure $CONFIGURE_ARGS && make && make install
   34.32  }
   34.33 -	
   34.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   34.35 -genpkg_rules()
   34.36 -{
   34.37 -	mkdir -p $fs/usr/lib $fs/usr/share
   34.38 -	cp -a $install/usr/lib/*so* $fs/usr/lib/
   34.39 -	cp -a $install/usr/share/ladspa $fs/usr/share
   34.40 +
   34.41 +genpkg_rules() {
   34.42 +	case $PACKAGE in
   34.43 +		liblrdf)
   34.44 +			mkdir -p $fs/usr/lib $fs/usr/share
   34.45 +			cp -a $install/usr/lib/*so* $fs/usr/lib/
   34.46 +			cp -a $install/usr/share/ladspa $fs/usr/share
   34.47 +			DEPENDS="raptor ladspa libcurl libxslt"
   34.48 +			;;
   34.49 +		*-dev)
   34.50 +			mkdir -p $fs/usr/lib
   34.51 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   34.52 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   34.53 +			cp -a $install/usr/include $fs/usr
   34.54 +			DEPENDS="liblrdf raptor-dev pkg-config"
   34.55 +			;;
   34.56 +	esac
   34.57  }
    35.1 --- a/libplayer-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    35.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.3 @@ -1,20 +0,0 @@
    35.4 -# SliTaz package receipt.
    35.5 -
    35.6 -PACKAGE="libplayer-dev"
    35.7 -VERSION="2.0.1"
    35.8 -CATEGORY="multimedia"
    35.9 -SHORT_DESC="A tiny media scanner API. "
   35.10 -MAINTAINER="pankso@slitaz.org"
   35.11 -LICENSE="LGPL2.1"
   35.12 -WANTED="libplayer"
   35.13 -WEB_SITE="http://libplayer.geexbox.org/"
   35.14 -
   35.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   35.16 -genpkg_rules()
   35.17 -{
   35.18 -	mkdir -p $fs/usr/lib
   35.19 -	cp -a $install/usr/bin $fs/usr
   35.20 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   35.21 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   35.22 -	cp -a $install/usr/include $fs/usr
   35.23 -}
    36.1 --- a/libplayer/receipt	Fri Mar 02 12:12:14 2018 +0200
    36.2 +++ b/libplayer/receipt	Fri Mar 02 13:45:43 2018 +0200
    36.3 @@ -1,26 +1,24 @@
    36.4 -# SliTaz package receipt.
    36.5 +# SliTaz package receipt v2.
    36.6  
    36.7  PACKAGE="libplayer"
    36.8  VERSION="2.0.1"
    36.9  CATEGORY="multimedia"
   36.10 -SHORT_DESC="A multimedia A/V abstraction layer API."
   36.11 +SHORT_DESC="A multimedia A/V abstraction layer API"
   36.12  MAINTAINER="pankso@slitaz.org"
   36.13  LICENSE="LGPL2.1"
   36.14 +WEB_SITE="http://libplayer.geexbox.org/"
   36.15 +
   36.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   36.17 -WEB_SITE="http://libplayer.geexbox.org/"
   36.18  WGET_URL="http://libplayer.geexbox.org/releases/$TARBALL"
   36.19  
   36.20 -DEPENDS="xine-lib"
   36.21  BUILD_DEPENDS="xine-lib-dev"
   36.22 +SPLIT="libplayer-dev"
   36.23  
   36.24 -# Handle cross compilation
   36.25 -case "$ARCH" in
   36.26 -	arm*) ARCH_ARGS="--cross-compile" ;;
   36.27 -esac
   36.28 +compile_rules() {
   36.29 +	case "$ARCH" in
   36.30 +		arm*) ARCH_ARGS="--cross-compile" ;;
   36.31 +	esac
   36.32  
   36.33 -# Rules to configure and make the package.
   36.34 -compile_rules()
   36.35 -{
   36.36  	sed -i 's/cat -n/awk '"'"'{ printf "%6d  %s\\n",++n,$0 }'"'"' </' configure
   36.37  	./configure \
   36.38  		--prefix=/usr\
   36.39 @@ -30,10 +28,20 @@
   36.40  	make && make install
   36.41  }
   36.42  
   36.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
   36.44 -genpkg_rules()
   36.45 -{
   36.46 -	mkdir -p $fs/usr/lib
   36.47 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   36.48 -	cp -a $install/usr/bin $fs/usr
   36.49 +genpkg_rules() {
   36.50 +	case $PACKAGE in
   36.51 +		libplayer)
   36.52 +			mkdir -p $fs/usr/lib
   36.53 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   36.54 +			cp -a $install/usr/bin $fs/usr
   36.55 +			DEPENDS="xine-lib"
   36.56 +			;;
   36.57 +		*-dev)
   36.58 +			mkdir -p $fs/usr/lib
   36.59 +			cp -a $install/usr/bin $fs/usr
   36.60 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   36.61 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   36.62 +			cp -a $install/usr/include $fs/usr
   36.63 +			;;
   36.64 +	esac
   36.65  }
    37.1 --- a/libtorrent-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    37.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    37.3 @@ -1,21 +0,0 @@
    37.4 -# SliTaz package receipt.
    37.5 -
    37.6 -PACKAGE="libtorrent-dev"
    37.7 -VERSION="0.13.3"
    37.8 -CATEGORY="development"
    37.9 -SHORT_DESC="Libtorrent development files."
   37.10 -MAINTAINER="mimas@slitaz.org"
   37.11 -LICENSE="GPL2"
   37.12 -WANTED="libtorrent"
   37.13 -WEB_SITE="http://libtorrent.rakshasa.no/"
   37.14 -
   37.15 -DEPENDS="libtorrent 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/pkgconfig
   37.21 -	cp -a $install/usr/include $fs/usr
   37.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   37.23 -	cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig
   37.24 -}
    38.1 --- a/libtorrent/receipt	Fri Mar 02 12:12:14 2018 +0200
    38.2 +++ b/libtorrent/receipt	Fri Mar 02 13:45:43 2018 +0200
    38.3 @@ -1,4 +1,4 @@
    38.4 -# SliTaz package receipt.
    38.5 +# SliTaz package receipt v2.
    38.6  
    38.7  PACKAGE="libtorrent"
    38.8  VERSION="0.13.3"
    38.9 @@ -6,26 +6,34 @@
   38.10  SHORT_DESC="Torrent library for rtorrent"
   38.11  MAINTAINER="mimas@slitaz.org"
   38.12  LICENSE="GPL2"
   38.13 +WEB_SITE="http://libtorrent.rakshasa.no/"
   38.14 +
   38.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   38.16 -WEB_SITE="http://libtorrent.rakshasa.no/"
   38.17  WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL"
   38.18  
   38.19  CROSS_BUGS="bug: can not run test program"
   38.20  
   38.21 -DEPENDS="curl libsigc++ openssl"
   38.22  BUILD_DEPENDS="curl-dev libsigc++-dev openssl-dev"
   38.23 +SPLIT="libtorrent-dev"
   38.24  
   38.25 -# Rules to configure and make the package.
   38.26 -compile_rules()
   38.27 -{
   38.28 +compile_rules() {
   38.29  	./configure \
   38.30  		$CONFIGURE_ARGS &&
   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/lib/*.so* $fs/usr/lib
   38.39 +genpkg_rules() {
   38.40 +	case $PACKAGE in
   38.41 +		libtorrent)
   38.42 +			mkdir -p $fs/usr/lib
   38.43 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   38.44 +			DEPENDS="curl libsigc++ openssl"
   38.45 +			;;
   38.46 +		*-dev)
   38.47 +			mkdir -p $fs/usr/lib/pkgconfig
   38.48 +			cp -a $install/usr/include $fs/usr
   38.49 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   38.50 +			cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig
   38.51 +			;;
   38.52 +	esac
   38.53  }
    39.1 --- a/lite-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    39.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    39.3 @@ -1,19 +0,0 @@
    39.4 -# SliTaz package receipt.
    39.5 -
    39.6 -PACKAGE="lite-dev"
    39.7 -VERSION="0.8.10"
    39.8 -CATEGORY="graphics"
    39.9 -SHORT_DESC="DirectFB - LiTE devel files"
   39.10 -MAINTAINER="pankso@slitaz.org"
   39.11 -LICENSE="GPL2"
   39.12 -WANTED="lite"
   39.13 -WEB_SITE="http://www.directfb.org/index.php?path=Platform/LiTE"
   39.14 -
   39.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   39.16 -genpkg_rules()
   39.17 -{
   39.18 -	mkdir -p $fs/usr/lib
   39.19 -	cp -a $install/usr/include $fs/usr
   39.20 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   39.21 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   39.22 -}
    40.1 --- a/lite/receipt	Fri Mar 02 12:12:14 2018 +0200
    40.2 +++ b/lite/receipt	Fri Mar 02 13:45:43 2018 +0200
    40.3 @@ -1,4 +1,4 @@
    40.4 -# SliTaz package receipt.
    40.5 +# SliTaz package receipt v2.
    40.6  
    40.7  PACKAGE="lite"
    40.8  VERSION="0.8.10"
    40.9 @@ -6,24 +6,21 @@
   40.10  SHORT_DESC="LiTE is a Toolkit Engine using DirectFB"
   40.11  MAINTAINER="pankso@slitaz.org"
   40.12  LICENSE="GPL2"
   40.13 -SOURCE="LiTE"
   40.14 -TARBALL="${SOURCE}-${VERSION}.tar.gz"
   40.15  WEB_SITE="http://www.directfb.org/index.php?path=Platform/LiTE"
   40.16 +
   40.17 +TARBALL="LiTE-$VERSION.tar.gz"
   40.18  WGET_URL="http://www.directfb.org/downloads/Libs/$TARBALL"
   40.19  
   40.20 -DEPENDS="directfb"
   40.21  BUILD_DEPENDS="directfb-dev"
   40.22 +SPLIT="lite-dev"
   40.23  
   40.24 -# Handle cross compilation.
   40.25 -case "$ARCH" in
   40.26 -	arm) 
   40.27 -		export LDFLAGS="$LDFLAGS -L/cross/arm/sysroot/usr/lib"
   40.28 -		export CPPFLAGS="$CPPFLAGS -I/cross/arm/sysroot/usr/include/directfb" ;;
   40.29 -esac
   40.30 +compile_rules() {
   40.31 +	case "$ARCH" in
   40.32 +		arm)
   40.33 +			export LDFLAGS="$LDFLAGS -L/cross/arm/sysroot/usr/lib"
   40.34 +			export CPPFLAGS="$CPPFLAGS -I/cross/arm/sysroot/usr/include/directfb" ;;
   40.35 +	esac
   40.36  
   40.37 -# Rules to configure and make the package.
   40.38 -compile_rules()
   40.39 -{
   40.40  	patch -Np1 -i ${stuff}/lite_fix_stat_naming.patch || return 1
   40.41  	patch -Np1 -i ${stuff}/lite_fix_pkgconfig.patch || return 1
   40.42  	 ./configure \
   40.43 @@ -31,11 +28,20 @@
   40.44  	make && make install
   40.45  }
   40.46  
   40.47 -# Rules to gen a SliTaz package suitable for Tazpkg.
   40.48 -genpkg_rules()
   40.49 -{
   40.50 -	mkdir -p $fs/usr/lib
   40.51 -	cp -a $install/usr/bin $fs/usr
   40.52 -	cp -a $install/usr/share $fs/usr
   40.53 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   40.54 +genpkg_rules() {
   40.55 +	case $PACKAGE in
   40.56 +		lite)
   40.57 +			mkdir -p $fs/usr/lib
   40.58 +			cp -a $install/usr/bin $fs/usr
   40.59 +			cp -a $install/usr/share $fs/usr
   40.60 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   40.61 +			DEPENDS="directfb"
   40.62 +			;;
   40.63 +		*-dev)
   40.64 +			mkdir -p $fs/usr/lib
   40.65 +			cp -a $install/usr/include $fs/usr
   40.66 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   40.67 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   40.68 +			;;
   40.69 +	esac
   40.70  }
    41.1 --- a/log4c-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    41.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    41.3 @@ -1,22 +0,0 @@
    41.4 -# SliTaz package receipt.
    41.5 -
    41.6 -PACKAGE="log4c-dev"
    41.7 -VERSION="1.2.1"
    41.8 -CATEGORY="development"
    41.9 -SHORT_DESC="Log4c development files"
   41.10 -MAINTAINER="erjo@slitaz.org"
   41.11 -LICENSE="LGPL2.1"
   41.12 -WEB_SITE="http://log4c.sourceforge.net"
   41.13 -WANTED="log4c"
   41.14 -
   41.15 -DEPENDS="log4c"
   41.16 -
   41.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   41.18 -genpkg_rules()
   41.19 -{
   41.20 -	mkdir -p $fs/usr/lib 
   41.21 -	cp -a $install/usr/bin $fs/usr
   41.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   41.23 -	cp -a $install/usr/include $fs/usr
   41.24 -	cp -a $install/usr/share $fs/usr
   41.25 -}
    42.1 --- a/log4c/receipt	Fri Mar 02 12:12:14 2018 +0200
    42.2 +++ b/log4c/receipt	Fri Mar 02 13:45:43 2018 +0200
    42.3 @@ -1,4 +1,4 @@
    42.4 -# SliTaz package receipt.
    42.5 +# SliTaz package receipt v2.
    42.6  
    42.7  PACKAGE="log4c"
    42.8  VERSION="1.2.1"
    42.9 @@ -7,23 +7,32 @@
   42.10  MAINTAINER="erjo@slitaz.org"
   42.11  LICENSE="LGPL2.1"
   42.12  WEB_SITE="http://log4c.sourceforge.net"
   42.13 +
   42.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   42.15  WGET_URL="http://prdownloads.sourceforge.net/log4c/$TARBALL"
   42.16  
   42.17 -DEPENDS=""
   42.18 -BUILD_DEPENDS=""
   42.19 +SPLIT="log4c-dev"
   42.20  
   42.21 -# Rules to configure and make the package.
   42.22 -compile_rules()
   42.23 -{
   42.24 -	./configure $CONFIGURE_ARGS \
   42.25 -		--sysconfdir=/etc && make && make install
   42.26 +compile_rules() {
   42.27 +	./configure \
   42.28 +		--sysconfdir=/etc \
   42.29 +		$CONFIGURE_ARGS &&
   42.30 +	make && make install
   42.31  }
   42.32  
   42.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
   42.34 -genpkg_rules()
   42.35 -{
   42.36 -	mkdir -p $fs/usr/lib $fs/etc
   42.37 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   42.38 -	cp -a $install/etc/log4crc.sample $fs/etc/log4crc
   42.39 +genpkg_rules() {
   42.40 +	case $PACKAGE in
   42.41 +		log4c)
   42.42 +			mkdir -p $fs/usr/lib $fs/etc
   42.43 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   42.44 +			cp -a $install/etc/log4crc.sample $fs/etc/log4crc
   42.45 +			;;
   42.46 +		*-dev)
   42.47 +			mkdir -p $fs/usr/lib 
   42.48 +			cp -a $install/usr/bin $fs/usr
   42.49 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   42.50 +			cp -a $install/usr/include $fs/usr
   42.51 +			cp -a $install/usr/share $fs/usr
   42.52 +			;;
   42.53 +	esac
   42.54  }
    43.1 --- a/mcabber-help/receipt	Fri Mar 02 12:12:14 2018 +0200
    43.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    43.3 @@ -1,20 +0,0 @@
    43.4 -# SliTaz package receipt.
    43.5 -
    43.6 -PACKAGE="mcabber-help"
    43.7 -VERSION="0.9.10"
    43.8 -CATEGORY="network"
    43.9 -SHORT_DESC="Jabber console client help files"
   43.10 -MAINTAINER="pascal.bellard@slitaz.org"
   43.11 -LICENSE="GPL2"
   43.12 -WEB_SITE="http://lilotux.net/~mikael/mcabber"
   43.13 -WANTED="mcabber"
   43.14 -
   43.15 -DEPENDS="mcabber"
   43.16 -
   43.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   43.18 -genpkg_rules()
   43.19 -{
   43.20 -	mkdir -p $fs/usr/share
   43.21 -	cp -a $install/usr/share/mcabber $fs/usr/share
   43.22 -}
   43.23 -
    44.1 --- a/mcabber/receipt	Fri Mar 02 12:12:14 2018 +0200
    44.2 +++ b/mcabber/receipt	Fri Mar 02 13:45:43 2018 +0200
    44.3 @@ -1,29 +1,35 @@
    44.4 -# SliTaz package receipt.
    44.5 +# SliTaz package receipt v2.
    44.6  
    44.7  PACKAGE="mcabber"
    44.8  VERSION="0.9.10"
    44.9  CATEGORY="network"
   44.10 -SHORT_DESC="Jabber console client."
   44.11 +SHORT_DESC="Jabber console client"
   44.12  MAINTAINER="pascal.bellard@slitaz.org"
   44.13  LICENSE="GPL2"
   44.14 +WEB_SITE="http://lilotux.net/~mikael/mcabber"
   44.15 +
   44.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   44.17 -WEB_SITE="http://lilotux.net/~mikael/mcabber"
   44.18  WGET_URL="$WEB_SITE/files/$TARBALL"
   44.19  
   44.20 -DEPENDS="openssl glib gpgme libgpg-error  ncurses"
   44.21  BUILD_DEPENDS="ncurses-dev glib-dev"
   44.22 +SPLIT="mcabber-help"
   44.23  
   44.24 -# Rules to configure and make the package.
   44.25 -compile_rules()
   44.26 -{
   44.27 -	cd $src
   44.28 +compile_rules() {
   44.29  	./configure && make && make install
   44.30  }
   44.31  
   44.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
   44.33 -genpkg_rules()
   44.34 -{
   44.35 -	mkdir -p $fs/usr
   44.36 -	cp -a $install/usr/bin $fs/usr
   44.37 +genpkg_rules() {
   44.38 +	case $PACKAGE in
   44.39 +		mcabber)
   44.40 +			mkdir -p $fs/usr
   44.41 +			cp -a $install/usr/bin $fs/usr
   44.42 +			DEPENDS="openssl glib gpgme libgpg-error  ncurses"
   44.43 +			;;
   44.44 +		mcabber-help)
   44.45 +			mkdir -p $fs/usr/share
   44.46 +			cp -a $install/usr/share/mcabber $fs/usr/share
   44.47 +			CAT="network|help files"
   44.48 +			DEPENDS="mcabber"
   44.49 +			;;
   44.50 +	esac
   44.51  }
   44.52 -
    45.1 --- a/mpg123-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    45.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    45.3 @@ -1,25 +0,0 @@
    45.4 -# SliTaz package receipt.
    45.5 -
    45.6 -PACKAGE="mpg123-dev"
    45.7 -VERSION="1.19.0"
    45.8 -CATEGORY="development"
    45.9 -SHORT_DESC="mpg123 development files"
   45.10 -MAINTAINER="devl547@gmail.com"
   45.11 -LICENSE="LGPL2.1"
   45.12 -WEB_SITE="http://www.mpg123.de"
   45.13 -
   45.14 -WANTED="mpg123"
   45.15 -DEPENDS="mpg123 pkg-config"
   45.16 -
   45.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   45.18 -genpkg_rules()
   45.19 -{
   45.20 -	mkdir -p $fs/usr/lib/mpg123
   45.21 -	cp -a $install/usr/include $fs/usr
   45.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   45.23 -	# ARM mpg123 need *.la file to work
   45.24 -	#if [ -d "$install/usr/lib/mpg123" ]; then
   45.25 -		#cp -a $install/usr/lib/mpg123 $fs/usr/lib
   45.26 -		#find $fs/usr/lib -name "*.so" -exec rm -f {} \;
   45.27 -	#fi
   45.28 -}
    46.1 --- a/mpg123/receipt	Fri Mar 02 12:12:14 2018 +0200
    46.2 +++ b/mpg123/receipt	Fri Mar 02 13:45:43 2018 +0200
    46.3 @@ -1,4 +1,4 @@
    46.4 -# SliTaz package receipt.
    46.5 +# SliTaz package receipt v2.
    46.6  
    46.7  PACKAGE="mpg123"
    46.8  VERSION="1.19.0"
    46.9 @@ -6,40 +6,51 @@
   46.10  SHORT_DESC="Command line audio player and streamer"
   46.11  MAINTAINER="pankso@slitaz.org"
   46.12  LICENSE="LGPL2.1"
   46.13 +WEB_SITE="http://www.mpg123.de/"
   46.14 +
   46.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   46.16 -WEB_SITE="http://www.mpg123.de/"
   46.17  WGET_URL="http://www.mpg123.de/download/$TARBALL"
   46.18  
   46.19 -DEPENDS="alsa-lib audiofile libltdl"
   46.20  BUILD_DEPENDS="alsa-lib-dev audiofile-dev"
   46.21 +SPLIT="mpg123-dev"
   46.22  
   46.23 -# Arch optimisation
   46.24 -case "$ARCH" in
   46.25 -	i486) ARCH_ARGS="--with-cpu=i486" ;;
   46.26 -	arm*) ARCH_ARGS="--with-cpu=arm_nofpu" ;;
   46.27 -esac
   46.28 +compile_rules() {
   46.29 +	case "$ARCH" in
   46.30 +		i486) ARCH_ARGS="--with-cpu=i486" ;;
   46.31 +		arm*) ARCH_ARGS="--with-cpu=arm_nofpu" ;;
   46.32 +	esac
   46.33  
   46.34 -# Rules to configure and make the package.
   46.35 -compile_rules()
   46.36 -{
   46.37  	./configure \
   46.38  		--with-default-audio=alsa \
   46.39 -		$CONFIGURE_ARGS ${ARCH_ARGS} &&
   46.40 +		$CONFIGURE_ARGS $ARCH_ARGS &&
   46.41  	make && make install
   46.42  }
   46.43  
   46.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
   46.45 -genpkg_rules()
   46.46 -{
   46.47 -	mkdir -p $fs/usr/lib
   46.48 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   46.49 -	cp -a $install/usr/bin $fs/usr
   46.50 -	# ARM
   46.51 -	if [ -d "$install/usr/lib/mpg123" ]; then
   46.52 -		cp -a $install/usr/lib/mpg123 $fs/usr/lib
   46.53 -		#mpg123 need *.la file to work
   46.54 -		#find $fs/usr/lib -name "*.la" -exec rm -f {} \;
   46.55 -	fi
   46.56 -	# Needed to work!!! Dont remove
   46.57 -	cp $install/usr/lib/libmpg123.la $fs/usr/lib
   46.58 +genpkg_rules() {
   46.59 +	case $PACKAGE in
   46.60 +		mpg123)
   46.61 +			mkdir -p $fs/usr/lib
   46.62 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   46.63 +			cp -a $install/usr/bin $fs/usr
   46.64 +			# ARM
   46.65 +			if [ -d "$install/usr/lib/mpg123" ]; then
   46.66 +				cp -a $install/usr/lib/mpg123 $fs/usr/lib
   46.67 +				#mpg123 need *.la file to work
   46.68 +				#find $fs/usr/lib -name "*.la" -exec rm -f {} \;
   46.69 +			fi
   46.70 +			# Needed to work!!! Dont remove
   46.71 +			cp $install/usr/lib/libmpg123.la $fs/usr/lib
   46.72 +			DEPENDS="alsa-lib audiofile libltdl"
   46.73 +			;;
   46.74 +		*-dev)
   46.75 +			mkdir -p $fs/usr/lib/mpg123
   46.76 +			cp -a $install/usr/include $fs/usr
   46.77 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   46.78 +			# ARM mpg123 need *.la file to work
   46.79 +			#if [ -d "$install/usr/lib/mpg123" ]; then
   46.80 +				#cp -a $install/usr/lib/mpg123 $fs/usr/lib
   46.81 +				#find $fs/usr/lib -name "*.so" -exec rm -f {} \;
   46.82 +			#fi
   46.83 +			;;
   46.84 +	esac
   46.85  }
    47.1 --- a/netatalk-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    47.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    47.3 @@ -1,22 +0,0 @@
    47.4 -# SliTaz package receipt.
    47.5 -
    47.6 -PACKAGE="netatalk-dev"
    47.7 -VERSION="2.2.3"
    47.8 -CATEGORY="development"
    47.9 -SHORT_DESC="The AppleTalk Protocol Suite development files."
   47.10 -MAINTAINER="pascal.bellard@slitaz.org"
   47.11 -LICENSE="GPL2"
   47.12 -WEB_SITE="http://netatalk.sourceforge.net/"
   47.13 -WANTED="netatalk"
   47.14 -
   47.15 -DEPENDS="netatalk"
   47.16 -
   47.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   47.18 -genpkg_rules()
   47.19 -{
   47.20 -	mkdir -p $fs/usr/share $fs/etc/netatalk/uams/
   47.21 -	cp -a $install/usr/lib $fs/usr
   47.22 -	cp -a $install/usr/include $fs/usr
   47.23 -	#cp -a $install/usr/share/netatalk $fs/usr/share
   47.24 -	cp -a $install/etc/netatalk/uams/*.a $fs/etc/netatalk/uams/
   47.25 -}
    48.1 --- a/netatalk/receipt	Fri Mar 02 12:12:14 2018 +0200
    48.2 +++ b/netatalk/receipt	Fri Mar 02 13:45:43 2018 +0200
    48.3 @@ -3,91 +3,105 @@
    48.4  PACKAGE="netatalk"
    48.5  VERSION="2.2.3"
    48.6  CATEGORY="system-tools"
    48.7 -SHORT_DESC="The AppleTalk Protocol Suite."
    48.8 +SHORT_DESC="The AppleTalk Protocol Suite"
    48.9  MAINTAINER="pascal.bellard@slitaz.org"
   48.10  LICENSE="GPL2"
   48.11 +WEB_SITE="http://netatalk.sourceforge.net/"
   48.12 +
   48.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   48.14 -WEB_SITE="http://netatalk.sourceforge.net/"
   48.15  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   48.16 -CONFIG_FILES="/etc/netatalk/AppleVolumes.* /etc/netatalk/*.conf"
   48.17  
   48.18  BUILD_DEPENDS="db-dev openssl-dev file pam-dev"
   48.19 -SPLIT="netatalk netatalk-pam"
   48.20 +SPLIT="netatalk netatalk-pam netatalk-dev"
   48.21  
   48.22 -# Rules to configure and make the package.
   48.23 -compile_rules()
   48.24 -{
   48.25 +compile_rules() {
   48.26  	cp -a $src $src-pam
   48.27 -	./configure --without-pam --prefix=/usr --sysconfdir=/etc \
   48.28 +	./configure \
   48.29 +		--without-pam \
   48.30 +		--prefix=/usr \
   48.31 +		--sysconfdir=/etc \
   48.32  		--libexecdir=/usr/lib/netatalk \
   48.33 -		--mandir=/usr/share/man $CONFIGURE_ARGS &&
   48.34 +		--mandir=/usr/share/man \
   48.35 +		$CONFIGURE_ARGS &&
   48.36  	make &&
   48.37  	make DESTDIR=$DESTDIR install || return 1
   48.38  
   48.39  	cd $src-pam
   48.40 -	./configure --with-pam --prefix=/usr --sysconfdir=/etc \
   48.41 +	./configure \
   48.42 +		--with-pam \
   48.43 +		--prefix=/usr \
   48.44 +		--sysconfdir=/etc \
   48.45  		--libexecdir=/usr/lib/netatalk \
   48.46 -		--mandir=/usr/share/man $CONFIGURE_ARGS &&
   48.47 +		--mandir=/usr/share/man \
   48.48 +		$CONFIGURE_ARGS &&
   48.49  	make &&
   48.50  	make DESTDIR=$DESTDIR-pam install
   48.51  }
   48.52  
   48.53 -# Rules to gen a SliTaz package suitable for Tazpkg.
   48.54 -genpkg_rules()
   48.55 -{
   48.56 -	DEPENDS="perl libdb openssl cups gnutls libgcrypt libgpg-error  \
   48.57 -		libwrap zlib libcomerr3"
   48.58 -	if [ $PACKAGE == 'netatalk-pam' ]; then
   48.59 -		DEPENDS="$DEPENDS pam"
   48.60 -		PROVIDE="netatalk:pam"
   48.61 -		CAT="system-tools|using PAM"
   48.62 -		install=$install-pam
   48.63 -	fi
   48.64 -	mkdir -p $fs/usr/share $fs/usr/lib
   48.65 -	cp -a $install/usr/bin $fs/usr
   48.66 -	cp -a $install/usr/sbin $fs/usr
   48.67 -	#cp -a $install/usr/lib/netatalk $fs/usr/lib
   48.68 -	cp -a $install/etc $fs
   48.69 -	cp -a $stuff/etc $fs
   48.70 -	[ $PACKAGE == 'netatalk-pam' ] || rm -rf $fs/etc/pam.d
   48.71 -	rm -f $fs/etc/netatalk/uams/*a
   48.72 +genpkg_rules() {
   48.73 +	case $PACKAGE in
   48.74 +		netatalk|netatalk-pam)
   48.75 +			DEPENDS="perl libdb openssl cups gnutls libgcrypt libgpg-error  \
   48.76 +			libwrap zlib libcomerr3"
   48.77 +			if [ $PACKAGE == 'netatalk-pam' ]; then
   48.78 +				DEPENDS="$DEPENDS pam"
   48.79 +				PROVIDE="netatalk:pam"
   48.80 +				CAT="system-tools|using PAM"
   48.81 +				install=$install-pam
   48.82 +			fi
   48.83 +			mkdir -p $fs/usr/share $fs/usr/lib
   48.84 +			cp -a $install/usr/bin $fs/usr
   48.85 +			cp -a $install/usr/sbin $fs/usr
   48.86 +			#cp -a $install/usr/lib/netatalk $fs/usr/lib
   48.87 +			cp -a $install/etc $fs
   48.88 +			cp -a $stuff/etc $fs
   48.89 +			[ $PACKAGE == 'netatalk-pam' ] || rm -rf $fs/etc/pam.d
   48.90 +			rm -f $fs/etc/netatalk/uams/*a
   48.91 +			CONFIG_FILES="/etc/netatalk/AppleVolumes.* /etc/netatalk/*.conf"
   48.92 +			;;
   48.93 +		netatalk-dev)
   48.94 +			mkdir -p $fs/usr/share $fs/etc/netatalk/uams/
   48.95 +			cp -a $install/usr/lib $fs/usr
   48.96 +			cp -a $install/usr/include $fs/usr
   48.97 +			#cp -a $install/usr/share/netatalk $fs/usr/share
   48.98 +			cp -a $install/etc/netatalk/uams/*.a $fs/etc/netatalk/uams/
   48.99 +			DEPENDS="netatalk"
  48.100 +			;;
  48.101 +	esac
  48.102  }
  48.103  
  48.104 -# Pre and post install commands for Tazpkg.
  48.105 -pre_install_netatalk()
  48.106 -{
  48.107 +pre_install_netatalk() {
  48.108  	rm -f "$1/usr/bin/timeout"
  48.109  }
  48.110  
  48.111 -post_install_netatalk()
  48.112 -{
  48.113 +post_install_netatalk() {
  48.114  	ln -s /bin/busybox "$1/usr/bin/timeout"
  48.115  	cat <<EOF
  48.116 -----
  48.117 -To start netatalk server you can run :
  48.118  
  48.119 -    /etc/init.d/netatalk start
  48.120 -
  48.121 -Or add netatalk to RUN_DAEMONS in /etc/rcS.conf
  48.122 -----
  48.123 +	.-------------------------------------------------.
  48.124 +	| To start netatalk server you can run:           |
  48.125 +	|                                                 |
  48.126 +	| /etc/init.d/netatalk start                      |
  48.127 +	|                                                 |
  48.128 +	| Or add netatalk to RUN_DAEMONS in /etc/rcS.conf |
  48.129 +	'-------------------------------------------------'
  48.130  EOF
  48.131  }
  48.132  
  48.133 -pre_install_netatalk_pam()
  48.134 -{
  48.135 +pre_install_netatalk_pam() {
  48.136  	rm -f "$1/usr/bin/timeout"
  48.137  }
  48.138  
  48.139 -post_install_netatalk_pam()
  48.140 -{
  48.141 +post_install_netatalk_pam() {
  48.142  	ln -s /bin/busybox "$1/usr/bin/timeout"
  48.143  	cat <<EOF
  48.144 -----
  48.145 -To start netatalk server you can run :
  48.146  
  48.147 -    /etc/init.d/netatalk start
  48.148 -
  48.149 -Or add netatalk to RUN_DAEMONS in /etc/rcS.conf
  48.150 -----
  48.151 +	.-------------------------------------------------.
  48.152 +	| To start netatalk server you can run:           |
  48.153 +	|                                                 |
  48.154 +	| /etc/init.d/netatalk start                      |
  48.155 +	|                                                 |
  48.156 +	| Or add netatalk to RUN_DAEMONS in /etc/rcS.conf |
  48.157 +	'-------------------------------------------------'
  48.158  EOF
  48.159  }
    49.1 --- a/nzbget-webui/receipt	Fri Mar 02 12:12:14 2018 +0200
    49.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    49.3 @@ -1,56 +0,0 @@
    49.4 -# SliTaz package receipt.
    49.5 -
    49.6 -PACKAGE="nzbget-webui"
    49.7 -VERSION="13.0"
    49.8 -CATEGORY="network"
    49.9 -SHORT_DESC="The most efficient usenet downloader, web user interface."
   49.10 -MAINTAINER="pascal.bellard@slitaz.org"
   49.11 -LICENSE="GPL2"
   49.12 -WEB_SITE="http://nzbget.net/"
   49.13 -
   49.14 -WANTED="nzbget"
   49.15 -DEPENDS="nzbget"
   49.16 -
   49.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   49.18 -genpkg_rules()
   49.19 -{
   49.20 -	mkdir -p $fs/usr/share/nzbget
   49.21 -	cp -a $install/usr/share/nzbget/webui $fs/usr/share/nbzget
   49.22 -}
   49.23 -
   49.24 -post_install()
   49.25 -{
   49.26 -	# Configure lighttpd server
   49.27 -	if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then
   49.28 -		if ! grep -q /usr/share/nzbget/ "$1/etc/lighttpd/lighttpd.conf"; then
   49.29 -	    		sed -e 's|.*"/examples/" => "/usr/share/examples/",|    "/examples/" => "/usr/share/examples/",\n    "/nzbget/" => "/usr/share/nzbget/webui/",|g' -i "$1/etc/lighttpd/lighttpd.conf"
   49.30 -			if [ -z "$1" ]; then
   49.31 -				# Start Web server.
   49.32 -				/etc/init.d/lighttpd stop
   49.33 -				/etc/init.d/lighttpd start
   49.34 -			fi
   49.35 -		fi
   49.36 -	fi
   49.37 -	# Configure apache server
   49.38 -	if [ -f "$1/etc/apache/httpd.conf" ]; then
   49.39 -		if [ ! -f "$1/etc/apache/conf.d/nzbget" ]; then
   49.40 -			cat > "$1/etc/apache/conf.d/nzbget" <<EOT
   49.41 -<IfModule mod_alias.c>
   49.42 -    Alias /nzbget /usr/share/nzbget/webui
   49.43 -</IfModule>
   49.44 -<Directory /usr/share/nzbget/webui/>
   49.45 -    DirectoryIndex index.html
   49.46 -    Options +FollowSymLinks
   49.47 -    AllowOverride None
   49.48 -    Order allow,deny
   49.49 -    Allow from all
   49.50 -</Directory>
   49.51 -EOT
   49.52 -			if [ -z "$1" ]; then
   49.53 -				# Start Web server.
   49.54 -				/etc/init.d/apache stop
   49.55 -				/etc/init.d/apache start
   49.56 -			fi
   49.57 -		fi
   49.58 -	fi
   49.59 -}
    50.1 --- a/nzbget/receipt	Fri Mar 02 12:12:14 2018 +0200
    50.2 +++ b/nzbget/receipt	Fri Mar 02 13:45:43 2018 +0200
    50.3 @@ -1,35 +1,80 @@
    50.4 -# SliTaz package receipt.
    50.5 +# SliTaz package receipt v2.
    50.6  
    50.7  PACKAGE="nzbget"
    50.8  VERSION="13.0"
    50.9  CATEGORY="network"
   50.10 -SHORT_DESC="The most efficient usenet downloader."
   50.11 +SHORT_DESC="The most efficient usenet downloader"
   50.12  MAINTAINER="pascal.bellard@slitaz.org"
   50.13  LICENSE="GPL2"
   50.14 +WEB_SITE="http://nzbget.net/"
   50.15 +
   50.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   50.17 -WEB_SITE="http://nzbget.net/"
   50.18  WGET_URL="$SF_MIRROR/nzbget/nzbget-stable/$VERSION/$TARBALL"
   50.19 -CONFIG_FILES="/etc/nzbget.conf"
   50.20  
   50.21 -DEPENDS="libxml2 openssl ncurses gcc-lib-base"
   50.22  BUILD_DEPENDS="libxml2-dev openssl-dev ncurses-dev zlib-dev"
   50.23 +SPLIT="nzbget-webui"
   50.24  
   50.25 -# Rules to configure and make the package.
   50.26 -compile_rules()
   50.27 -{
   50.28 -	./configure --prefix=/usr \
   50.29 +compile_rules() {
   50.30 +	./configure \
   50.31 +		--prefix=/usr \
   50.32  		--disable-parcheck \
   50.33  		$CONFIGURE_ARGS &&
   50.34  	make &&
   50.35  	make -j 1 DESTDIR=$DESTDIR install
   50.36  }
   50.37  
   50.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   50.39 -genpkg_rules()
   50.40 -{
   50.41 -	mkdir -p $fs/usr/share/nzbget $fs/etc
   50.42 -	cp -a $install/usr/bin $fs/usr
   50.43 -	cp -a $install/usr/sbin $fs/usr
   50.44 -	cp -a $install/usr/share/nzbget/nzbget.conf $fs/etc
   50.45 -	cp -a $install/usr/share/nzbget/scripts $fs/usr/share/nbzget
   50.46 +genpkg_rules() {
   50.47 +	case $PACKAGE in
   50.48 +		nzbget)
   50.49 +			mkdir -p $fs/usr/share/nzbget $fs/etc
   50.50 +			cp -a $install/usr/bin $fs/usr
   50.51 +			cp -a $install/usr/sbin $fs/usr
   50.52 +			cp -a $install/usr/share/nzbget/nzbget.conf $fs/etc
   50.53 +			cp -a $install/usr/share/nzbget/scripts $fs/usr/share/nbzget
   50.54 +			DEPENDS="libxml2 openssl ncurses gcc-lib-base"
   50.55 +			CONFIG_FILES="/etc/nzbget.conf"
   50.56 +			;;
   50.57 +		nzbget-webui)
   50.58 +			mkdir -p $fs/usr/share/nzbget
   50.59 +			cp -a $install/usr/share/nzbget/webui $fs/usr/share/nbzget
   50.60 +			CAT="network|web user interface"
   50.61 +			DEPENDS="nzbget"
   50.62 +			;;
   50.63 +	esac
   50.64  }
   50.65 +
   50.66 +post_install_nzbget_webui() {
   50.67 +	# Configure lighttpd server
   50.68 +	if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then
   50.69 +		if ! grep -q /usr/share/nzbget/ "$1/etc/lighttpd/lighttpd.conf"; then
   50.70 +			sed -e 's|.*"/examples/" => "/usr/share/examples/",|    "/examples/" => "/usr/share/examples/",\n    "/nzbget/" => "/usr/share/nzbget/webui/",|g' -i "$1/etc/lighttpd/lighttpd.conf"
   50.71 +			if [ -z "$1" ]; then
   50.72 +				# Start Web server.
   50.73 +				/etc/init.d/lighttpd stop
   50.74 +				/etc/init.d/lighttpd start
   50.75 +			fi
   50.76 +		fi
   50.77 +	fi
   50.78 +	# Configure apache server
   50.79 +	if [ -f "$1/etc/apache/httpd.conf" ]; then
   50.80 +		if [ ! -f "$1/etc/apache/conf.d/nzbget" ]; then
   50.81 +			cat > "$1/etc/apache/conf.d/nzbget" <<EOT
   50.82 +<IfModule mod_alias.c>
   50.83 +    Alias /nzbget /usr/share/nzbget/webui
   50.84 +</IfModule>
   50.85 +<Directory /usr/share/nzbget/webui/>
   50.86 +    DirectoryIndex index.html
   50.87 +    Options +FollowSymLinks
   50.88 +    AllowOverride None
   50.89 +    Order allow,deny
   50.90 +    Allow from all
   50.91 +</Directory>
   50.92 +EOT
   50.93 +			if [ -z "$1" ]; then
   50.94 +				# Start Web server.
   50.95 +				/etc/init.d/apache stop
   50.96 +				/etc/init.d/apache start
   50.97 +			fi
   50.98 +		fi
   50.99 +	fi
  50.100 +}
    51.1 --- a/phonon-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    51.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    51.3 @@ -1,16 +0,0 @@
    51.4 -# SliTaz package receipt.
    51.5 -
    51.6 -PACKAGE="phonon-dev"
    51.7 -VERSION="4.7.2"
    51.8 -CATEGORY="libs"
    51.9 -SHORT_DESC="kde libphonon"
   51.10 -MAINTAINER="psychomaniak@xakep.ru"
   51.11 -LICENSE="LGPL2.1"
   51.12 -WEB_SITE="http://phonon.kde.org/"
   51.13 -WANTED="phonon"
   51.14 -
   51.15 -genpkg_rules()
   51.16 -{
   51.17 -	cp -a $install/* $fs
   51.18 -	rm -f $fs/usr/lib/lib*
   51.19 -}
    52.1 --- a/phonon/receipt	Fri Mar 02 12:12:14 2018 +0200
    52.2 +++ b/phonon/receipt	Fri Mar 02 13:45:43 2018 +0200
    52.3 @@ -1,4 +1,4 @@
    52.4 -# SliTaz package receipt.
    52.5 +# SliTaz package receipt v2.
    52.6  
    52.7  PACKAGE="phonon"
    52.8  VERSION="4.7.2"
    52.9 @@ -6,16 +6,16 @@
   52.10  SHORT_DESC="kde libphonon"
   52.11  MAINTAINER="psychomaniak@xakep.ru"
   52.12  LICENSE="LGPL2.1"
   52.13 +WEB_SITE="http://phonon.kde.org/"
   52.14 +
   52.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
   52.16 -WEB_SITE="http://phonon.kde.org/"
   52.17  WGET_URL="http://download.kde.org/stable/$PACKAGE/$VERSION/$TARBALL"
   52.18  
   52.19 -DEPENDS="libQtCore libQtDBus libQtGui libQtXml"
   52.20  BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev"
   52.21 +SPLIT="phonon-dev"
   52.22  
   52.23 -compile_rules()
   52.24 -{
   52.25 -		mkdir build; cd build
   52.26 +compile_rules() {
   52.27 +	mkdir build; cd build
   52.28  	cmake \
   52.29  		-DCMAKE_INSTALL_PREFIX=/usr \
   52.30  		-DCMAKE_BUILD_TYPE=Release \
   52.31 @@ -28,8 +28,16 @@
   52.32  	make DESTDIR=$DESTDIR install
   52.33  }
   52.34  
   52.35 -genpkg_rules()
   52.36 -{
   52.37 -	mkdir -p $fs/usr/lib
   52.38 -	cp -a $install/usr/lib/lib* $fs/usr/lib
   52.39 +genpkg_rules() {
   52.40 +	case $PACKAGE in
   52.41 +		phonon)
   52.42 +			mkdir -p $fs/usr/lib
   52.43 +			cp -a $install/usr/lib/lib* $fs/usr/lib
   52.44 +			DEPENDS="libQtCore libQtDBus libQtGui libQtXml"
   52.45 +			;;
   52.46 +		*-dev)
   52.47 +			cp -a $install/* $fs
   52.48 +			rm -f $fs/usr/lib/lib*
   52.49 +			;;
   52.50 +	esac
   52.51  }
    53.1 --- a/soundtouch-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    53.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    53.3 @@ -1,24 +0,0 @@
    53.4 -# SliTaz package receipt.
    53.5 -
    53.6 -PACKAGE="soundtouch-dev"
    53.7 -VERSION="1.5.0"
    53.8 -CATEGORY="development"
    53.9 -SHORT_DESC="devel files for soundtouch"
   53.10 -MAINTAINER="slaxemulator@gmail.com"
   53.11 -LICENSE="LGPL2.1"
   53.12 -WEB_SITE="http://www.surina.net/soundtouch/"
   53.13 -WANTED="soundtouch"
   53.14 -
   53.15 -DEPENDS="soundtouch pkg-config"
   53.16 -
   53.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   53.18 -genpkg_rules()
   53.19 -{
   53.20 -	mkdir -p $fs/usr/lib $fs/usr/share
   53.21 -	cp -a $install/usr/include $fs/usr
   53.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   53.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   53.24 -	cp -a $install/usr/share/aclocal $fs/usr/share
   53.25 -	# Upstream changed pkgconfig filename
   53.26 -	ln -sf soundtouch-1.4.pc $fs/usr/lib/pkgconfig/soundtouch-1.0.pc
   53.27 -}
    54.1 --- a/soundtouch/receipt	Fri Mar 02 12:12:14 2018 +0200
    54.2 +++ b/soundtouch/receipt	Fri Mar 02 13:45:43 2018 +0200
    54.3 @@ -1,4 +1,4 @@
    54.4 -# SliTaz package receipt.
    54.5 +# SliTaz package receipt v2.
    54.6  
    54.7  PACKAGE="soundtouch"
    54.8  VERSION="1.5.0"
    54.9 @@ -7,25 +7,36 @@
   54.10  MAINTAINER="slaxemulator@gmail.com"
   54.11  LICENSE="LGPL2.1"
   54.12  WEB_SITE="http://www.surina.net/soundtouch/"
   54.13 +
   54.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   54.15  WGET_URL="$WEB_SITE/$TARBALL"
   54.16  
   54.17 -DEPENDS="gcc-lib-base"
   54.18  BUILD_DEPENDS="libtool automake autoconf"
   54.19 +SPLIT="soundtouch-dev"
   54.20  
   54.21 -# Rules to configure and make the package.
   54.22 -compile_rules()
   54.23 -{
   54.24 +compile_rules() {
   54.25  	./bootstrap
   54.26  	sed -i 's|/doc/|/share&|' Makefile*
   54.27  	patch -Np1 -i $stuff/$PACKAGE-1.4.0-mmx-sse-compile-fix.patch
   54.28  	./configure --enable-shared $CONFIGURE_ARGS && make && make install
   54.29  }
   54.30  
   54.31 -# Rules to gen a SliTaz package suitable for Tazpkg.
   54.32 -genpkg_rules()
   54.33 -{
   54.34 -	mkdir -p $fs/usr/lib
   54.35 -	cp -a $install/usr/bin $fs/usr
   54.36 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   54.37 +genpkg_rules() {
   54.38 +	case $PACKAGE in
   54.39 +		soundtouch)
   54.40 +			mkdir -p $fs/usr/lib
   54.41 +			cp -a $install/usr/bin $fs/usr
   54.42 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   54.43 +			DEPENDS="gcc-lib-base"
   54.44 +			;;
   54.45 +		*-dev)
   54.46 +			mkdir -p $fs/usr/lib $fs/usr/share
   54.47 +			cp -a $install/usr/include $fs/usr
   54.48 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   54.49 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   54.50 +			cp -a $install/usr/share/aclocal $fs/usr/share
   54.51 +			# Upstream changed pkgconfig filename
   54.52 +			ln -sf soundtouch-1.4.pc $fs/usr/lib/pkgconfig/soundtouch-1.0.pc
   54.53 +			;;
   54.54 +	esac
   54.55  }
    55.1 --- a/spidermonkey-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    55.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    55.3 @@ -1,18 +0,0 @@
    55.4 -# SliTaz package receipt.
    55.5 -
    55.6 -PACKAGE="spidermonkey-dev"
    55.7 -VERSION="1.8.0-rc1"
    55.8 -CATEGORY="development"
    55.9 -SHORT_DESC="spidermonkey devel files"
   55.10 -MAINTAINER="jozee@slitaz.org"
   55.11 -LICENSE="MPL GPL2 LGPL2.1"
   55.12 -WANTED="spidermonkey"
   55.13 -WEB_SITE="http://libproxy.googlecode.com"
   55.14 -
   55.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   55.16 -genpkg_rules()
   55.17 -{
   55.18 -	mkdir -p $fs/usr/lib $fs/usr/include/js
   55.19 -	cp -a $install/usr/include/js/* $fs/usr/include/js
   55.20 -	cp -a $install/usr/lib/*.*a $fs/usr/lib/	
   55.21 -}
    56.1 --- a/spidermonkey/receipt	Fri Mar 02 12:12:14 2018 +0200
    56.2 +++ b/spidermonkey/receipt	Fri Mar 02 13:45:43 2018 +0200
    56.3 @@ -1,4 +1,4 @@
    56.4 -# SliTaz package receipt.
    56.5 +# SliTaz package receipt v2.
    56.6  
    56.7  PACKAGE="spidermonkey"
    56.8  VERSION="1.8.0-rc1"
    56.9 @@ -6,18 +6,15 @@
   56.10  SHORT_DESC="Mozilla C implementation of Javascript"
   56.11  MAINTAINER="jozee@slitaz.org"
   56.12  LICENSE="MPL GPL2 LGPL2.1"
   56.13 -SOURCE="js"
   56.14 -TARBALL="$SOURCE-$VERSION.tar.gz"
   56.15 -WEB_SITE="http://www.mozilla.org/js/spidermonkey/" 
   56.16 +WEB_SITE="http://www.mozilla.org/js/spidermonkey/"
   56.17 +
   56.18 +TARBALL="js-$VERSION.tar.gz"
   56.19  WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/js/$TARBALL"
   56.20 -TAGS="javascript"
   56.21  
   56.22 -DEPENDS="nspr"
   56.23  BUILD_DEPENDS="nspr-dev"
   56.24 +SPLIT="spidermonkey-dev"
   56.25  
   56.26 -# Rules to configure and make the package.
   56.27 -compile_rules()
   56.28 -{
   56.29 +compile_rules() {
   56.30  	cd $src/src
   56.31  
   56.32  	# Fix from Archlinux
   56.33 @@ -33,11 +30,20 @@
   56.34  		DIST=$DESTDIR/usr all export 2>&1 | grep -v 'OBJ/nspr/Version'
   56.35  }
   56.36  
   56.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
   56.38 -genpkg_rules()
   56.39 -{
   56.40 -	mkdir -p $fs/usr/lib
   56.41 -	
   56.42 -	cp -a $install/usr/bin $fs/usr	
   56.43 -	cp -a $install/usr/lib/*so* $fs/usr/lib
   56.44 +genpkg_rules() {
   56.45 +	case $PACKAGE in
   56.46 +		spidermonkey)
   56.47 +			mkdir -p $fs/usr/lib
   56.48 +
   56.49 +			cp -a $install/usr/bin $fs/usr
   56.50 +			cp -a $install/usr/lib/*so* $fs/usr/lib
   56.51 +			DEPENDS="nspr"
   56.52 +			TAGS="javascript"
   56.53 +			;;
   56.54 +		*-dev)
   56.55 +			mkdir -p $fs/usr/lib $fs/usr/include/js
   56.56 +			cp -a $install/usr/include/js/* $fs/usr/include/js
   56.57 +			cp -a $install/usr/lib/*.*a $fs/usr/lib/
   56.58 +			;;
   56.59 +	esac
   56.60  }
    57.1 --- a/vde2-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    57.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    57.3 @@ -1,22 +0,0 @@
    57.4 -# SliTaz package receipt.
    57.5 -
    57.6 -PACKAGE="vde2-dev"
    57.7 -VERSION="2.3.1"
    57.8 -CATEGORY="development"
    57.9 -SHORT_DESC="Virtual Distributed Ethernet developement files"
   57.10 -MAINTAINER="pascal.bellard@slitaz.org"
   57.11 -LICENSE="GPL2"
   57.12 -WEB_SITE="http://vde.sourceforge.net/"
   57.13 -WANTED="vde2"
   57.14 -
   57.15 -DEPENDS="pkg-config"
   57.16 -
   57.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   57.18 -genpkg_rules()
   57.19 -{
   57.20 -	mkdir -p $fs/usr/lib/vde2
   57.21 -	cp -a $install/usr/lib/*a $fs/usr/lib
   57.22 -	cp -a $install/usr/lib/vde2/*a $fs/usr/lib/vde2
   57.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   57.24 -	cp -a $install/usr/include $fs/usr
   57.25 -}
    58.1 --- a/vde2/receipt	Fri Mar 02 12:12:14 2018 +0200
    58.2 +++ b/vde2/receipt	Fri Mar 02 13:45:43 2018 +0200
    58.3 @@ -1,38 +1,47 @@
    58.4 -# SliTaz package receipt.
    58.5 +# SliTaz package receipt v2.
    58.6  
    58.7  PACKAGE="vde2"
    58.8  VERSION="2.3.1"
    58.9  CATEGORY="network"
   58.10 -SHORT_DESC="Virtual Distributed Ethernet."
   58.11 +SHORT_DESC="Virtual Distributed Ethernet"
   58.12  MAINTAINER="pascal.bellard@slitaz.org"
   58.13  LICENSE="GPL2"
   58.14 +WEB_SITE="http://vde.sourceforge.net/"
   58.15 +
   58.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   58.17 -WEB_SITE="http://vde.sourceforge.net/"
   58.18  WGET_URL="$SF_MIRROR/vde/$TARBALL"
   58.19  
   58.20 -DEPENDS="openssl"
   58.21  BUILD_DEPENDS="openssl openssl-dev"
   58.22 +SPLIT="vde2-dev"
   58.23  
   58.24 -# Rules to configure and make the package.
   58.25 -compile_rules()
   58.26 -{
   58.27 -	cd $src
   58.28 -	./configure --prefix=/usr \
   58.29 -	--libexecdir=/usr/lib/$PACKAGE \
   58.30 -	--sysconfdir=/etc \
   58.31 -	--mandir=/usr/share/man \
   58.32 -	$CONFIGURE_ARGS &&
   58.33 +compile_rules() {
   58.34 +	./configure \
   58.35 +		--prefix=/usr \
   58.36 +		--libexecdir=/usr/lib/$PACKAGE \
   58.37 +		--sysconfdir=/etc \
   58.38 +		--mandir=/usr/share/man \
   58.39 +		$CONFIGURE_ARGS &&
   58.40  	make &&
   58.41  	make DESTDIR=$DESTDIR install
   58.42  }
   58.43  
   58.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
   58.45 -genpkg_rules()
   58.46 -{
   58.47 -	mkdir -p $fs/usr/lib/vde2
   58.48 -	cp -a $install/etc $fs
   58.49 -	cp -a $install/usr/bin $fs/usr
   58.50 -	cp -a $install/usr/sbin $fs/usr
   58.51 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   58.52 -	cp -a $install/usr/lib/vde2/*.so* $fs/usr/lib/vde2
   58.53 +genpkg_rules() {
   58.54 +	case $PACKAGE in
   58.55 +		vde2)
   58.56 +			mkdir -p $fs/usr/lib/vde2
   58.57 +			cp -a $install/etc $fs
   58.58 +			cp -a $install/usr/bin $fs/usr
   58.59 +			cp -a $install/usr/sbin $fs/usr
   58.60 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   58.61 +			cp -a $install/usr/lib/vde2/*.so* $fs/usr/lib/vde2
   58.62 +			DEPENDS="openssl"
   58.63 +			;;
   58.64 +		*-dev)
   58.65 +			mkdir -p $fs/usr/lib/vde2
   58.66 +			cp -a $install/usr/lib/*a $fs/usr/lib
   58.67 +			cp -a $install/usr/lib/vde2/*a $fs/usr/lib/vde2
   58.68 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   58.69 +			cp -a $install/usr/include $fs/usr
   58.70 +			;;
   58.71 +	esac
   58.72  }
    59.1 --- a/wv-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    59.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    59.3 @@ -1,22 +0,0 @@
    59.4 -# SliTaz package receipt.
    59.5 -
    59.6 -PACKAGE="wv-dev"
    59.7 -VERSION="1.2.9"
    59.8 -CATEGORY="x-window"
    59.9 -SHORT_DESC="WV (MS doc lib) devel files."
   59.10 -MAINTAINER="pankso@slitaz.org"
   59.11 -LICENSE="GPL2"
   59.12 -WANTED="wv"
   59.13 -WEB_SITE="http://www.abisource.com/projects/"
   59.14 -
   59.15 -DEPENDS="pkg-config"
   59.16 -
   59.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   59.18 -genpkg_rules()
   59.19 -{
   59.20 -	mkdir -p $fs/usr/lib
   59.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   59.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   59.23 -	cp -a $install/usr/include $fs/usr
   59.24 -}
   59.25 -
    60.1 --- a/wv/receipt	Fri Mar 02 12:12:14 2018 +0200
    60.2 +++ b/wv/receipt	Fri Mar 02 13:45:43 2018 +0200
    60.3 @@ -1,22 +1,20 @@
    60.4 -# SliTaz package receipt.
    60.5 +# SliTaz package receipt v2.
    60.6  
    60.7  PACKAGE="wv"
    60.8  VERSION="1.2.9"
    60.9  CATEGORY="x-window"
   60.10 -SHORT_DESC="MS document manipulation library."
   60.11 +SHORT_DESC="MS document manipulation library"
   60.12  MAINTAINER="pankso@slitaz.org"
   60.13  LICENSE="GPL2"
   60.14 +WEB_SITE="http://www.abisource.com/projects/"
   60.15 +
   60.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   60.17 -WEB_SITE="http://www.abisource.com/projects/"
   60.18  WGET_URL="http://www.abisource.com/downloads/wv/$VERSION/$TARBALL"
   60.19  
   60.20 -DEPENDS="glib libgsf libpng16 libxml2 zlib"
   60.21  BUILD_DEPENDS="libgsf libgsf-dev glib-dev libxml2-dev libpng16-dev"
   60.22 +SPLIT="wv-dev"
   60.23  
   60.24 -# Rules to configure and make the package.
   60.25 -compile_rules()
   60.26 -{
   60.27 -	cd $src
   60.28 +compile_rules() {
   60.29  	sed -i 's|.ac_install_sh -d|mkdir -p|' configure
   60.30  	./configure \
   60.31  		--prefix=/usr \
   60.32 @@ -26,12 +24,21 @@
   60.33  	make DESTDIR=$DESTDIR install
   60.34  }
   60.35  
   60.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   60.37 -genpkg_rules()
   60.38 -{
   60.39 -	mkdir -p $fs/usr/lib $fs/usr/share
   60.40 -	cp -a $install/usr/bin $fs/usr
   60.41 -	chmod +x $fs/usr/bin/*
   60.42 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   60.43 -	cp -a $install/usr/share/wv $fs/usr/share
   60.44 +genpkg_rules() {
   60.45 +	case $PACKAGE in
   60.46 +		wv)
   60.47 +			mkdir -p $fs/usr/lib $fs/usr/share
   60.48 +			cp -a $install/usr/bin $fs/usr
   60.49 +			chmod +x $fs/usr/bin/*
   60.50 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   60.51 +			cp -a $install/usr/share/wv $fs/usr/share
   60.52 +			DEPENDS="glib libgsf libpng16 libxml2 zlib"
   60.53 +			;;
   60.54 +		*-dev)
   60.55 +			mkdir -p $fs/usr/lib
   60.56 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   60.57 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   60.58 +			cp -a $install/usr/include $fs/usr
   60.59 +			;;
   60.60 +	esac
   60.61  }
    61.1 --- a/xerces-c-dev/receipt	Fri Mar 02 12:12:14 2018 +0200
    61.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    61.3 @@ -1,21 +0,0 @@
    61.4 -# SliTaz package receipt.
    61.5 -
    61.6 -PACKAGE="xerces-c-dev"
    61.7 -VERSION="3.1.1"
    61.8 -CATEGORY="development"
    61.9 -SHORT_DESC="xerces-c devel files."
   61.10 -WEB_SITE="http://xerces.apache.org/"
   61.11 -MAINTAINER="rcx@zoominternet.net"
   61.12 -LICENSE="Apache"
   61.13 -WANTED="xerces-c"
   61.14 -
   61.15 -DEPENDS="pkg-config"
   61.16 -
   61.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   61.18 -genpkg_rules()
   61.19 -{
   61.20 -	mkdir -p $fs/usr/lib
   61.21 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   61.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   61.23 -	cp -a $install/usr/include $fs/usr
   61.24 -}
    62.1 --- a/xerces-c/receipt	Fri Mar 02 12:12:14 2018 +0200
    62.2 +++ b/xerces-c/receipt	Fri Mar 02 13:45:43 2018 +0200
    62.3 @@ -1,31 +1,37 @@
    62.4 -# SliTaz package receipt.
    62.5 +# SliTaz package receipt v2.
    62.6  
    62.7  PACKAGE="xerces-c"
    62.8  VERSION="3.1.1"
    62.9  CATEGORY="development"
   62.10 -SHORT_DESC="A validating XML parser written in a portable subset of C++."
   62.11 +SHORT_DESC="A validating XML parser written in a portable subset of C++"
   62.12  MAINTAINER="rcx@zoominternet.net"
   62.13  LICENSE="Apache"
   62.14 +WEB_SITE="http://xerces.apache.org/xerces-c"
   62.15 +
   62.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   62.17 -WEB_SITE="http://xerces.apache.org/xerces-c"
   62.18  WGET_URL="http://apache.osuosl.org/xerces/c/3/sources/$TARBALL"
   62.19  
   62.20 -DEPENDS="glibc-base gcc-lib-base libcurl openssl icu"
   62.21 +SPLIT="xerces-c-dev"
   62.22  
   62.23 -# Rules to configure and make the package.
   62.24 -compile_rules()
   62.25 -{
   62.26 -	cd $src
   62.27 -	
   62.28 +compile_rules() {
   62.29  	./configure $CONFIGURE_ARGS &&
   62.30  	make $MAKEFLAGS &&
   62.31  	make install
   62.32  }
   62.33  
   62.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   62.35 -genpkg_rules()
   62.36 -{
   62.37 -	mkdir -p $fs/usr/lib
   62.38 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   62.39 -	cp -a $install/usr/bin $fs/usr
   62.40 +genpkg_rules() {
   62.41 +	case $PACKAGE in
   62.42 +		xerces-c)
   62.43 +			mkdir -p $fs/usr/lib
   62.44 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   62.45 +			cp -a $install/usr/bin $fs/usr
   62.46 +			DEPENDS="glibc-base gcc-lib-base libcurl openssl icu"
   62.47 +			;;
   62.48 +		*-dev)
   62.49 +			mkdir -p $fs/usr/lib
   62.50 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   62.51 +			cp -a $install/usr/lib/*.*a $fs/usr/lib
   62.52 +			cp -a $install/usr/include $fs/usr
   62.53 +			;;
   62.54 +	esac
   62.55  }
    63.1 --- a/xtrkcad-doc/receipt	Fri Mar 02 12:12:14 2018 +0200
    63.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    63.3 @@ -1,19 +0,0 @@
    63.4 -# SliTaz package receipt.
    63.5 -
    63.6 -PACKAGE="xtrkcad-doc"
    63.7 -VERSION="4.0.3a1"
    63.8 -CATEGORY="games"
    63.9 -SHORT_DESC="Documentation, examples, and how-to demos for xtrkcad."
   63.10 -MAINTAINER="rcx@zoominternet.net"
   63.11 -LICENSE="GPL2"
   63.12 -WEB_SITE="http://www.xtrkcad.org/"
   63.13 -WANTED="xtrkcad"
   63.14 -
   63.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   63.16 -genpkg_rules()
   63.17 -{
   63.18 -	mkdir -p $fs/usr/share/$WANTED
   63.19 -	cp -a $install/usr/share/$WANTED/html $fs/usr/share/$WANTED
   63.20 -	cp -a $install/usr/share/$WANTED/examples $fs/usr/share/$WANTED
   63.21 -	cp -a $install/usr/share/$WANTED/demos $fs/usr/share/$WANTED
   63.22 -}
    64.1 --- a/xtrkcad/receipt	Fri Mar 02 12:12:14 2018 +0200
    64.2 +++ b/xtrkcad/receipt	Fri Mar 02 13:45:43 2018 +0200
    64.3 @@ -1,29 +1,24 @@
    64.4 -# SliTaz package receipt.
    64.5 +# SliTaz package receipt v2.
    64.6  
    64.7  PACKAGE="xtrkcad"
    64.8  VERSION="4.0.3a1"
    64.9  CATEGORY="games"
   64.10 -SHORT_DESC="A CAD program for designing model railroad layouts."
   64.11 +SHORT_DESC="A CAD program for designing model railroad layouts"
   64.12  MAINTAINER="rcx@zoominternet.net"
   64.13  LICENSE="GPL2"
   64.14 +WEB_SITE="http://www.xtrkcad.org/"
   64.15 +
   64.16  TARBALL="$PACKAGE-source-$VERSION.tar.gz"
   64.17 -WEB_SITE="http://www.xtrkcad.org/"
   64.18  #WGET_URL="$SF_MIRROR/$PACKAGE-fork/$TARBALL"
   64.19  WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL"
   64.20  
   64.21 -DEPENDS="menu-railroad glibc-base glib zlib expat libxml2 gtk+ \
   64.22 -libgtkhtml fontconfig freetype atk cairo libpng16 pango xorg-pixman xorg-libxcb \
   64.23 -xorg-xcb-util xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \
   64.24 -xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \
   64.25 -xorg-libXinerama xorg-libXrender"
   64.26  BUILD_DEPENDS="cmake pkg-config gettext zlib-dev \
   64.27  gtk+-dev libxml2-dev libgtkhtml-dev libgtkhtml doxygen xorg-xproto \
   64.28  xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev \
   64.29  xorg-libXdmcp-dev"
   64.30 +SPLIT="xtrkcad-doc"
   64.31  
   64.32 -# Rules to configure and make the package.
   64.33 -compile_rules()
   64.34 -{
   64.35 +compile_rules() {
   64.36  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
   64.37  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
   64.38  	
   64.39 @@ -45,17 +40,31 @@
   64.40  	sed -e 's|^Categories=[^$]*$|Categories=Application;Railroad;|g' -i $DESTDIR/usr/share/applications/*.desktop
   64.41  }
   64.42  
   64.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
   64.44 -genpkg_rules()
   64.45 -{
   64.46 -	mkdir -p $fs/usr/share/$PACKAGE
   64.47 -	cp -f $install/usr/share/$PACKAGE/$PACKAGE.tip $fs/usr/share/$PACKAGE
   64.48 -	cp -f $install/usr/share/$PACKAGE/$PACKAGE.xtq $fs/usr/share/$PACKAGE
   64.49 -	cp -f $install/usr/share/$PACKAGE/logo.bmp $fs/usr/share/$PACKAGE
   64.50 -	cp -a $install/usr/share/$PACKAGE/params $fs/usr/share/$PACKAGE
   64.51 -	
   64.52 -	cp -a $install/usr/share/applications $fs/usr/share
   64.53 -	cp -a $install/usr/share/pixmaps $fs/usr/share
   64.54 +genpkg_rules() {
   64.55 +	case $PACKAGE in
   64.56 +		xtrkcad)
   64.57 +			mkdir -p $fs/usr/share/$PACKAGE
   64.58 +			cp -f $install/usr/share/$PACKAGE/$PACKAGE.tip $fs/usr/share/$PACKAGE
   64.59 +			cp -f $install/usr/share/$PACKAGE/$PACKAGE.xtq $fs/usr/share/$PACKAGE
   64.60 +			cp -f $install/usr/share/$PACKAGE/logo.bmp $fs/usr/share/$PACKAGE
   64.61 +			cp -a $install/usr/share/$PACKAGE/params $fs/usr/share/$PACKAGE
   64.62  
   64.63 -	cp -a $install/usr/bin $fs/usr
   64.64 +			cp -a $install/usr/share/applications $fs/usr/share
   64.65 +			cp -a $install/usr/share/pixmaps $fs/usr/share
   64.66 +
   64.67 +			cp -a $install/usr/bin $fs/usr
   64.68 +			DEPENDS="menu-railroad glibc-base glib zlib expat libxml2 gtk+ \
   64.69 +			libgtkhtml fontconfig freetype atk cairo libpng16 pango \
   64.70 +			xorg-pixman xorg-libxcb xorg-xcb-util xorg-libX11 xorg-libXau \
   64.71 +			xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
   64.72 +			xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
   64.73 +			;;
   64.74 +		xtrkcad-doc)
   64.75 +			mkdir -p $fs/usr/share/$WANTED
   64.76 +			cp -a $install/usr/share/$WANTED/html $fs/usr/share/$WANTED
   64.77 +			cp -a $install/usr/share/$WANTED/examples $fs/usr/share/$WANTED
   64.78 +			cp -a $install/usr/share/$WANTED/demos $fs/usr/share/$WANTED
   64.79 +			CAT="games|documentation, examples, and how-to demos"
   64.80 +			;;
   64.81 +	esac
   64.82  }