wok-next rev 19811

Up btrfs-progs, fuse, gtkmm, gtkmm-dev, jfsutils, libaal, libacpi, libaio, libarchive, libart_lgpl, libass, libbonoboui, libcddb, libcdio, libconfig, libcroco, libcss, libparserutils, libwapcaplet, slitaz-i18n-extra; (re)move locale-*-extra -> slitaz-i18n-extra; add netsurf-buildsystem.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jul 20 00:33:52 2017 +0300 (2017-07-20)
parents f3a2b92891b4
children 4688f12eea68
files btrfs-progs/receipt fuse-dev/receipt fuse/receipt fuse/stuff/fuse.conf gtkmm-dev/receipt gtkmm/receipt jfsutils/receipt libaal-dev/receipt libaal/receipt libacpi-dev/receipt libacpi/receipt libacpi/stuff/patches/libacpi_0.2-4.diff libacpi/stuff/patches/series libaio-dev/receipt libaio/receipt libarchive-dev/receipt libarchive/receipt libart_lgpl-dev/receipt libart_lgpl/receipt libass-dev/receipt libass/description.txt libass/receipt libbonoboui/receipt libcddb-dev/receipt libcddb-utils/receipt libcddb/description.txt libcddb/receipt libcdio-dev/receipt libcdio-utils/receipt libcdio/description.txt libcdio/receipt libconfig-dev/receipt libconfig/receipt libcroco-dev/receipt libcroco/description.txt libcroco/receipt libcss-dev/receipt libcss/receipt libparserutils-dev/receipt libparserutils/receipt libwapcaplet-dev/receipt libwapcaplet/receipt locale-ar-extra/receipt locale-ca-extra/receipt locale-cs-extra/receipt locale-da-extra/receipt locale-de-extra/receipt locale-el-extra/receipt locale-es-extra/receipt locale-fr-extra/receipt locale-hu-extra/receipt locale-id-extra/receipt locale-it-extra/receipt locale-pl-extra/receipt locale-pt-extra/receipt locale-pt_BR-extra/receipt locale-ru-extra/receipt locale-sl-extra/receipt locale-sv-extra/receipt locale-zh_CN-extra/receipt locale-zh_TW-extra/receipt netsurf-buildsystem/receipt slitaz-i18n-extra/receipt
line diff
     1.1 --- a/btrfs-progs/receipt	Wed Jul 19 14:10:52 2017 +0300
     1.2 +++ b/btrfs-progs/receipt	Thu Jul 20 00:33:52 2017 +0300
     1.3 @@ -8,33 +8,46 @@
     1.4  LICENSE="GPL2"
     1.5  WEB_SITE="https://btrfs.wiki.kernel.org/index.php/Main_Page"
     1.6  
     1.7 -TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.8 -WGET_URL="https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/snapshot/$TARBALL"
     1.9 +TARBALL="$PACKAGE-v$VERSION.tar.xz"
    1.10 +WGET_URL="https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/$TARBALL"
    1.11  
    1.12  BUILD_DEPENDS="util-linux-uuid-dev e2fsprogs e2fsprogs-dev zlib-dev acl-dev \
    1.13 -util-linux-blkid-dev lzo-dev autoconf automake"
    1.14 -SPLIT="btrfs-libs btrfs-mkfs btrfs-dev"
    1.15 +util-linux-blkid-dev lzo-dev" #autoconf automake"
    1.16 +SPLIT="btrfs-mkfs btrfs-progs btrfs-libs btrfs-dev"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 -	./autogen.sh
    1.22 +	# http://www.linuxfromscratch.org/blfs/view/stable/postlfs/btrfs-progs.html
    1.23 +	sed -i '1,106 s/\.gz//g' Documentation/Makefile.in &&
    1.24 +
    1.25  	./configure \
    1.26  		--prefix=/usr \
    1.27 -		--sysconfdir=/etc \
    1.28 +		--bindir=/bin \
    1.29 +		--libdir=/lib \
    1.30  		--disable-documentation \
    1.31  		$CONFIGURE_ARGS &&
    1.32  	make &&
    1.33 -	make DESTDIR=$DESTDIR prefix=/usr -j1 install
    1.34 +	make install &&
    1.35 +
    1.36 +	mkdir -p $install/usr/lib/ &&
    1.37 +	ln -sfv ../../lib/$(readlink $install/lib/libbtrfs.so) \
    1.38 +		$install/usr/lib/libbtrfs.so &&
    1.39 +	rm -v $install/lib/libbtrfs.a $install/lib/libbtrfs.so
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45  	case $PACKAGE in
    1.46 +		btrfs-mkfs)
    1.47 +			copy mkfs.btrfs
    1.48 +			CAT="system-tools|creation tool"
    1.49 +			DEPENDS="lzo util-linux-blkid util-linux-uuid zlib"
    1.50 +			;;
    1.51  		btrfs-progs)
    1.52  			copy bin/
    1.53 -			rm $fs/usr/bin/mkfs.btrfs
    1.54 +			remove_already_packed
    1.55  			TAGS="filesystem fault-tolerance"
    1.56  			PROVIDE="btrfs-tools"
    1.57  			DEPENDS="e2fsprogs libcomerr lzo util-linux-blkid util-linux-uuid \
    1.58 @@ -45,11 +58,6 @@
    1.59  			CAT="system-tools|library"
    1.60  			DEPENDS="lzo util-linux-blkid util-linux-uuid zlib"
    1.61  			;;
    1.62 -		btrfs-mkfs)
    1.63 -			copy mkfs.btrfs
    1.64 -			CAT="system-tools|creation tool"
    1.65 -			DEPENDS="lzo util-linux-blkid util-linux-uuid zlib"
    1.66 -			;;
    1.67  		*-dev) copy @dev;;
    1.68  	esac
    1.69  }
     2.1 --- a/fuse-dev/receipt	Wed Jul 19 14:10:52 2017 +0300
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,18 +0,0 @@
     2.4 -# SliTaz package receipt.
     2.5 -
     2.6 -PACKAGE="fuse-dev"
     2.7 -VERSION="2.9.7"
     2.8 -CATEGORY="development"
     2.9 -SHORT_DESC="Fuse Filsystem in user space (development files)"
    2.10 -MAINTAINER="pankso@slitaz.org"
    2.11 -LICENSE="GPL2"
    2.12 -WEB_SITE="http://fuse.sourceforge.net/"
    2.13 -HOST_ARCH="i486 arm"
    2.14 -
    2.15 -WANTED="fuse"
    2.16 -
    2.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 -genpkg_rules()
    2.19 -{
    2.20 -	copy *.h *.la *.pc
    2.21 -}
     3.1 --- a/fuse/receipt	Wed Jul 19 14:10:52 2017 +0300
     3.2 +++ b/fuse/receipt	Thu Jul 20 00:33:52 2017 +0300
     3.3 @@ -1,37 +1,53 @@
     3.4 -# SliTaz package receipt.
     3.5 +# SliTaz package receipt v2.
     3.6  
     3.7  PACKAGE="fuse"
     3.8  VERSION="2.9.7"
     3.9  CATEGORY="system-tools"
    3.10 -SHORT_DESC="Fuse Filsystem in user space."
    3.11 +SHORT_DESC="Fuse Filsystem in user space"
    3.12  MAINTAINER="pankso@slitaz.org"
    3.13  LICENSE="GPL2"
    3.14  WEB_SITE="http://fuse.sourceforge.net/"
    3.15 -TAGS="filesystem"
    3.16  HOST_ARCH="i486 arm"
    3.17  
    3.18  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.19  WGET_URL="https://github.com/libfuse/libfuse/releases/download/fuse-$VERSION/$TARBALL"
    3.20  
    3.21 +SPLIT="fuse-dev"
    3.22 +
    3.23  # Rules to configure and make the package.
    3.24  compile_rules()
    3.25  {
    3.26 +	# http://www.linuxfromscratch.org/blfs/view/stable/postlfs/fuse.html
    3.27  	./configure \
    3.28  		--disable-static \
    3.29  		INIT_D_PATH=/tmp/init.d \
    3.30  		$CONFIGURE_ARGS &&
    3.31 -	make && make install
    3.32 +	make &&
    3.33 +	make install &&
    3.34  
    3.35 -	mkdir -p $install/lib
    3.36 -	mv $install/usr/lib/libfuse.so.* $install/lib
    3.37 -	ln -sf ../../lib/libfuse.so.$VERSION $install/usr/lib/libfuse.so
    3.38 +	mkdir -p $install/lib &&
    3.39 +	mv -v $install/usr/lib/libfuse.so.* $install/lib &&
    3.40 +	ln -sfv ../../lib/libfuse.so.$VERSION $install/usr/lib/libfuse.so &&
    3.41 +	rm -rf $install/tmp/init.d &&
    3.42 +	mkdir -p $install/usr/share/doc/fuse-$VERSION &&
    3.43 +	install -v -m644 doc/how-fuse-works doc/kernel.txt \
    3.44 +		$install/usr/share/doc/fuse-$VERSION &&
    3.45  
    3.46 -	mkdir -p $install/usr/share/doc/fuse-$VERSION/api
    3.47 -	cp doc/html/* $install/usr/share/doc/fuse-$VERSION/api
    3.48 +	mkdir -p $install/etc &&
    3.49 +	cp $stuff/fuse.conf $install/etc
    3.50  }
    3.51  
    3.52  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.53  genpkg_rules()
    3.54  {
    3.55 -	copy dev/ etc/ sbin/ bin/ *.so*
    3.56 +	case $PACKAGE in
    3.57 +		fuse)
    3.58 +			copy @std
    3.59 +			CONFIG_FILES="/etc/fuse.conf"
    3.60 +			TAGS="filesystem"
    3.61 +			;;
    3.62 +		*-dev)
    3.63 +			copy @dev
    3.64 +			;;
    3.65 +	esac
    3.66  }
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/fuse/stuff/fuse.conf	Thu Jul 20 00:33:52 2017 +0300
     4.3 @@ -0,0 +1,9 @@
     4.4 +# Set the maximum number of FUSE mounts allowed to non-root users.
     4.5 +# The default is 1000.
     4.6 +#
     4.7 +#mount_max = 1000
     4.8 +
     4.9 +# Allow non-root users to specify the 'allow_other' or 'allow_root'
    4.10 +# mount options.
    4.11 +#
    4.12 +#user_allow_other
     5.1 --- a/gtkmm-dev/receipt	Wed Jul 19 14:10:52 2017 +0300
     5.2 +++ b/gtkmm-dev/receipt	Thu Jul 20 00:33:52 2017 +0300
     5.3 @@ -1,7 +1,7 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="gtkmm-dev"
     5.7 -VERSION="2.24.4"
     5.8 +VERSION="2.24.5"
     5.9  CATEGORY="development"
    5.10  SHORT_DESC="Callback Framework for C++ devel files."
    5.11  MAINTAINER="pankso@slitaz.org"
     6.1 --- a/gtkmm/receipt	Wed Jul 19 14:10:52 2017 +0300
     6.2 +++ b/gtkmm/receipt	Thu Jul 20 00:33:52 2017 +0300
     6.3 @@ -1,7 +1,7 @@
     6.4  # SliTaz package receipt.
     6.5  
     6.6  PACKAGE="gtkmm"
     6.7 -VERSION="2.24.4"
     6.8 +VERSION="2.24.5"
     6.9  CATEGORY="x-window"
    6.10  SHORT_DESC="C++ interface for the popular GUI library GTK+."
    6.11  MAINTAINER="pankso@slitaz.org"
     7.1 --- a/jfsutils/receipt	Wed Jul 19 14:10:52 2017 +0300
     7.2 +++ b/jfsutils/receipt	Thu Jul 20 00:33:52 2017 +0300
     7.3 @@ -16,6 +16,7 @@
     7.4  # Rules to configure and make the package.
     7.5  compile_rules()
     7.6  {
     7.7 +	# http://www.linuxfromscratch.org/blfs/view/stable/postlfs/jfsutils.html
     7.8  	sed "s@<unistd.h>@&\n#include <sys/types.h>@g" -i fscklog/extract.c &&
     7.9  
    7.10  	./configure $CONFIGURE_ARGS && make && make install
     8.1 --- a/libaal-dev/receipt	Wed Jul 19 14:10:52 2017 +0300
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,20 +0,0 @@
     8.4 -# SliTaz package receipt.
     8.5 -
     8.6 -PACKAGE="libaal-dev"
     8.7 -VERSION="1.0.5"
     8.8 -CATEGORY="development"
     8.9 -SHORT_DESC="Application abstraction library development files."
    8.10 -MAINTAINER="pascal.bellard@slitaz.org"
    8.11 -LICENSE="GPL"
    8.12 -WEB_SITE="http://www.kernel.org/"
    8.13 -WANTED="libaal"
    8.14 -
    8.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
    8.16 -genpkg_rules()
    8.17 -{
    8.18 -	mkdir -p $fs/usr/lib
    8.19 -	cp -a $install/usr/lib/*a $fs/usr/lib
    8.20 -	cp -a $install/usr/include $fs/usr
    8.21 -	cp -a $install/usr/share $fs/usr
    8.22 -}
    8.23 -
     9.1 --- a/libaal/receipt	Wed Jul 19 14:10:52 2017 +0300
     9.2 +++ b/libaal/receipt	Thu Jul 20 00:33:52 2017 +0300
     9.3 @@ -1,29 +1,31 @@
     9.4 -# SliTaz package receipt.
     9.5 +# SliTaz package receipt v2.
     9.6  
     9.7  PACKAGE="libaal"
     9.8 -VERSION="1.0.5"
     9.9 +VERSION="1.0.6"
    9.10  CATEGORY="system-tools"
    9.11 -SHORT_DESC="Application abstraction library."
    9.12 +SHORT_DESC="Application abstraction library"
    9.13  MAINTAINER="pascal.bellard@slitaz.org"
    9.14  LICENSE="GPL"
    9.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    9.16 -WEB_SITE="http://www.kernel.org/"
    9.17 -WGET_URL="http://www.kernel.org/pub/linux/utils/fs/reiser4/$PACKAGE/$TARBALL"
    9.18 +WEB_SITE="https://reiser4.wiki.kernel.org/index.php/Reiser4progs"
    9.19 +
    9.20 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    9.21 +#WGET_URL="http://www.kernel.org/pub/linux/utils/fs/reiser4/libaal/$TARBALL" # historical, now empty
    9.22 +WGET_URL="$SF_MIRROR/reiser4/$TARBALL"
    9.23 +
    9.24 +SPLIT="libaal-dev"
    9.25  
    9.26  # Rules to configure and make the package.
    9.27  compile_rules()
    9.28  {
    9.29 -	cd $src
    9.30 -	./configure --prefix=/usr --infodir=/usr/share/info \
    9.31 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    9.32 -	make &&
    9.33 -	make DESTDIR=$DESTDIR install
    9.34 +	./configure $CONFIGURE_ARGS && make && make install
    9.35  }
    9.36  
    9.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    9.38  genpkg_rules()
    9.39  {
    9.40 -	mkdir -p $fs/usr/lib
    9.41 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    9.42 +	case $PACKAGE in
    9.43 +		libaal) copy @std;;
    9.44 +		*-dev)  copy @dev;;
    9.45 +	esac
    9.46  }
    9.47  
    10.1 --- a/libacpi-dev/receipt	Wed Jul 19 14:10:52 2017 +0300
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,21 +0,0 @@
    10.4 -# SliTaz package receipt.
    10.5 -
    10.6 -PACKAGE="libacpi-dev"
    10.7 -VERSION="0.2"
    10.8 -CATEGORY="development"
    10.9 -SHORT_DESC="General purpose library for ACPI, development files."
   10.10 -MAINTAINER="pascal.bellard@slitaz.org"
   10.11 -LICENSE="MIT"
   10.12 -WEB_SITE="http://www.ngolde.de/libacpi.html"
   10.13 -WANTED="libacpi"
   10.14 -
   10.15 -DEPENDS="libacpi"
   10.16 -
   10.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   10.18 -genpkg_rules()
   10.19 -{
   10.20 -	mkdir -p $fs/usr/lib
   10.21 -	cp -a $install/usr/lib/*a $fs/usr/lib
   10.22 -	cp -a $install/usr/bin $fs/usr
   10.23 -	cp -a $install/usr/include $fs/usr
   10.24 -}
    11.1 --- a/libacpi/receipt	Wed Jul 19 14:10:52 2017 +0300
    11.2 +++ b/libacpi/receipt	Thu Jul 20 00:33:52 2017 +0300
    11.3 @@ -1,29 +1,31 @@
    11.4 -# SliTaz package receipt.
    11.5 +# SliTaz package receipt v2.
    11.6  
    11.7  PACKAGE="libacpi"
    11.8  VERSION="0.2"
    11.9  CATEGORY="misc"
   11.10 -SHORT_DESC="General purpose library for ACPI."
   11.11 +SHORT_DESC="General purpose library for ACPI"
   11.12  MAINTAINER="pascal.bellard@slitaz.org"
   11.13  LICENSE="MIT"
   11.14  WEB_SITE="http://www.ngolde.de/libacpi.html"
   11.15 +
   11.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   11.17  WGET_URL="http://www.ngolde.de/download/$TARBALL"
   11.18  
   11.19 -DEPENDS=""
   11.20 -BUILD_DEPENDS=""
   11.21 +BUILD_DEPENDS="patch"
   11.22 +SPLIT="libacpi-dev"
   11.23  
   11.24  # Rules to configure and make the package.
   11.25  compile_rules()
   11.26  {
   11.27 -	cd $src
   11.28 -	sed -i 's|/local||' config.mk
   11.29 -	make && make DESTDIR=$DESTDIR install
   11.30 +	make PREFIX=/usr &&
   11.31 +	make PREFIX=/usr DESTDIR=$install install
   11.32  }
   11.33  
   11.34  # Rules to gen a SliTaz package suitable for Tazpkg.
   11.35  genpkg_rules()
   11.36  {
   11.37 -	mkdir -p $fs/usr/lib
   11.38 -	cp -a $install/usr/lib/*so* $fs/usr/lib
   11.39 +	case $PACKAGE in
   11.40 +		libacpi) copy *.so*;;
   11.41 +		*-dev)   copy @dev bin/;;
   11.42 +	esac
   11.43  }
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/libacpi/stuff/patches/libacpi_0.2-4.diff	Thu Jul 20 00:33:52 2017 +0300
    12.3 @@ -0,0 +1,458 @@
    12.4 +--- libacpi-0.2.orig/libacpi.h
    12.5 ++++ libacpi-0.2/libacpi.h
    12.6 +@@ -12,6 +12,8 @@
    12.7 + #define __LIBACPI_H__
    12.8 + 
    12.9 + #define PROC_ACPI "/proc/acpi/"
   12.10 ++#define SYS_POWER "/sys/class/power_supply"
   12.11 ++
   12.12 + #define LINE_MAX 256
   12.13 + #define MAX_NAME 512
   12.14 + #define MAX_BUF 1024
   12.15 +@@ -177,6 +179,7 @@
   12.16 + 	int fan_count;                /**< number of found fans */
   12.17 + 	int temperature;              /**< system temperature if we only have on thermal zone */
   12.18 + 	adapter_t adapt;              /**< ac adapter */
   12.19 ++	int sysstyle;
   12.20 + } global_t;
   12.21 + 
   12.22 + /**
   12.23 +@@ -239,6 +242,7 @@
   12.24 +  * Looks up if the ac adapter is plugged in or not
   12.25 +  * and sets the values in a struct
   12.26 +  * @param globals pointer to the global acpi structure
   12.27 ++ * @param sysstyle whether or not to use the /sys interface
   12.28 +  */
   12.29 + void read_acpi_acstate(global_t *globals);
   12.30 + /**
   12.31 +--- libacpi-0.2.orig/libacpi.c
   12.32 ++++ libacpi-0.2/libacpi.c
   12.33 +@@ -14,8 +14,9 @@
   12.34 + #include "libacpi.h"
   12.35 + #include "list.h"
   12.36 + 
   12.37 +-static int read_acpi_battinfo(const int num);
   12.38 +-static int read_acpi_battalarm(const int num);
   12.39 ++
   12.40 ++static int read_acpi_battinfo(const int num, const int sysstyle);
   12.41 ++static int read_acpi_battalarm(const int num, const int sysstyle);
   12.42 + static int read_acpi_battstate(const int num);
   12.43 + static void read_acpi_thermalzones(global_t *globals);
   12.44 + 
   12.45 +@@ -144,8 +145,15 @@
   12.46 + 	int i = 0;
   12.47 + 
   12.48 + 	globals->batt_count = 0;
   12.49 ++	globals->sysstyle = 0;
   12.50 + 	if((lst = dir_list(PROC_ACPI "battery")) == NULL || !lst->top)
   12.51 +-		return NOT_SUPPORTED;
   12.52 ++	{
   12.53 ++		/* check for new Linux 2.6.24+ layout */
   12.54 ++		if((lst = dir_list(SYS_POWER)) == NULL || !lst->top)
   12.55 ++			return NOT_SUPPORTED;
   12.56 ++		else
   12.57 ++			globals->sysstyle = 1;
   12.58 ++	}
   12.59 + 	for(node = lst->top; node; node=node->next){
   12.60 + 		if((names[globals->batt_count] = strdup(node->name)) == NULL){
   12.61 + 			delete_list(lst);
   12.62 +@@ -174,11 +182,20 @@
   12.63 + 	for (i=0; i < globals->batt_count && i < MAX_ITEMS; i++){
   12.64 + 		binfo = &batteries[i];
   12.65 + 		snprintf(binfo->name, MAX_NAME, "%s", names[i]);
   12.66 +-		snprintf(binfo->state_file, MAX_NAME, PROC_ACPI "battery/%s/state", names[i]);
   12.67 +-		snprintf(binfo->info_file, MAX_NAME, PROC_ACPI "battery/%s/info", names[i]);
   12.68 +-		snprintf(binfo->alarm_file, MAX_NAME, PROC_ACPI "battery/%s/alarm", names[i]);
   12.69 +-		read_acpi_battinfo(i);
   12.70 +-		read_acpi_battalarm(i);
   12.71 ++		if(globals->sysstyle)
   12.72 ++		{
   12.73 ++			snprintf(binfo->state_file, MAX_NAME, "/%s/present", names[i]);
   12.74 ++			snprintf(binfo->info_file, MAX_NAME, SYS_POWER "/%s", names[i]);
   12.75 ++			snprintf(binfo->alarm_file, MAX_NAME, SYS_POWER "/%s/alarm", names[i]);
   12.76 ++		}
   12.77 ++		else
   12.78 ++		{
   12.79 ++			snprintf(binfo->state_file, MAX_NAME, PROC_ACPI "battery/%s/state", names[i]);
   12.80 ++			snprintf(binfo->info_file, MAX_NAME, PROC_ACPI "battery/%s/info", names[i]);
   12.81 ++			snprintf(binfo->alarm_file, MAX_NAME, PROC_ACPI "battery/%s/alarm", names[i]);
   12.82 ++		}
   12.83 ++		read_acpi_battinfo(i, globals->sysstyle);
   12.84 ++		read_acpi_battalarm(i, globals->sysstyle);
   12.85 + 		free(names[i]);
   12.86 + 	}
   12.87 + 	delete_list(lst);
   12.88 +@@ -196,11 +213,22 @@
   12.89 + 		ac->ac_state = P_ERR;
   12.90 + 		return;
   12.91 + 	}
   12.92 +-	if((tmp = scan_acpi_value(buf, "state:")) && !strncmp(tmp, "on-line", 7))
   12.93 +-		ac->ac_state = P_AC;
   12.94 +-	else if(tmp && !strncmp(tmp, "off-line", 8))
   12.95 +-		ac->ac_state = P_BATT;
   12.96 +-	else ac->ac_state = P_ERR;
   12.97 ++	if(globals->sysstyle)
   12.98 ++	{
   12.99 ++		if(!strcmp(buf, "1"))
  12.100 ++			ac->ac_state = P_AC;
  12.101 ++		else if(!strcmp(buf, "0"))
  12.102 ++			ac->ac_state = P_BATT;
  12.103 ++		else ac->ac_state = P_ERR;
  12.104 ++	}
  12.105 ++	else
  12.106 ++	{
  12.107 ++		if((tmp = scan_acpi_value(buf, "state:")) && !strncmp(tmp, "on-line", 7))
  12.108 ++			ac->ac_state = P_AC;
  12.109 ++		else if(tmp && !strncmp(tmp, "off-line", 8))
  12.110 ++			ac->ac_state = P_BATT;
  12.111 ++		else ac->ac_state = P_ERR;
  12.112 ++	}
  12.113 + 	free(buf);
  12.114 + 	free(tmp);
  12.115 + }
  12.116 +@@ -212,14 +240,22 @@
  12.117 + 	list_t *lst = NULL;
  12.118 + 	adapter_t *ac = &globals->adapt;
  12.119 + 
  12.120 ++	globals->sysstyle = 0;
  12.121 + 	if((lst = dir_list(PROC_ACPI "ac_adapter")) == NULL || !lst->top)
  12.122 +-		return NOT_SUPPORTED;
  12.123 +-
  12.124 ++	{
  12.125 ++		if((lst = dir_list(SYS_POWER "/AC")) == NULL || !lst->top)
  12.126 ++			return NOT_SUPPORTED;
  12.127 ++		else
  12.128 ++			globals->sysstyle = 1;
  12.129 ++	}
  12.130 + 	if((!lst->top->name || ((ac->name = strdup(lst->top->name)) == NULL))){
  12.131 + 		delete_list(lst);
  12.132 + 		return ALLOC_ERR;
  12.133 + 	}
  12.134 +-	snprintf(ac->state_file, MAX_NAME, PROC_ACPI "ac_adapter/%s/state", ac->name);
  12.135 ++	if(globals->sysstyle)
  12.136 ++		snprintf(ac->state_file, MAX_NAME, SYS_POWER "/AC/online");
  12.137 ++	else
  12.138 ++		snprintf(ac->state_file, MAX_NAME, PROC_ACPI "ac_adapter/%s/state", ac->name);
  12.139 + 	delete_list(lst);
  12.140 + 	read_acpi_acstate(globals);
  12.141 + 	return SUCCESS;
  12.142 +@@ -450,7 +486,7 @@
  12.143 + 
  12.144 + /* read alarm capacity, return 0 on success, negative values on error */
  12.145 + static int
  12.146 +-read_acpi_battalarm(const int num){
  12.147 ++read_acpi_battalarm(const int num, const int sysstyle){
  12.148 + 	char *buf = NULL;
  12.149 + 	char *tmp = NULL;
  12.150 + 	battery_t *info = &batteries[num];
  12.151 +@@ -458,10 +494,22 @@
  12.152 + 	if((buf = get_acpi_content(info->alarm_file)) == NULL)
  12.153 + 		return NOT_SUPPORTED;
  12.154 + 
  12.155 +-	if((tmp = scan_acpi_value(buf, "alarm:")) && tmp[0] != 'u')
  12.156 +-		info->alarm = strtol(tmp, NULL, 10);
  12.157 ++	if(sysstyle)
  12.158 ++	{
  12.159 ++		if(!strcmp(buf, "0"))
  12.160 ++			info->alarm = 0;
  12.161 ++		else if(!strcmp(buf, "1"))
  12.162 ++			info->alarm = 1;
  12.163 ++		else
  12.164 ++			info->alarm = NOT_SUPPORTED;
  12.165 ++	}
  12.166 + 	else
  12.167 +-		info->alarm = NOT_SUPPORTED;
  12.168 ++	{
  12.169 ++		if((tmp = scan_acpi_value(buf, "alarm:")) && tmp[0] != 'u')
  12.170 ++			info->alarm = strtol(tmp, NULL, 10);
  12.171 ++		else
  12.172 ++			info->alarm = NOT_SUPPORTED;
  12.173 ++	}
  12.174 + 	free(buf);
  12.175 + 	free(tmp);
  12.176 + 	return SUCCESS;
  12.177 +@@ -469,11 +517,58 @@
  12.178 + 
  12.179 + /* reads static values for a battery (info file), returns SUCCESS */
  12.180 + static int
  12.181 +-read_acpi_battinfo(const int num){
  12.182 ++read_acpi_battinfo(const int num, const int sysstyle){
  12.183 + 	char *buf = NULL;
  12.184 + 	char *tmp = NULL;
  12.185 + 	battery_t *info = &batteries[num];
  12.186 + 	int i = 0;
  12.187 ++	char sysfile[MAX_NAME];
  12.188 ++
  12.189 ++	if(sysstyle)
  12.190 ++	{
  12.191 ++		snprintf(sysfile, MAX_NAME, "%s/present", info->info_file);
  12.192 ++		if((buf = get_acpi_content(sysfile)) == NULL)
  12.193 ++			return NOT_SUPPORTED;
  12.194 ++		if(!strcmp(buf, "1")) {
  12.195 ++			info->present = 1;
  12.196 ++		} else {
  12.197 ++			info->present = 0;
  12.198 ++			return NOT_PRESENT;
  12.199 ++		}
  12.200 ++
  12.201 ++		snprintf(sysfile, MAX_NAME, "%s/charge_full_design", info->info_file);
  12.202 ++		if((buf = get_acpi_content(sysfile)) == NULL)
  12.203 ++			return NOT_SUPPORTED;
  12.204 ++		info->design_cap = strtol(buf, NULL, 10);
  12.205 ++
  12.206 ++		snprintf(sysfile, MAX_NAME, "%s/charge_full", info->info_file);
  12.207 ++		if((buf = get_acpi_content(sysfile)) == NULL)
  12.208 ++			return NOT_SUPPORTED;
  12.209 ++		info->last_full_cap = strtol(buf, NULL, 10);
  12.210 ++
  12.211 ++		snprintf(sysfile, MAX_NAME, "%s/charge_now", info->info_file);
  12.212 ++		if((buf = get_acpi_content(sysfile)) == NULL)
  12.213 ++			return NOT_SUPPORTED;
  12.214 ++		info->remaining_cap = strtol(buf, NULL, 10);
  12.215 ++
  12.216 ++		snprintf(sysfile, MAX_NAME, "%s/voltage_min_design", info->info_file);
  12.217 ++		if((buf = get_acpi_content(sysfile)) == NULL)
  12.218 ++			return NOT_SUPPORTED;
  12.219 ++		info->design_voltage = strtol(buf, NULL, 10);
  12.220 ++
  12.221 ++		snprintf(sysfile, MAX_NAME, "%s/voltage_now", info->info_file);
  12.222 ++		if((buf = get_acpi_content(sysfile)) == NULL)
  12.223 ++			return NOT_SUPPORTED;
  12.224 ++		info->present_voltage = strtol(buf, NULL, 10);
  12.225 ++
  12.226 ++		/* FIXME: is rate == current here? */
  12.227 ++		snprintf(sysfile, MAX_NAME, "%s/current_now", info->info_file);
  12.228 ++		if((buf = get_acpi_content(sysfile)) == NULL)
  12.229 ++			return NOT_SUPPORTED;
  12.230 ++		info->present_rate = strtol(buf, NULL, 10);
  12.231 ++
  12.232 ++		return SUCCESS;
  12.233 ++	}
  12.234 + 
  12.235 + 	if((buf = get_acpi_content(info->info_file)) == NULL)
  12.236 + 		return NOT_SUPPORTED;
  12.237 +@@ -608,7 +703,7 @@
  12.238 + read_acpi_batt(const int num){
  12.239 + 	if(num > MAX_ITEMS) return ITEM_EXCEED;
  12.240 + 	read_acpi_battstate(num);
  12.241 +-	read_acpi_battalarm(num);
  12.242 ++	read_acpi_battalarm(num, 0);
  12.243 + 	calc_remain_perc(num);
  12.244 + 	calc_remain_chargetime(num);
  12.245 + 	calc_remain_time(num);
  12.246 +--- libacpi-0.2.orig/test-libacpi.c
  12.247 ++++ libacpi-0.2/test-libacpi.c
  12.248 +@@ -46,6 +46,7 @@
  12.249 + 			read_acpi_batt(i);
  12.250 + 
  12.251 + 			if(binfo->present)
  12.252 ++			{
  12.253 + 				printf("\n%s:\tpresent: %d\n"
  12.254 + 						"\tdesign capacity: %d\n"
  12.255 + 						"\tlast full capacity: %d\n"
  12.256 +@@ -65,6 +66,9 @@
  12.257 + 						binfo->batt_state, binfo->percentage, 
  12.258 + 						binfo->charge_time / 60, binfo->charge_time % 60,
  12.259 + 						binfo->remaining_time / 60, binfo->remaining_time % 60);
  12.260 ++				if(binfo->alarm)
  12.261 ++					printf("%s: Alarm!\n", binfo->name);
  12.262 ++			}
  12.263 + 		}
  12.264 + 	} else printf("Battery information:\tnot supported\n");
  12.265 + 	
  12.266 +--- libacpi-0.2.orig/debian/control
  12.267 ++++ libacpi-0.2/debian/control
  12.268 +@@ -0,0 +1,30 @@
  12.269 ++Source: libacpi
  12.270 ++Priority: optional
  12.271 ++Maintainer: Nico Golde <nion@debian.org>
  12.272 ++Build-Depends: debhelper (>= 5)
  12.273 ++Standards-Version: 3.7.3
  12.274 ++Section: libs
  12.275 ++Homepage: http://www.ngolde.de/libacpi.html
  12.276 ++
  12.277 ++Package: libacpi-dev
  12.278 ++Section: libdevel
  12.279 ++Architecture: i386 ia64 amd64
  12.280 ++Depends: libacpi0 (= ${binary:Version})
  12.281 ++Description: development files for libacpi
  12.282 ++ libacpi is a general purpose shared library for programs gathering
  12.283 ++ ACPI data on Linux. It implements thermal zones, battery information,
  12.284 ++ fan information and AC states.
  12.285 ++ .
  12.286 ++ This package contains the header files and static libraries needed to
  12.287 ++ compile applications or shared objects that use libacpi.
  12.288 ++
  12.289 ++Package: libacpi0
  12.290 ++Section: libs
  12.291 ++Architecture: i386 ia64 amd64
  12.292 ++Depends: ${shlibs:Depends}, ${misc:Depends}
  12.293 ++Description: general purpose library for ACPI
  12.294 ++ libacpi is a general purpose shared library for programs gathering
  12.295 ++ ACPI data on Linux. It implements thermal zones, battery information,
  12.296 ++ fan information and AC states.
  12.297 ++ .
  12.298 ++ This package contains the shared library for libacpi.
  12.299 +--- libacpi-0.2.orig/debian/libacpi-dev.install
  12.300 ++++ libacpi-0.2/debian/libacpi-dev.install
  12.301 +@@ -0,0 +1,4 @@
  12.302 ++usr/include/*
  12.303 ++usr/lib/lib*.a
  12.304 ++usr/lib/lib*.so
  12.305 ++usr/share/man/man3/libacpi.3
  12.306 +--- libacpi-0.2.orig/debian/compat
  12.307 ++++ libacpi-0.2/debian/compat
  12.308 +@@ -0,0 +1 @@
  12.309 ++5
  12.310 +--- libacpi-0.2.orig/debian/docs
  12.311 ++++ libacpi-0.2/debian/docs
  12.312 +@@ -0,0 +1 @@
  12.313 ++README
  12.314 +--- libacpi-0.2.orig/debian/changelog
  12.315 ++++ libacpi-0.2/debian/changelog
  12.316 +@@ -0,0 +1,44 @@
  12.317 ++libacpi (0.2-4) unstable; urgency=low
  12.318 ++
  12.319 ++  * Fix interface incompatibilities introduced by last patch (Closes: #464276).
  12.320 ++
  12.321 ++ -- Nico Golde <nion@debian.org>  Wed, 06 Feb 2008 11:31:13 +0100
  12.322 ++
  12.323 ++libacpi (0.2-3) unstable; urgency=low
  12.324 ++
  12.325 ++  * Temporary patch libacpi to make battery and ac status work with
  12.326 ++    kernels >= 2.6.24. There will be a fixed upstream version
  12.327 ++    which uses sysfs and procfs as fallback soon. Many thanks
  12.328 ++    to Joseph Spillner for the patch! (Closes: #463986, #463982).
  12.329 ++
  12.330 ++ -- Nico Golde <nion@debian.org>  Mon, 04 Feb 2008 22:35:35 +0100
  12.331 ++
  12.332 ++libacpi (0.2-2) unstable; urgency=low
  12.333 ++
  12.334 ++  * Bumped Standards Version, no changes needed.
  12.335 ++  * Switched from Homepage tag to Homepage control field.
  12.336 ++
  12.337 ++ -- Nico Golde <nion@debian.org>  Wed, 02 Jan 2008 14:42:01 +0100
  12.338 ++
  12.339 ++libacpi (0.2-1) unstable; urgency=low
  12.340 ++
  12.341 ++  * New upstream release.
  12.342 ++    Fixed double header inclusion (Closes: #433399).
  12.343 ++
  12.344 ++ -- Nico Golde <nion@debian.org>  Sun, 29 Jul 2007 14:13:59 +0200
  12.345 ++
  12.346 ++libacpi (0.1-2) unstable; urgency=low
  12.347 ++
  12.348 ++  * Just build this package for amd64,i386 and ia64 since
  12.349 ++    the other archs have on ACPI support (Closes: #432432).
  12.350 ++  * Switched from Source-Version to binary:Version.
  12.351 ++  * Do not suppress make clean output any longer.
  12.352 ++
  12.353 ++ -- Nico Golde <nion@debian.org>  Tue, 10 Jul 2007 18:18:08 +0200
  12.354 ++
  12.355 ++libacpi (0.1-1) unstable; urgency=low
  12.356 ++
  12.357 ++  * Initial release (Closes: #429573).
  12.358 ++
  12.359 ++ -- Nico Golde <nion@debian.org>  Mon, 18 Jun 2007 22:11:10 +0200
  12.360 ++
  12.361 +--- libacpi-0.2.orig/debian/libacpi0.install
  12.362 ++++ libacpi-0.2/debian/libacpi0.install
  12.363 +@@ -0,0 +1 @@
  12.364 ++usr/lib/lib*.so.*
  12.365 +--- libacpi-0.2.orig/debian/copyright
  12.366 ++++ libacpi-0.2/debian/copyright
  12.367 +@@ -0,0 +1,34 @@
  12.368 ++This package was debianized by Nico Golde <nion@debian.org> on
  12.369 ++Mon, 18 Jun 2007 22:11:10 +0200.
  12.370 ++
  12.371 ++It was downloaded from http://www.ngolde.de/libacpi.html
  12.372 ++
  12.373 ++Upstream Author: Nico Golde <nico@ngolde.de>
  12.374 ++
  12.375 ++Copyright: 2007 Nico Golde
  12.376 ++
  12.377 ++License:
  12.378 ++
  12.379 ++   Copyright (C) 2007 Nico Golde <nico@ngolde.de>
  12.380 ++
  12.381 ++   Permission is hereby granted, free of charge, to any person obtaining a
  12.382 ++   copy of this software and associated documentation files (the
  12.383 ++   "Software"), to deal in the Software without restriction, including
  12.384 ++   without limitation the rights to use, copy, modify, merge, publish,
  12.385 ++   distribute, sublicense, and/or sell copies of the Software, and to
  12.386 ++   permit persons to whom the Software is furnished to do so, subject to
  12.387 ++   the following conditions:
  12.388 ++
  12.389 ++   The above copyright notice and this permission notice shall be included
  12.390 ++   in all copies or substantial portions of the Software.
  12.391 ++
  12.392 ++   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  12.393 ++   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  12.394 ++   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  12.395 ++   IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  12.396 ++   CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  12.397 ++   TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  12.398 ++   SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  12.399 ++
  12.400 ++The Debian packaging is (C) 2007, Nico Golde <nion@debian.org> and
  12.401 ++is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
  12.402 +--- libacpi-0.2.orig/debian/rules
  12.403 ++++ libacpi-0.2/debian/rules
  12.404 +@@ -0,0 +1,57 @@
  12.405 ++#!/usr/bin/make -f
  12.406 ++#export DH_VERBOSE=1
  12.407 ++
  12.408 ++CFLAGS = -Wall -g
  12.409 ++
  12.410 ++ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
  12.411 ++	CFLAGS += -O0
  12.412 ++else
  12.413 ++	CFLAGS += -O2
  12.414 ++endif
  12.415 ++
  12.416 ++build: build-stamp
  12.417 ++build-stamp:
  12.418 ++	dh_testdir
  12.419 ++	$(MAKE)
  12.420 ++
  12.421 ++	touch $@
  12.422 ++
  12.423 ++clean:
  12.424 ++	dh_testdir
  12.425 ++	dh_testroot
  12.426 ++	rm -f build-stamp
  12.427 ++
  12.428 ++	$(MAKE) clean
  12.429 ++	dh_clean 
  12.430 ++
  12.431 ++install: build
  12.432 ++	dh_testdir
  12.433 ++	dh_testroot
  12.434 ++	dh_clean -k 
  12.435 ++	dh_installdirs
  12.436 ++
  12.437 ++	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr install
  12.438 ++
  12.439 ++binary-indep: build install
  12.440 ++
  12.441 ++binary-arch: build install
  12.442 ++	dh_testdir
  12.443 ++	dh_testroot
  12.444 ++	dh_installchangelogs CHANGES
  12.445 ++	dh_installdocs doc/
  12.446 ++	dh_installexamples test-libacpi.c
  12.447 ++	dh_install --sourcedir=debian/tmp --list-missing
  12.448 ++	dh_link
  12.449 ++	dh_strip
  12.450 ++	dh_compress
  12.451 ++	dh_fixperms
  12.452 ++	dh_makeshlibs 
  12.453 ++	dh_makeshlibs
  12.454 ++	dh_installdeb
  12.455 ++	dh_shlibdeps
  12.456 ++	dh_gencontrol
  12.457 ++	dh_md5sums
  12.458 ++	dh_builddeb
  12.459 ++
  12.460 ++binary: binary-indep binary-arch
  12.461 ++.PHONY: build clean binary-indep binary-arch binary install
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/libacpi/stuff/patches/series	Thu Jul 20 00:33:52 2017 +0300
    13.3 @@ -0,0 +1,2 @@
    13.4 +# from http://ftp.de.debian.org/debian/pool/main/liba/libacpi/libacpi_0.2-4.diff.gz
    13.5 +libacpi_0.2-4.diff
    14.1 --- a/libaio-dev/receipt	Wed Jul 19 14:10:52 2017 +0300
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,21 +0,0 @@
    14.4 -# SliTaz package receipt.
    14.5 -
    14.6 -PACKAGE="libaio-dev"
    14.7 -VERSION="0.3.92"
    14.8 -CATEGORY="development"
    14.9 -SHORT_DESC="Linux-native asynchronous I/O access library, development files."
   14.10 -MAINTAINER="pascal.bellard@slitaz.org"
   14.11 -LICENSE="LGPL2.1"
   14.12 -WEB_SITE="http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/"
   14.13 -WANTED="libaio"
   14.14 -
   14.15 -DEPENDS="libaio"
   14.16 -
   14.17 -# Rules to gen a SliTaz package suitable for Tazpkg.   
   14.18 -genpkg_rules()                                      
   14.19 -{
   14.20 -	mkdir -p $fs/usr/lib $fs/usr/include
   14.21 -	install -D -m 644 $src/src/libaio.h $fs/usr/include/libaio.h
   14.22 -	install -D -m 644 $src/src/libaio.a $fs/usr/lib/libaio.a
   14.23 -}
   14.24 -
    15.1 --- a/libaio/receipt	Wed Jul 19 14:10:52 2017 +0300
    15.2 +++ b/libaio/receipt	Thu Jul 20 00:33:52 2017 +0300
    15.3 @@ -1,30 +1,32 @@
    15.4 -# SliTaz package receipt.
    15.5 +# SliTaz package receipt v2.
    15.6  
    15.7  PACKAGE="libaio"
    15.8 -VERSION="0.3.92"
    15.9 +VERSION="0.3.110"
   15.10  CATEGORY="misc"
   15.11 -SHORT_DESC="Linux-native asynchronous I/O access library."
   15.12 +SHORT_DESC="Linux-native asynchronous I/O access library"
   15.13  MAINTAINER="pascal.bellard@slitaz.org"
   15.14  LICENSE="LGPL2.1"
   15.15 +WEB_SITE="http://lse.sourceforge.net/io/aio.html"
   15.16 +
   15.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
   15.18 -WEB_SITE="http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/"
   15.19 -WGET_URL="${WEB_SITE}$TARBALL"
   15.20 +#WGET_URL="https://www.kernel.org/pub/linux/kernel/people/bcrl/aio/$TARBALL" # historical
   15.21 +WGET_URL="http://ftp.de.debian.org/debian/pool/main/liba/libaio/libaio_$VERSION.orig.tar.gz"
   15.22  
   15.23 -DEPENDS=""
   15.24 -BUILD_DEPENDS=""
   15.25 +SPLIT="libaio-dev"
   15.26  
   15.27  # Rules to configure and make the package.
   15.28  compile_rules()
   15.29  {
   15.30 -	cd $src
   15.31 -	make prefix=/usr
   15.32 +	CFLAGS="-march=${ARCH/_/-} -mtune=generic -O2 -pipe" &&
   15.33 +	make &&
   15.34 +	make prefix="$install/usr" install
   15.35  }
   15.36  
   15.37 -# Rules to gen a SliTaz package suitable for Tazpkg.   
   15.38 -genpkg_rules()                                      
   15.39 +# Rules to gen a SliTaz package suitable for Tazpkg.
   15.40 +genpkg_rules()
   15.41  {
   15.42 -	mkdir -p $fs/usr/lib
   15.43 -	install -D -m 755 $src/src/libaio.so.1 $fs/usr/lib/libaio.so.1
   15.44 -	ln -sf libaio.so.1 $fs/usr/lib/libaio.so
   15.45 +	case $PACKAGE in
   15.46 +		libaio) copy @std;;
   15.47 +		*-dev)  copy @dev;;
   15.48 +	esac
   15.49  }
   15.50 -
    16.1 --- a/libarchive-dev/receipt	Wed Jul 19 14:10:52 2017 +0300
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,19 +0,0 @@
    16.4 -# SliTaz package receipt.
    16.5 -
    16.6 -PACKAGE="libarchive-dev"
    16.7 -VERSION="3.2.2"
    16.8 -CATEGORY="development"
    16.9 -SHORT_DESC="C librairy and command line tool archive dev files."
   16.10 -MAINTAINER="erjo@slitaz.org"
   16.11 -LICENSE="BSD"
   16.12 -WEB_SITE="http://www.libarchive.org/"
   16.13 -
   16.14 -WANTED="libarchive"
   16.15 -DEPENDS="libarchive libcrypto-dev nettle-dev acl-dev lzo-dev liblzma-dev \
   16.16 -lz4-dev bzip2-dev zlib-dev libxml2-dev"
   16.17 -
   16.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   16.19 -genpkg_rules()
   16.20 -{
   16.21 -	copy *.h *.la *.pc
   16.22 -}
    17.1 --- a/libarchive/receipt	Wed Jul 19 14:10:52 2017 +0300
    17.2 +++ b/libarchive/receipt	Thu Jul 20 00:33:52 2017 +0300
    17.3 @@ -1,9 +1,9 @@
    17.4 -# SliTaz package receipt.
    17.5 +# SliTaz package receipt v2.
    17.6  
    17.7  PACKAGE="libarchive"
    17.8  VERSION="3.2.2"
    17.9  CATEGORY="system-tools"
   17.10 -SHORT_DESC="C librairy and command line tool for reading archive."
   17.11 +SHORT_DESC="C librairy and command line tool for reading archive"
   17.12  MAINTAINER="erjo@slitaz.org"
   17.13  LICENSE="BSD"
   17.14  WEB_SITE="http://www.libarchive.org/"
   17.15 @@ -11,13 +11,14 @@
   17.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   17.17  WGET_URL="${WEB_SITE}downloads/$TARBALL"
   17.18  
   17.19 -DEPENDS="acl attr bzlib libcrypto liblzma libxml2 lz4-lib lzo nettle zlib"
   17.20 -BUILD_DEPENDS="e2fsprogs-dev zlib-dev bzip2-dev gettext lz4-dev liblzma-dev \
   17.21 +BUILD_DEPENDS="e2fsprogs-dev zlib-dev bzip2-dev gettext lz4-dev xz-dev \
   17.22  lzo-dev libxml2-dev expat-dev attr-dev acl-dev nettle-dev openssl-dev"
   17.23 +SPLIT="libarchive-dev"
   17.24  
   17.25  # Rules to configure and make the package.
   17.26  compile_rules()
   17.27  {
   17.28 +	# http://www.linuxfromscratch.org/blfs/view/stable/general/libarchive.html
   17.29  	./configure \
   17.30  		--disable-static \
   17.31  		$CONFIGURE_ARGS &&
   17.32 @@ -27,5 +28,16 @@
   17.33  # Rules to gen a SliTaz package suitable for Tazpkg.
   17.34  genpkg_rules()
   17.35  {
   17.36 -	copy bin/ *.so*
   17.37 +	case $PACKAGE in
   17.38 +		libarchive)
   17.39 +			copy @std
   17.40 +			DEPENDS="acl attr bzlib libcrypto liblzma libxml2 lz4-lib lzo \
   17.41 +			nettle zlib"
   17.42 +			;;
   17.43 +		*-dev)
   17.44 +			copy @dev
   17.45 +			DEPENDS="libarchive acl-dev attr-dev bzip2-dev libcrypto-dev \
   17.46 +			libxml2-dev lz4-dev lzo-dev nettle-dev xz-dev zlib-dev"
   17.47 +			;;
   17.48 +	esac
   17.49  }
    18.1 --- a/libart_lgpl-dev/receipt	Wed Jul 19 14:10:52 2017 +0300
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,23 +0,0 @@
    18.4 -# SliTaz package receipt.
    18.5 -
    18.6 -PACKAGE="libart_lgpl-dev"
    18.7 -VERSION="2.3.21"
    18.8 -CATEGORY="development"
    18.9 -SHORT_DESC="Free libart devel file."
   18.10 -MAINTAINER="pankso@slitaz.org"
   18.11 -LICENSE="GPL2"
   18.12 -WANTED="libart_lgpl"
   18.13 -WEB_SITE="http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/"
   18.14 -
   18.15 -DEPENDS="libart_lgpl pkg-config"
   18.16 -
   18.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   18.18 -genpkg_rules()
   18.19 -{
   18.20 -	mkdir -p $fs/usr/lib
   18.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   18.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   18.23 -	cp -a $install/usr/bin $fs/usr
   18.24 -	cp -a $install/usr/include $fs/usr
   18.25 -}
   18.26 -
    19.1 --- a/libart_lgpl/receipt	Wed Jul 19 14:10:52 2017 +0300
    19.2 +++ b/libart_lgpl/receipt	Thu Jul 20 00:33:52 2017 +0300
    19.3 @@ -1,31 +1,33 @@
    19.4 -# SliTaz package receipt.
    19.5 +# SliTaz package receipt v2.
    19.6  
    19.7  PACKAGE="libart_lgpl"
    19.8  VERSION="2.3.21"
    19.9  CATEGORY="x-window"
   19.10 -SHORT_DESC="Free libart."
   19.11 +SHORT_DESC="A library for high-performance 2D graphics"
   19.12  MAINTAINER="pankso@slitaz.org"
   19.13  LICENSE="GPL2"
   19.14 +WEB_SITE="http://www.levien.com/libart/"
   19.15 +
   19.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   19.17 -WEB_SITE="http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/"
   19.18 -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
   19.19 +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/${VERSION%.*}/$TARBALL"
   19.20  
   19.21 -DEPENDS="glibc-base"
   19.22 +SPLIT="libart_lgpl-dev"
   19.23  
   19.24  # Rules to configure and make the package.
   19.25  compile_rules()
   19.26  {
   19.27 -	cd $src
   19.28 -	./configure --prefix=/usr --infodir=/usr/share/info \
   19.29 -	--mandir=/usr/share/man $CONFIGURE_ARGS
   19.30 -	make
   19.31 +	./configure \
   19.32 +		--disable-static \
   19.33 +		$CONFIGURE_ARGS &&
   19.34 +	make &&
   19.35  	make DESTDIR=$DESTDIR install
   19.36  }
   19.37  
   19.38  # Rules to gen a SliTaz package suitable for Tazpkg.
   19.39  genpkg_rules()
   19.40  {
   19.41 -	mkdir -p $fs/usr/lib
   19.42 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   19.43 +	case $PACKAGE in
   19.44 +		libart_lgpl) copy @std;;
   19.45 +		*-dev)       copy @dev;;
   19.46 +	esac
   19.47  }
   19.48 -
    20.1 --- a/libass-dev/receipt	Wed Jul 19 14:10:52 2017 +0300
    20.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.3 @@ -1,22 +0,0 @@
    20.4 -# SliTaz package receipt.
    20.5 -
    20.6 -PACKAGE="libass-dev"
    20.7 -VERSION="0.10.0"
    20.8 -CATEGORY="development"
    20.9 -SHORT_DESC="devel files for libass"
   20.10 -MAINTAINER="slaxemulator@gmail.com"
   20.11 -LICENSE="BSD"
   20.12 -WEB_SITE="http://code.google.com/p/libass/"
   20.13 -WANTED="libass"
   20.14 -
   20.15 -DEPENDS="libass pkg-config"
   20.16 -
   20.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   20.18 -genpkg_rules()
   20.19 -{
   20.20 -	mkdir -p $fs/usr/lib
   20.21 -	cp -a $install/usr/include $fs/usr
   20.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   20.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   20.24 -}
   20.25 -
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/libass/description.txt	Thu Jul 20 00:33:52 2017 +0300
    21.3 @@ -0,0 +1,3 @@
    21.4 +libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation
    21.5 +Alpha/Substation Alpha) subtitle format that allows for more advanced subtitles
    21.6 +than the conventional SRT and similar formats.
    22.1 --- a/libass/receipt	Wed Jul 19 14:10:52 2017 +0300
    22.2 +++ b/libass/receipt	Thu Jul 20 00:33:52 2017 +0300
    22.3 @@ -1,31 +1,40 @@
    22.4 -# SliTaz package receipt.
    22.5 +# SliTaz package receipt v2.
    22.6  
    22.7  PACKAGE="libass"
    22.8 -VERSION="0.10.0"
    22.9 +VERSION="0.13.6"
   22.10  CATEGORY="multimedia"
   22.11  SHORT_DESC="A portable library for SSA/ASS subtitles rendering"
   22.12  MAINTAINER="slaxemulator@gmail.com"
   22.13  LICENSE="BSD"
   22.14 +WEB_SITE="https://github.com/libass/libass"
   22.15 +
   22.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
   22.17 -WEB_SITE="http://code.google.com/p/libass/"
   22.18 -WGET_URL="http://libass.googlecode.com/files/$TARBALL"
   22.19 +WGET_URL="https://github.com/libass/libass/releases/download/$VERSION/$TARBALL"
   22.20  
   22.21 -DEPENDS="enca fontconfig libpng fribidi"
   22.22 -BUILD_DEPENDS="enca-dev freetype-dev fontconfig-dev libpng-dev \
   22.23 -expat-dev fribidi-dev pkg-config libxml2-dev"
   22.24 +BUILD_DEPENDS="yasm-dev freetype-dev fribidi-dev fontconfig-dev"
   22.25 +SPLIT="libass-dev"
   22.26  
   22.27  # Rules to configure and make the package.
   22.28  compile_rules()
   22.29  {
   22.30 -	cd $src
   22.31 -	./configure $CONFIGURE_ARGS &&
   22.32 -	make && make install
   22.33 +	# http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libass.html
   22.34 +	./configure $CONFIGURE_ARGS && make && make install
   22.35  }
   22.36  
   22.37  # Rules to gen a SliTaz package suitable for Tazpkg.
   22.38  genpkg_rules()
   22.39  {
   22.40 -	mkdir -p $fs/usr/lib
   22.41 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   22.42 +	case $PACKAGE in
   22.43 +		libass)
   22.44 +			copy @std
   22.45 +			DEPENDS="bzlib fontconfig freetype fribidi glib libharfbuzz \
   22.46 +			liblzma libpng16 libxml2 pcre zlib"
   22.47 +			;;
   22.48 +		*-dev)
   22.49 +			copy @dev
   22.50 +			DEPENDS="libass bzip2-dev fontconfig-dev freetype-dev fribidi-dev \
   22.51 +			glib-dev harfbuzz-dev libpng16-dev libxml2-dev pcre-dev xz-dev \
   22.52 +			zlib-dev"
   22.53 +			;;
   22.54 +	esac
   22.55  }
   22.56 -
    23.1 --- a/libbonoboui/receipt	Wed Jul 19 14:10:52 2017 +0300
    23.2 +++ b/libbonoboui/receipt	Thu Jul 20 00:33:52 2017 +0300
    23.3 @@ -14,7 +14,8 @@
    23.4  libbonobo"
    23.5  BUILD_DEPENDS="glib-dev gtk+-dev libgnome-dev libgnomecanvas-dev libglade-dev \
    23.6  GConf-dev alsa-lib-dev popt-dev libbonobo-dev util-linux-uuid-dev intltool \
    23.7 -dbus-glib-dev audiofile esound libffi"
    23.8 +dbus-glib-dev audiofile esound libffi xorg-libXinerama-dev xorg-libXrandr-dev \
    23.9 +xorg-libXcursor-dev xorg-libXcomposite-dev xorg-libXdamage-dev"
   23.10  
   23.11  # Rules to configure and make the package.
   23.12  compile_rules()
    24.1 --- a/libcddb-dev/receipt	Wed Jul 19 14:10:52 2017 +0300
    24.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.3 @@ -1,21 +0,0 @@
    24.4 -# SliTaz package receipt.
    24.5 -
    24.6 -PACKAGE="libcddb-dev"
    24.7 -VERSION="1.3.2"
    24.8 -CATEGORY="development"
    24.9 -SHORT_DESC="Devel CDDB file C library."
   24.10 -MAINTAINER="pankso@slitaz.org"
   24.11 -LICENSE="LGPL2"
   24.12 -WANTED="libcddb"
   24.13 -WEB_SITE="http://libcddb.sourceforge.net/"
   24.14 -
   24.15 -DEPENDS="libcddb pkg-config"
   24.16 -
   24.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   24.18 -genpkg_rules()
   24.19 -{
   24.20 -	mkdir -p $fs/usr/lib
   24.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   24.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   24.23 -	cp -a $install/usr/include $fs/usr
   24.24 -}
    25.1 --- a/libcddb-utils/receipt	Wed Jul 19 14:10:52 2017 +0300
    25.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.3 @@ -1,19 +0,0 @@
    25.4 -# SliTaz package receipt.
    25.5 -
    25.6 -PACKAGE="libcddb-utils"
    25.7 -VERSION="1.3.2"
    25.8 -CATEGORY="multimedia"
    25.9 -SHORT_DESC="libccdb utilities."
   25.10 -MAINTAINER="erjo@slitaz.org"
   25.11 -LICENSE="LGPL2"
   25.12 -WEB_SITE="http://libcddb.sourceforge.net/"
   25.13 -WANTED="libcddb"
   25.14 -
   25.15 -DEPENDS="libcddb libcdio"
   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
   25.21 -	cp -a $install/usr/bin $fs/usr
   25.22 -}
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/libcddb/description.txt	Thu Jul 20 00:33:52 2017 +0300
    26.3 @@ -0,0 +1,2 @@
    26.4 +The libcddb is a library that implements the different protocols (CDDBP, HTTP,
    26.5 +SMTP) to access data on a CDDB server.
    27.1 --- a/libcddb/receipt	Wed Jul 19 14:10:52 2017 +0300
    27.2 +++ b/libcddb/receipt	Thu Jul 20 00:33:52 2017 +0300
    27.3 @@ -1,31 +1,31 @@
    27.4 -# SliTaz package receipt.
    27.5 +# SliTaz package receipt v2.
    27.6  
    27.7  PACKAGE="libcddb"
    27.8  VERSION="1.3.2"
    27.9  CATEGORY="multimedia"
   27.10 -SHORT_DESC="C library to access data on a CDDB server (freedb.org)."
   27.11 +SHORT_DESC="C library to access data on a CDDB server freedb.org"
   27.12  MAINTAINER="pankso@slitaz.org"
   27.13  LICENSE="LGPL2"
   27.14 +WEB_SITE="http://libcddb.sourceforge.net/"
   27.15 +
   27.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   27.17 -WEB_SITE="http://libcddb.sourceforge.net/"
   27.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   27.19  
   27.20 +SPLIT="libcddb-utils libcddb-dev"
   27.21 +
   27.22  # Rules to configure and make the package.
   27.23  compile_rules()
   27.24  {
   27.25 -	cd $src
   27.26 -	./configure \
   27.27 -		--prefix=/usr \
   27.28 -		--infodir=/usr/share/info \
   27.29 -		--mandir=/usr/share/man \
   27.30 -		$CONFIGURE_ARGS &&
   27.31 -	make &&
   27.32 -	make DESTDIR=$DESTDIR install
   27.33 +	# http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libcddb.html
   27.34 +	./configure $CONFIGURE_ARGS && make && make install
   27.35  }
   27.36  
   27.37  # Rules to gen a SliTaz package suitable for Tazpkg.
   27.38  genpkg_rules()
   27.39  {
   27.40 -	mkdir -p $fs/usr/lib
   27.41 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   27.42 +	case $PACKAGE in
   27.43 +		libcddb) copy *.so*;;
   27.44 +		*-utils) copy bin/; CAT="multimedia|utilities";;
   27.45 +		*-dev)   copy @dev;;
   27.46 +	esac
   27.47  }
    28.1 --- a/libcdio-dev/receipt	Wed Jul 19 14:10:52 2017 +0300
    28.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.3 @@ -1,21 +0,0 @@
    28.4 -# SliTaz package receipt.
    28.5 -
    28.6 -PACKAGE="libcdio-dev"
    28.7 -VERSION="0.83"
    28.8 -CATEGORY="development"
    28.9 -SHORT_DESC="GNU Compact Disc Input and Control Library"
   28.10 -MAINTAINER="rj.rohit@gmail.com"
   28.11 -LICENSE="GPL3"
   28.12 -WANTED="libcdio"
   28.13 -WEB_SITE="http://www.gnu.org/software/libcdio/"
   28.14 -
   28.15 -DEPENDS="libcdio pkg-config"
   28.16 -
   28.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   28.18 -genpkg_rules()
   28.19 -{
   28.20 -	mkdir -p $fs/usr/lib/pkgconfig
   28.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   28.22 -	cp -a $install/usr/include $fs/usr
   28.23 -	find $src -name '*.pc' -exec cp -a {} $fs/usr/lib/pkgconfig \;
   28.24 -}
    29.1 --- a/libcdio-utils/receipt	Wed Jul 19 14:10:52 2017 +0300
    29.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.3 @@ -1,18 +0,0 @@
    29.4 -# SliTaz package receipt.
    29.5 -
    29.6 -PACKAGE="libcdio-utils"
    29.7 -VERSION="0.83"
    29.8 -CATEGORY="multimedia"
    29.9 -SHORT_DESC="Utilities supplied with libcdio"
   29.10 -DEPENDS="libcddb libcdio ncurses"
   29.11 -MAINTAINER="rj.rohit@gmail.com"
   29.12 -LICENSE="GPL3"
   29.13 -WANTED="libcdio"
   29.14 -WEB_SITE="http://www.gnu.org/software/libcdio/" 
   29.15 -
   29.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
   29.17 -genpkg_rules()
   29.18 -{
   29.19 -	mkdir -p $fs/usr
   29.20 -	cp -a $install/usr/bin $fs/usr
   29.21 -}
    30.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.2 +++ b/libcdio/description.txt	Thu Jul 20 00:33:52 2017 +0300
    30.3 @@ -0,0 +1,1 @@
    30.4 +The libcdio is a library for CD-ROM and CD image access.
    31.1 --- a/libcdio/receipt	Wed Jul 19 14:10:52 2017 +0300
    31.2 +++ b/libcdio/receipt	Thu Jul 20 00:33:52 2017 +0300
    31.3 @@ -1,34 +1,32 @@
    31.4 -# SliTaz package receipt.
    31.5 +# SliTaz package receipt v2.
    31.6  
    31.7  PACKAGE="libcdio"
    31.8 -VERSION="0.83"
    31.9 +VERSION="0.94"
   31.10  CATEGORY="multimedia"
   31.11  SHORT_DESC="GNU Compact Disc Input and Control Library"
   31.12  MAINTAINER="rj.rohit@gmail.com"
   31.13  LICENSE="GPL3"
   31.14 +WEB_SITE="http://www.gnu.org/software/libcdio/" 
   31.15 +
   31.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   31.17 -WEB_SITE="http://www.gnu.org/software/libcdio/" 
   31.18  WGET_URL="http://ftp.gnu.org/gnu/libcdio/$TARBALL"
   31.19  
   31.20 -DEPENDS="libcddb ncurses gcc-lib-base"
   31.21 -BUILD_DEPENDS="libcddb libcddb-dev ncurses-dev gcc-lib-base"
   31.22 +BUILD_DEPENDS="perl libcddb-dev ncurses-dev"
   31.23 +SPLIT="libcdio-utils libcdio-dev"
   31.24  
   31.25  # Rules to configure and make the package.
   31.26  compile_rules()
   31.27  {
   31.28 -#	export LDFLAGS="$LDFLAGS -ltinfo"
   31.29 -	grep -qs 'define u8' lib/driver/gnu_linux.c ||
   31.30 -	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
   31.31 -		lib/driver/gnu_linux.c
   31.32 -	./configure --prefix=/usr --disable-vcd-info \
   31.33 -		$CONFIGURE_ARGS &&
   31.34 -	make &&
   31.35 -	make DESTDIR=$DESTDIR install
   31.36 +	# http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libcdio.html
   31.37 +	./configure $CONFIGURE_ARGS && make && make install
   31.38  }
   31.39  
   31.40  # Rules to gen a SliTaz package suitable for Tazpkg.
   31.41  genpkg_rules()
   31.42  {
   31.43 -	mkdir -p $fs/usr/lib
   31.44 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   31.45 +	case $PACKAGE in
   31.46 +		libcdio) copy *.so*;;
   31.47 +		*-utils) copy bin/; DEPENDS="libcdio libcddb ncurses";;
   31.48 +		*-dev)   copy @dev;;
   31.49 +	esac
   31.50  }
    32.1 --- a/libconfig-dev/receipt	Wed Jul 19 14:10:52 2017 +0300
    32.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.3 @@ -1,21 +0,0 @@
    32.4 -# SliTaz package receipt.
    32.5 -
    32.6 -PACKAGE="libconfig-dev"
    32.7 -VERSION="1.4.8"
    32.8 -CATEGORY="development"
    32.9 -SHORT_DESC="C/C++ Configuration File Library, development files"
   32.10 -MAINTAINER="pascal.bellard@slitaz.org"
   32.11 -LICENSE="LGPL2.1"
   32.12 -WEB_SITE="http://www.hyperrealm.com/libconfig/"
   32.13 -WANTED="libconfig"
   32.14 -
   32.15 -DEPENDS="libconfig pkg-config"
   32.16 -
   32.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   32.18 -genpkg_rules()
   32.19 -{
   32.20 -	mkdir -p $fs/usr/lib
   32.21 -	cp -a $install/usr/include $fs/usr
   32.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
   32.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   32.24 -}
    33.1 --- a/libconfig/receipt	Wed Jul 19 14:10:52 2017 +0300
    33.2 +++ b/libconfig/receipt	Thu Jul 20 00:33:52 2017 +0300
    33.3 @@ -1,33 +1,33 @@
    33.4 -# SliTaz package receipt.
    33.5 +# SliTaz package receipt v2.
    33.6  
    33.7  PACKAGE="libconfig"
    33.8 -VERSION="1.4.8"
    33.9 +VERSION="1.6"
   33.10  CATEGORY="misc"
   33.11  SHORT_DESC="C/C++ Configuration File Library"
   33.12  MAINTAINER="pascal.bellard@slitaz.org"
   33.13  LICENSE="LGPL2.1"
   33.14 +WEB_SITE="http://hyperrealm.com/libconfig/libconfig.html"
   33.15 +
   33.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   33.17 -WEB_SITE="http://www.hyperrealm.com/libconfig/"
   33.18 -WGET_URL="$WEB_SITE$TARBALL"
   33.19 +WGET_URL="https://github.com/hyperrealm/libconfig/archive/v$VERSION.tar.gz"
   33.20  
   33.21 -BUILD_DEPENDS=""
   33.22 -DEPENDS=""
   33.23 +BUILD_DEPENDS="texinfo"
   33.24 +SPLIT="libconfig-dev"
   33.25  
   33.26  # Rules to configure and make the package.
   33.27  compile_rules()
   33.28  {
   33.29 -	cd $src
   33.30 -	./configure --prefix=/usr --infodir=/usr/share/info \
   33.31 -	--mandir=/usr/share/man \
   33.32 -	--disable-cxx \
   33.33 -	$CONFIGURE_ARGS &&
   33.34 -	make &&
   33.35 -	make DESTDIR=$DESTDIR -j 1 install
   33.36 +	# See: https://github.com/hyperrealm/libconfig/issues/47
   33.37 +	rm lib/scanner.c
   33.38 +
   33.39 +	./configure $CONFIGURE_ARGS && make && make install
   33.40  }
   33.41  
   33.42  # Rules to gen a SliTaz package suitable for Tazpkg.
   33.43  genpkg_rules()
   33.44  {
   33.45 -	mkdir -p $fs/usr/lib
   33.46 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   33.47 +	case $PACKAGE in
   33.48 +		libconfig) copy @std;;
   33.49 +		*-dev)     copy @dev;;
   33.50 +	esac
   33.51  }
    34.1 --- a/libcroco-dev/receipt	Wed Jul 19 14:10:52 2017 +0300
    34.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.3 @@ -1,19 +0,0 @@
    34.4 -# SliTaz package receipt.
    34.5 -
    34.6 -PACKAGE="libcroco-dev"
    34.7 -VERSION="0.6.11"
    34.8 -CATEGORY="development"
    34.9 -SHORT_DESC="Libcroco devel files."
   34.10 -MAINTAINER="pankso@slitaz.org"
   34.11 -LICENSE="LGPL2"
   34.12 -WEB_SITE="https://developer.gnome.org/libcroco/"
   34.13 -HOST_ARCH="i486 arm"
   34.14 -
   34.15 -WANTED="libcroco"
   34.16 -DEPENDS="libcroco pkg-config glib-dev libxml2-dev"
   34.17 -
   34.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   34.19 -genpkg_rules()
   34.20 -{
   34.21 -	copy croco-*-config *.h *.la *.pc
   34.22 -}
    35.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.2 +++ b/libcroco/description.txt	Thu Jul 20 00:33:52 2017 +0300
    35.3 @@ -0,0 +1,2 @@
    35.4 +The libcroco package contains a standalone CSS2 parsing and manipulation
    35.5 +library.
    36.1 --- a/libcroco/receipt	Wed Jul 19 14:10:52 2017 +0300
    36.2 +++ b/libcroco/receipt	Thu Jul 20 00:33:52 2017 +0300
    36.3 @@ -1,23 +1,24 @@
    36.4 -# SliTaz package receipt.
    36.5 +# SliTaz package receipt v2.
    36.6  
    36.7  PACKAGE="libcroco"
    36.8  VERSION="0.6.11"
    36.9  CATEGORY="system-tools"
   36.10 -SHORT_DESC="Cascading Style Sheet (CSS) parsing and manipulation toolkit."
   36.11 +SHORT_DESC="Cascading Style Sheet (CSS) parsing and manipulation toolkit"
   36.12  MAINTAINER="pankso@slitaz.org"
   36.13  LICENSE="LGPL2"
   36.14  WEB_SITE="https://developer.gnome.org/libcroco/"
   36.15  HOST_ARCH="i486 arm"
   36.16  
   36.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
   36.18 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:3}/$TARBALL"
   36.19 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   36.20  
   36.21 -DEPENDS="glib liblzma libxml2 pcre zlib"
   36.22  BUILD_DEPENDS="libxml2-dev glib-dev zlib-dev gtk-doc"
   36.23 +SPLIT="libcroco-dev"
   36.24  
   36.25  # Rules to configure and make the package.
   36.26  compile_rules()
   36.27  {
   36.28 +	# http://www.linuxfromscratch.org/blfs/view/stable/general/libcroco.html
   36.29  	./configure \
   36.30  		--disable-static \
   36.31  		$CONFIGURE_ARGS &&
   36.32 @@ -28,5 +29,14 @@
   36.33  # Rules to gen a SliTaz package suitable for Tazpkg.
   36.34  genpkg_rules()
   36.35  {
   36.36 -	copy csslint-${VERSION%.*} *.so*
   36.37 +	case $PACKAGE in
   36.38 +		libcroco)
   36.39 +			copy @std
   36.40 +			DEPENDS="glib liblzma libxml2 pcre zlib"
   36.41 +			;;
   36.42 +		*-dev)
   36.43 +			copy @dev
   36.44 +			DEPENDS="libcroco glib-dev libxml2-dev pcre-dev xz-dev zlib-dev"
   36.45 +			;;
   36.46 +	esac
   36.47  }
    37.1 --- a/libcss-dev/receipt	Wed Jul 19 14:10:52 2017 +0300
    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="libcss-dev"
    37.7 -VERSION="0.1.2"
    37.8 -CATEGORY="development"
    37.9 -SHORT_DESC="CSS Parser"
   37.10 -MAINTAINER="erjo@slitaz.org"
   37.11 -LICENSE="MIT"
   37.12 -WANTED="libcss"
   37.13 -WEB_SITE="http://www.netsurf-browser.org/projects/libcss/"
   37.14 -
   37.15 -DEPENDS="libcss 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
   37.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   37.22 -	cp -a $install/usr/lib/pkgconfig  $fs/usr/lib
   37.23 -	cp -a $install/usr/include  $fs/usr
   37.24 -}
    38.1 --- a/libcss/receipt	Wed Jul 19 14:10:52 2017 +0300
    38.2 +++ b/libcss/receipt	Thu Jul 20 00:33:52 2017 +0300
    38.3 @@ -1,30 +1,42 @@
    38.4 -# SliTaz package receipt.
    38.5 +# SliTaz package receipt v2.
    38.6  
    38.7  PACKAGE="libcss"
    38.8 -VERSION="0.1.2"
    38.9 +VERSION="0.6.1"
   38.10  CATEGORY="system-tools"
   38.11 -SHORT_DESC="CSS Parser"
   38.12 +SHORT_DESC="CSS parser and selection engine"
   38.13  MAINTAINER="erjo@slitaz.org"
   38.14  LICENSE="MIT"
   38.15  WEB_SITE="http://www.netsurf-browser.org/projects/libcss/"
   38.16 +#HOST_ARCH="i486 arm"
   38.17 +
   38.18  TARBALL="$PACKAGE-$VERSION-src.tar.gz"
   38.19  WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL"
   38.20 -#HOST_ARCH="i486 arm"
   38.21  
   38.22 -DEPENDS="libparserutils libwapcaplet"
   38.23 -BUILD_DEPENDS="libwapcaplet-dev libparserutils-dev"
   38.24 +BUILD_DEPENDS="netsurf-buildsystem libwapcaplet-dev libparserutils-dev"
   38.25 +SPLIT="libcss-dev"
   38.26  
   38.27  # Rules to configure and make the package.
   38.28  compile_rules()
   38.29  {
   38.30 -	make COMPONENT_TYPE=lib-shared && 
   38.31 -	make PREFIX=/usr DESTDIR=$DESTDIR install
   38.32 +	sed 's:_BSD_SOURCE:_DEFAULT_SOURCE:' -i Makefile &&
   38.33 +	export CFLAGS="-Wno-error=unused-but-set-variable" &&
   38.34 +
   38.35 +	make INCLUDEDIR=include LIBDIR=lib PREFIX=/usr COMPONENT_TYPE="lib-shared" &&
   38.36 +	make INCLUDEDIR=include LIBDIR=lib PREFIX=/usr COMPONENT_TYPE="lib-shared" \
   38.37 +		DESTDIR="$install" install
   38.38  }
   38.39  
   38.40  # Rules to gen a SliTaz package suitable for Tazpkg.
   38.41  genpkg_rules()
   38.42  {
   38.43 -	mkdir -p $fs/usr/lib
   38.44 -	cp -a $src/*-lib-shared/*.so*  $fs/usr/lib
   38.45 +	case $PACKAGE in
   38.46 +		libcss)
   38.47 +			copy @std
   38.48 +			DEPENDS="libparserutils libwapcaplet"
   38.49 +			;;
   38.50 +		*-dev)
   38.51 +			copy @dev
   38.52 +			DEPENDS="libcss libparserutils-dev libwapcaplet-dev"
   38.53 +			;;
   38.54 +	esac
   38.55  }
   38.56 -
    39.1 --- a/libparserutils-dev/receipt	Wed Jul 19 14:10:52 2017 +0300
    39.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    39.3 @@ -1,22 +0,0 @@
    39.4 -# SliTaz package receipt.
    39.5 -
    39.6 -PACKAGE="libparserutils-dev"
    39.7 -VERSION="0.1.1"
    39.8 -CATEGORY="development"
    39.9 -SHORT_DESC="The libparserutils devel files."
   39.10 -MAINTAINER="pankso@slitaz.org"
   39.11 -LICENSE="MIT"
   39.12 -WANTED="libparserutils"
   39.13 -WEB_SITE="http://www.netsurf-browser.org/projects/libparserutils/"
   39.14 -HOST_ARCH="i486 arm"
   39.15 -
   39.16 -DEPENDS="pkg-config"
   39.17 -
   39.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   39.19 -genpkg_rules()
   39.20 -{
   39.21 -	mkdir -p $fs/usr/lib
   39.22 -	cp -a $install/usr/include $fs/usr
   39.23 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   39.24 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   39.25 -}
    40.1 --- a/libparserutils/receipt	Wed Jul 19 14:10:52 2017 +0300
    40.2 +++ b/libparserutils/receipt	Thu Jul 20 00:33:52 2017 +0300
    40.3 @@ -1,26 +1,34 @@
    40.4 -# SliTaz package receipt.
    40.5 +# SliTaz package receipt v2.
    40.6  
    40.7  PACKAGE="libparserutils"
    40.8 -VERSION="0.1.1"
    40.9 +VERSION="0.2.3"
   40.10  CATEGORY="system-tools"
   40.11 -SHORT_DESC="Various pieces of functionality that are useful for parsers."
   40.12 +SHORT_DESC="Library for building efficient parsers"
   40.13  MAINTAINER="pankso@slitaz.org"
   40.14  LICENSE="MIT"
   40.15  WEB_SITE="http://www.netsurf-browser.org/projects/libparserutils/"
   40.16 +HOST_ARCH="i486 arm"
   40.17 +
   40.18  TARBALL="$PACKAGE-$VERSION-src.tar.gz"
   40.19  WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL"
   40.20 -HOST_ARCH="i486 arm"
   40.21 +
   40.22 +BUILD_DEPENDS="netsurf-buildsystem"
   40.23 +SPLIT="libparserutils-dev"
   40.24  
   40.25  # Rules to configure and make the package.
   40.26  compile_rules()
   40.27  {
   40.28 -	make install DESTDIR=$DESTDIR PREFIX=/usr &&
   40.29 -	make install COMPONENT_TYPE=lib-shared DESTDIR=$DESTDIR PREFIX=/usr 
   40.30 +	sed -i 's|_BSD_SOURCE|_DEFAULT_SOURCE|' Makefile &&
   40.31 +	make INCLUDEDIR=include LIBDIR=lib PREFIX=/usr COMPONENT_TYPE="lib-shared" &&
   40.32 +	make INCLUDEDIR=include LIBDIR=lib PREFIX=/usr COMPONENT_TYPE="lib-shared" \
   40.33 +		DESTDIR="$install" install
   40.34  }
   40.35  
   40.36  # Rules to gen a SliTaz package suitable for Tazpkg.
   40.37  genpkg_rules()
   40.38  {
   40.39 -	mkdir -p $fs/usr/lib
   40.40 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   40.41 +	case $PACKAGE in
   40.42 +		libparserutils) copy @std;;
   40.43 +		*-dev)          copy @dev;;
   40.44 +	esac
   40.45  }
    41.1 --- a/libwapcaplet-dev/receipt	Wed Jul 19 14:10:52 2017 +0300
    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="libwapcaplet-dev"
    41.7 -VERSION="0.1.1"
    41.8 -CATEGORY="development"
    41.9 -SHORT_DESC="String internment library dev files"
   41.10 -MAINTAINER="erjo@slitaz.org"
   41.11 -LICENSE="MIT"
   41.12 -WANTED="libwapcaplet"
   41.13 -WEB_SITE="http://www.netsurf-browser.org/projects/libwapcaplet/"
   41.14 -HOST_ARCH="i486 arm"
   41.15 -
   41.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
   41.17 -genpkg_rules()
   41.18 -{
   41.19 -	mkdir -p $fs/usr/lib
   41.20 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   41.21 -	cp -a $install/usr/lib/pkgconfig  $fs/usr/lib
   41.22 -	cp -a $install/usr/include  $fs/usr
   41.23 -}
   41.24 -
   41.25 -
    42.1 --- a/libwapcaplet/receipt	Wed Jul 19 14:10:52 2017 +0300
    42.2 +++ b/libwapcaplet/receipt	Thu Jul 20 00:33:52 2017 +0300
    42.3 @@ -1,27 +1,41 @@
    42.4 -# SliTaz package receipt.
    42.5 +# SliTaz package receipt v2.
    42.6  
    42.7  PACKAGE="libwapcaplet"
    42.8 -VERSION="0.1.1"
    42.9 +VERSION="0.4.0"
   42.10  CATEGORY="system-tools"
   42.11 -SHORT_DESC="String internment library"
   42.12 +SHORT_DESC="String internment library with rapid string comparison"
   42.13  MAINTAINER="erjo@slitaz.org"
   42.14  LICENSE="MIT"
   42.15 +WEB_SITE="http://www.netsurf-browser.org/projects/libwapcaplet/"
   42.16 +HOST_ARCH="i486 arm"
   42.17 +
   42.18  TARBALL="$PACKAGE-$VERSION-src.tar.gz"
   42.19 -WEB_SITE="http://www.netsurf-browser.org/projects/libwapcaplet/"
   42.20  WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL"
   42.21 -HOST_ARCH="i486 arm"
   42.22 +
   42.23 +BUILD_DEPENDS="netsurf-buildsystem"
   42.24 +SPLIT="libwapcaplet-dev"
   42.25  
   42.26  # Rules to configure and make the package.
   42.27  compile_rules()
   42.28  {
   42.29 -	make COMPONENT_TYPE=lib-shared && 
   42.30 -	make PREFIX=/usr DESTDIR=$DESTDIR install
   42.31 +	sed -i 's|_BSD_SOURCE|_DEFAULT_SOURCE|' Makefile &&
   42.32 +
   42.33 +	make \
   42.34 +		PREFIX=/usr \
   42.35 +		COMPONENT_TYPE="lib-shared" &&
   42.36 +	make install \
   42.37 +		INCLUDEDIR=include \
   42.38 +		LIBDIR=lib \
   42.39 +		PREFIX=/usr \
   42.40 +		DESTDIR="$install" \
   42.41 +		COMPONENT_TYPE="lib-shared"
   42.42  }
   42.43  
   42.44  # Rules to gen a SliTaz package suitable for Tazpkg.
   42.45  genpkg_rules()
   42.46  {
   42.47 -	mkdir -p $fs/usr/lib
   42.48 -	cp -a $src/*-lib-shared/*.so*  $fs/usr/lib
   42.49 +	case $PACKAGE in
   42.50 +		libwapcaplet) copy @std;;
   42.51 +		*-dev)        copy @dev;;
   42.52 +	esac
   42.53  }
   42.54 -
    43.1 --- a/locale-ar-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    43.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    43.3 @@ -1,23 +0,0 @@
    43.4 -# SliTaz package receipt
    43.5 -
    43.6 -PACKAGE="locale-ar-extra"
    43.7 -VERSION="5.0"
    43.8 -CATEGORY="localization"
    43.9 -SHORT_DESC="Extra Arabic locale pack (with GIMP, MPlayer, Xine)"
   43.10 -MAINTAINER="al.bobylev@gmail.com"
   43.11 -LICENSE="GPL3"
   43.12 -WEB_SITE="http://www.slitaz.org/"
   43.13 -DEPENDS="locale-ar"
   43.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   43.15 -WANTED="slitaz-i18n-extra"
   43.16 -
   43.17 -LOCALE="ar"
   43.18 -
   43.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   43.20 -genpkg_rules()
   43.21 -{
   43.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   43.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   43.24 -	mk_locale_dir
   43.25 -	get_extra_messages
   43.26 -}
    44.1 --- a/locale-ca-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    44.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    44.3 @@ -1,23 +0,0 @@
    44.4 -# SliTaz package receipt
    44.5 -
    44.6 -PACKAGE="locale-ca-extra"
    44.7 -VERSION="5.0"
    44.8 -CATEGORY="localization"
    44.9 -SHORT_DESC="Extra Catalan locale pack (with GIMP, MPlayer, Xine)"
   44.10 -MAINTAINER="al.bobylev@gmail.com"
   44.11 -LICENSE="GPL3"
   44.12 -WEB_SITE="http://www.slitaz.org/"
   44.13 -DEPENDS="locale-ca"
   44.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   44.15 -WANTED="slitaz-i18n-extra"
   44.16 -
   44.17 -LOCALE="ca"
   44.18 -
   44.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   44.20 -genpkg_rules()
   44.21 -{
   44.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   44.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   44.24 -	mk_locale_dir
   44.25 -	get_extra_messages
   44.26 -}
    45.1 --- a/locale-cs-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    45.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    45.3 @@ -1,23 +0,0 @@
    45.4 -# SliTaz package receipt
    45.5 -
    45.6 -PACKAGE="locale-cs-extra"
    45.7 -VERSION="5.0"
    45.8 -CATEGORY="localization"
    45.9 -SHORT_DESC="Extra Czech locale pack (with GIMP, MPlayer, Xine)"
   45.10 -MAINTAINER="al.bobylev@gmail.com"
   45.11 -LICENSE="GPL3"
   45.12 -WEB_SITE="http://www.slitaz.org/"
   45.13 -DEPENDS="locale-cs"
   45.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   45.15 -WANTED="slitaz-i18n-extra"
   45.16 -
   45.17 -LOCALE="cs"
   45.18 -
   45.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   45.20 -genpkg_rules()
   45.21 -{
   45.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   45.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   45.24 -	mk_locale_dir
   45.25 -	get_extra_messages
   45.26 -}
    46.1 --- a/locale-da-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    46.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    46.3 @@ -1,23 +0,0 @@
    46.4 -# SliTaz package receipt
    46.5 -
    46.6 -PACKAGE="locale-da-extra"
    46.7 -VERSION="5.0"
    46.8 -CATEGORY="localization"
    46.9 -SHORT_DESC="Extra Danish locale pack (with GIMP, MPlayer, Xine)"
   46.10 -MAINTAINER="al.bobylev@gmail.com"
   46.11 -LICENSE="GPL3"
   46.12 -WEB_SITE="http://www.slitaz.org/"
   46.13 -DEPENDS="locale-da"
   46.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   46.15 -WANTED="slitaz-i18n-extra"
   46.16 -
   46.17 -LOCALE="da"
   46.18 -
   46.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   46.20 -genpkg_rules()
   46.21 -{
   46.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   46.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   46.24 -	mk_locale_dir
   46.25 -	get_extra_messages
   46.26 -}
    47.1 --- a/locale-de-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    47.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    47.3 @@ -1,21 +0,0 @@
    47.4 -# SliTaz package receipt
    47.5 -
    47.6 -PACKAGE="locale-de-extra"
    47.7 -VERSION="5.0"
    47.8 -CATEGORY="localization"
    47.9 -SHORT_DESC="German extra locale pack."
   47.10 -MAINTAINER="pankso@slitaz.org"
   47.11 -LICENSE="GPL3"
   47.12 -WEB_SITE="http://www.slitaz.org/"
   47.13 -WANTED="slitaz-i18n-extra"
   47.14 -
   47.15 -LOCALE="de"
   47.16 -
   47.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   47.18 -genpkg_rules()
   47.19 -{
   47.20 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   47.21 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   47.22 -	mk_locale_dir
   47.23 -	get_extra_messages
   47.24 -}
    48.1 --- a/locale-el-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    48.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    48.3 @@ -1,23 +0,0 @@
    48.4 -# SliTaz package receipt
    48.5 -
    48.6 -PACKAGE="locale-el-extra"
    48.7 -VERSION="5.0"
    48.8 -CATEGORY="localization"
    48.9 -SHORT_DESC="Extra Greek locale pack (with GIMP, MPlayer, Xine)"
   48.10 -MAINTAINER="al.bobylev@gmail.com"
   48.11 -LICENSE="GPL3"
   48.12 -WEB_SITE="http://www.slitaz.org/"
   48.13 -DEPENDS="locale-el"
   48.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   48.15 -WANTED="slitaz-i18n-extra"
   48.16 -
   48.17 -LOCALE="el"
   48.18 -
   48.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   48.20 -genpkg_rules()
   48.21 -{
   48.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   48.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   48.24 -	mk_locale_dir
   48.25 -	get_extra_messages
   48.26 -}
    49.1 --- a/locale-es-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    49.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    49.3 @@ -1,23 +0,0 @@
    49.4 -# SliTaz package receipt
    49.5 -
    49.6 -PACKAGE="locale-es-extra"
    49.7 -VERSION="5.0"
    49.8 -CATEGORY="localization"
    49.9 -SHORT_DESC="Spanish extra locale pack."
   49.10 -MAINTAINER="pankso@slitaz.org"
   49.11 -LICENSE="GPL3"
   49.12 -WEB_SITE="http://www.slitaz.org/"
   49.13 -DEPENDS="locale-es"
   49.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   49.15 -WANTED="slitaz-i18n-extra"
   49.16 -
   49.17 -LOCALE="es"
   49.18 -
   49.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   49.20 -genpkg_rules()
   49.21 -{
   49.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   49.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   49.24 -	mk_locale_dir
   49.25 -	get_extra_messages
   49.26 -}
    50.1 --- a/locale-fr-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    50.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    50.3 @@ -1,23 +0,0 @@
    50.4 -# SliTaz package receipt
    50.5 -
    50.6 -PACKAGE="locale-fr-extra"
    50.7 -VERSION="5.0"
    50.8 -CATEGORY="localization"
    50.9 -SHORT_DESC="Extra French locale pack (with Gimp, Mplayer, Xine)"
   50.10 -MAINTAINER="pankso@slitaz.org"
   50.11 -LICENSE="GPL3"
   50.12 -WEB_SITE="http://www.slitaz.org/"
   50.13 -DEPENDS="locale-fr"
   50.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   50.15 -WANTED="slitaz-i18n-extra"
   50.16 -
   50.17 -LOCALE="fr"
   50.18 -
   50.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   50.20 -genpkg_rules()
   50.21 -{
   50.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   50.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   50.24 -	mk_locale_dir
   50.25 -	get_extra_messages
   50.26 -}
    51.1 --- a/locale-hu-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    51.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    51.3 @@ -1,23 +0,0 @@
    51.4 -# SliTaz package receipt
    51.5 -
    51.6 -PACKAGE="locale-hu-extra"
    51.7 -VERSION="5.0"
    51.8 -CATEGORY="localization"
    51.9 -SHORT_DESC="Extra Hungarian locale pack (with GIMP, MPlayer, Xine)"
   51.10 -MAINTAINER="al.bobylev@gmail.com"
   51.11 -LICENSE="GPL3"
   51.12 -WEB_SITE="http://www.slitaz.org/"
   51.13 -DEPENDS="locale-hu"
   51.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   51.15 -WANTED="slitaz-i18n-extra"
   51.16 -
   51.17 -LOCALE="hu"
   51.18 -
   51.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   51.20 -genpkg_rules()
   51.21 -{
   51.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   51.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   51.24 -	mk_locale_dir
   51.25 -	get_extra_messages
   51.26 -}
    52.1 --- a/locale-id-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    52.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    52.3 @@ -1,23 +0,0 @@
    52.4 -# SliTaz package receipt
    52.5 -
    52.6 -PACKAGE="locale-id-extra"
    52.7 -VERSION="5.0"
    52.8 -CATEGORY="localization"
    52.9 -SHORT_DESC="Extra Indonesian locale pack (with GIMP, MPlayer, Xine)"
   52.10 -MAINTAINER="al.bobylev@gmail.com"
   52.11 -LICENSE="GPL3"
   52.12 -WEB_SITE="http://www.slitaz.org/"
   52.13 -DEPENDS="locale-id"
   52.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   52.15 -WANTED="slitaz-i18n-extra"
   52.16 -
   52.17 -LOCALE="id"
   52.18 -
   52.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   52.20 -genpkg_rules()
   52.21 -{
   52.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   52.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   52.24 -	mk_locale_dir
   52.25 -	get_extra_messages
   52.26 -}
    53.1 --- a/locale-it-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    53.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    53.3 @@ -1,23 +0,0 @@
    53.4 -# SliTaz package receipt
    53.5 -
    53.6 -PACKAGE="locale-it-extra"
    53.7 -VERSION="5.0"
    53.8 -CATEGORY="localization"
    53.9 -SHORT_DESC="Italian extra locale pack."
   53.10 -MAINTAINER="pankso@slitaz.org"
   53.11 -LICENSE="GPL3"
   53.12 -DEPENDS="glibc-base"
   53.13 -BUILD_DEPENDS="slitaz-i18n-extra"
   53.14 -WEB_SITE="http://www.slitaz.org/"
   53.15 -WANTED="slitaz-i18n-extra"
   53.16 -
   53.17 -LOCALE="it"
   53.18 -
   53.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   53.20 -genpkg_rules()
   53.21 -{
   53.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   53.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   53.24 -	mk_locale_dir
   53.25 -	get_extra_messages
   53.26 -}
    54.1 --- a/locale-pl-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    54.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    54.3 @@ -1,23 +0,0 @@
    54.4 -# SliTaz package receipt
    54.5 -
    54.6 -PACKAGE="locale-pl-extra"
    54.7 -VERSION="5.0"
    54.8 -CATEGORY="localization"
    54.9 -SHORT_DESC="Extra Polish locale pack (with GIMP, MPlayer, Xine)"
   54.10 -MAINTAINER="al.bobylev@gmail.com"
   54.11 -LICENSE="GPL3"
   54.12 -WEB_SITE="http://www.slitaz.org/"
   54.13 -DEPENDS="locale-pl"
   54.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   54.15 -WANTED="slitaz-i18n-extra"
   54.16 -
   54.17 -LOCALE="pl"
   54.18 -
   54.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   54.20 -genpkg_rules()
   54.21 -{
   54.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   54.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   54.24 -	mk_locale_dir
   54.25 -	get_extra_messages
   54.26 -}
    55.1 --- a/locale-pt-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    55.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    55.3 @@ -1,23 +0,0 @@
    55.4 -# SliTaz package receipt
    55.5 -
    55.6 -PACKAGE="locale-pt-extra"
    55.7 -VERSION="5.0"
    55.8 -CATEGORY="localization"
    55.9 -SHORT_DESC="Extra Portuguese locale pack (with GIMP, MPlayer, Xine)"
   55.10 -MAINTAINER="al.bobylev@gmail.com"
   55.11 -LICENSE="GPL3"
   55.12 -WEB_SITE="http://www.slitaz.org/"
   55.13 -DEPENDS="locale-pt"
   55.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   55.15 -WANTED="slitaz-i18n-extra"
   55.16 -
   55.17 -LOCALE="pt"
   55.18 -
   55.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   55.20 -genpkg_rules()
   55.21 -{
   55.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   55.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   55.24 -	mk_locale_dir
   55.25 -	get_extra_messages
   55.26 -}
    56.1 --- a/locale-pt_BR-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    56.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    56.3 @@ -1,23 +0,0 @@
    56.4 -# SliTaz package receipt
    56.5 -
    56.6 -PACKAGE="locale-pt_BR-extra"
    56.7 -VERSION="5.0"
    56.8 -CATEGORY="localization"
    56.9 -SHORT_DESC="Portuguese/Brazilian extra locale pack."
   56.10 -MAINTAINER="pankso@slitaz.org"
   56.11 -LICENSE="GPL3"
   56.12 -WEB_SITE="http://www.slitaz.org/"
   56.13 -DEPENDS="locale-pt"
   56.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   56.15 -WANTED="slitaz-i18n-extra"
   56.16 -
   56.17 -LOCALE="pt_BR"
   56.18 -
   56.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   56.20 -genpkg_rules()
   56.21 -{
   56.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   56.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   56.24 -	mk_locale_dir
   56.25 -	get_extra_messages
   56.26 -}
    57.1 --- a/locale-ru-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    57.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    57.3 @@ -1,23 +0,0 @@
    57.4 -# SliTaz package receipt
    57.5 -
    57.6 -PACKAGE="locale-ru-extra"
    57.7 -VERSION="5.0"
    57.8 -CATEGORY="localization"
    57.9 -SHORT_DESC="Russian extra locale pack."
   57.10 -MAINTAINER="al.bobylev@gmail.com"
   57.11 -LICENSE="GPL3"
   57.12 -WEB_SITE="http://www.slitaz.org/"
   57.13 -DEPENDS="locale-ru"
   57.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   57.15 -WANTED="slitaz-i18n-extra"
   57.16 -
   57.17 -LOCALE="ru"
   57.18 -
   57.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   57.20 -genpkg_rules()
   57.21 -{
   57.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   57.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   57.24 -	mk_locale_dir
   57.25 -	get_extra_messages
   57.26 -}
    58.1 --- a/locale-sl-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    58.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    58.3 @@ -1,23 +0,0 @@
    58.4 -# SliTaz package receipt
    58.5 -
    58.6 -PACKAGE="locale-sl-extra"
    58.7 -VERSION="5.0"
    58.8 -CATEGORY="localization"
    58.9 -SHORT_DESC="Extra Slovenian locale pack (with GIMP, MPlayer, Xine)"
   58.10 -MAINTAINER="al.bobylev@gmail.com"
   58.11 -LICENSE="GPL3"
   58.12 -WEB_SITE="http://www.slitaz.org/"
   58.13 -DEPENDS="locale-sl"
   58.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   58.15 -WANTED="slitaz-i18n-extra"
   58.16 -
   58.17 -LOCALE="sl"
   58.18 -
   58.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   58.20 -genpkg_rules()
   58.21 -{
   58.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   58.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   58.24 -	mk_locale_dir
   58.25 -	get_extra_messages
   58.26 -}
    59.1 --- a/locale-sv-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    59.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    59.3 @@ -1,23 +0,0 @@
    59.4 -# SliTaz package receipt
    59.5 -
    59.6 -PACKAGE="locale-sv-extra"
    59.7 -VERSION="5.0"
    59.8 -CATEGORY="localization"
    59.9 -SHORT_DESC="Extra Swedish locale pack (with GIMP, MPlayer, Xine)"
   59.10 -MAINTAINER="al.bobylev@gmail.com"
   59.11 -LICENSE="GPL3"
   59.12 -WEB_SITE="http://www.slitaz.org/"
   59.13 -DEPENDS="locale-sv"
   59.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   59.15 -WANTED="slitaz-i18n-extra"
   59.16 -
   59.17 -LOCALE="sv"
   59.18 -
   59.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   59.20 -genpkg_rules()
   59.21 -{
   59.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   59.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   59.24 -	mk_locale_dir
   59.25 -	get_extra_messages
   59.26 -}
    60.1 --- a/locale-zh_CN-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    60.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    60.3 @@ -1,23 +0,0 @@
    60.4 -# SliTaz package receipt
    60.5 -
    60.6 -PACKAGE="locale-zh_CN-extra"
    60.7 -VERSION="5.0"
    60.8 -CATEGORY="localization"
    60.9 -SHORT_DESC="Extra Chinese Simplified locale pack (with GIMP, MPlayer, Xine)"
   60.10 -MAINTAINER="al.bobylev@gmail.com"
   60.11 -LICENSE="GPL3"
   60.12 -WEB_SITE="http://www.slitaz.org/"
   60.13 -DEPENDS="locale-zh_CN"
   60.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   60.15 -WANTED="slitaz-i18n-extra"
   60.16 -
   60.17 -LOCALE="zh_CN"
   60.18 -
   60.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   60.20 -genpkg_rules()
   60.21 -{
   60.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   60.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   60.24 -	mk_locale_dir
   60.25 -	get_extra_messages
   60.26 -}
    61.1 --- a/locale-zh_TW-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    61.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    61.3 @@ -1,23 +0,0 @@
    61.4 -# SliTaz package receipt
    61.5 -
    61.6 -PACKAGE="locale-zh_TW-extra"
    61.7 -VERSION="5.0"
    61.8 -CATEGORY="localization"
    61.9 -SHORT_DESC="Extra Chinese Traditional locale pack (with GIMP, MPlayer, Xine)"
   61.10 -MAINTAINER="al.bobylev@gmail.com"
   61.11 -LICENSE="GPL3"
   61.12 -WEB_SITE="http://www.slitaz.org/"
   61.13 -DEPENDS="locale-zh_TW"
   61.14 -BUILD_DEPENDS="slitaz-i18n-extra"
   61.15 -WANTED="slitaz-i18n-extra"
   61.16 -
   61.17 -LOCALE="zh_TW"
   61.18 -
   61.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   61.20 -genpkg_rules()
   61.21 -{
   61.22 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
   61.23 -	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
   61.24 -	mk_locale_dir
   61.25 -	get_extra_messages
   61.26 -}
    62.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    62.2 +++ b/netsurf-buildsystem/receipt	Thu Jul 20 00:33:52 2017 +0300
    62.3 @@ -0,0 +1,30 @@
    62.4 +# SliTaz package receipt v2.
    62.5 +
    62.6 +PACKAGE="netsurf-buildsystem"
    62.7 +VERSION="1.5"
    62.8 +CATEGORY="development"
    62.9 +SHORT_DESC="The Netsurf buildsystem"
   62.10 +MAINTAINER="al.bobylev@gmail.com"
   62.11 +LICENSE="MIT"
   62.12 +WEB_SITE="http://source.netsurf-browser.org/buildsystem.git/"
   62.13 +HOST_ARCH="i486 arm"
   62.14 +
   62.15 +TARBALL="buildsystem-$VERSION.tar.gz"
   62.16 +WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL"
   62.17 +
   62.18 +# Rules to configure and make the package.
   62.19 +compile_rules()
   62.20 +{
   62.21 +	sed -i 's|-Werror||' Makefile &&
   62.22 +	make         PREFIX=/usr COMPONENT_TYPE='lib-shared' &&
   62.23 +	make         PREFIX=/usr COMPONENT_TYPE='lib-static' &&
   62.24 +	make install PREFIX=/usr COMPONENT_TYPE='lib-shared' DESTDIR="$install" &&
   62.25 +	make install PREFIX=/usr COMPONENT_TYPE='lib-static' DESTDIR="$install"
   62.26 +}
   62.27 +
   62.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
   62.29 +genpkg_rules()
   62.30 +{
   62.31 +	copy @std @dev
   62.32 +	DEPENDS="perl"
   62.33 +}
    63.1 --- a/slitaz-i18n-extra/receipt	Wed Jul 19 14:10:52 2017 +0300
    63.2 +++ b/slitaz-i18n-extra/receipt	Thu Jul 20 00:33:52 2017 +0300
    63.3 @@ -1,32 +1,63 @@
    63.4 -# SliTaz package receipt
    63.5 +# SliTaz package receipt v2.
    63.6  
    63.7  PACKAGE="slitaz-i18n-extra"
    63.8 -VERSION="4.2"
    63.9 +VERSION="6.0"
   63.10  CATEGORY="meta"
   63.11 -SHORT_DESC="SliTaz internationalization meta package to build extra locale pack."
   63.12 -MAINTAINER="pankso@slitaz.org"
   63.13 +SHORT_DESC="SliTaz internationalization"
   63.14 +MAINTAINER="al.bobylev@gmail.com"
   63.15  LICENSE="GPL3"
   63.16  WEB_SITE="http://www.slitaz.org/"
   63.17  
   63.18  # Bdeps ensure packages are built so we can get generated po files.
   63.19 -BUILD_DEPENDS="gimp mplayer xine-ui abiword gnumeric sylpheed gftp geany"
   63.20 +#BUILD_DEPENDS="gimp mplayer xine-ui abiword gnumeric sylpheed gftp geany"
   63.21 +
   63.22 +SPLIT="locale-ar-extra locale-ca-extra locale-cs-extra locale-da-extra \
   63.23 +locale-de-extra locale-el-extra locale-es-extra locale-fr-extra \
   63.24 +locale-hu-extra locale-id-extra locale-it-extra locale-pl-extra \
   63.25 +locale-pt-extra locale-pt_BR-extra locale-ru-extra locale-sl-extra \
   63.26 +locale-sv-extra locale-zh_CN-extra locale-zh_TW-extra"
   63.27  
   63.28  # Rules to gen a SliTaz package suitable for Tazpkg.
   63.29  genpkg_rules()
   63.30  {
   63.31 -	. $stuff/locale-pack.conf
   63.32 -	for p in $EXTRA_PKGS
   63.33 -	do
   63.34 -		[ ! -d "$WOK/$p/install" ] && echo "Missing in wok: $p"
   63.35 -	done
   63.36 -	# Cook all extra locale pack.
   63.37 -	for i in $LOCALE_PACK
   63.38 -	do
   63.39 -		if [ -x /usr/bin/cook ]; then
   63.40 -			cook locale-$i-extra
   63.41 -		elif [ -x /usr/bin/tazwok ]; then
   63.42 -			tazwok cook locale-$i-extra
   63.43 -		fi
   63.44 -	done
   63.45 -	mkdir -p $fs/usr
   63.46 +	case $PACKAGE in
   63.47 +		slitaz-i18n-extra)
   63.48 +			. $stuff/locale-pack.conf
   63.49 +			for p in $EXTRA_PKGS; do
   63.50 +				[ -d "$WOK/$p/install" ] || echo "Missing in wok: $p"
   63.51 +			done
   63.52 +			CAT="meta|meta package to build extra locale pack"
   63.53 +			;;
   63.54 +		*)
   63.55 +			lang_code="$(echo $PACKAGE | cut -d- -f2)"
   63.56 +			case $lang_code in
   63.57 +				ar) l="Arabic";;
   63.58 +				ca) l="Catalan";;
   63.59 +				cs) l="Czech";;
   63.60 +				da) l="Danish";;
   63.61 +				de) l="German";;
   63.62 +				el) l="Greek";;
   63.63 +				es) l="Spanish";;
   63.64 +				fr) l="French";;
   63.65 +				hu) l="Hungarian";;
   63.66 +				id) l="Indonesian";;
   63.67 +				it) l="Italian";;
   63.68 +				pl) l="Polish";;
   63.69 +				pt) l="Portuguese";;
   63.70 +				pt_BR) l="Brazilian Portuguese";;
   63.71 +				ru) l="Russian";;
   63.72 +				sl) l="Slovenian";;
   63.73 +				sv) l="Swedish";;
   63.74 +				zh_CN) l="Simplified Chinese";;
   63.75 +				zh_TW) l="Traditional Chinese";;
   63.76 +			esac
   63.77 +			CAT="localization|extra $l locale pack"
   63.78 +			DEPENDS="locale-$lang_code"
   63.79 +			LOCALE="$lang_code"
   63.80 +			. $stuff/locale-pack.functions
   63.81 +			. $stuff/locale-pack.conf
   63.82 +			mk_locale_dir
   63.83 +			get_extra_messages
   63.84 +			;;
   63.85 +	esac
   63.86  }