wok-next rev 20406

Continue: json-c, json-glib, keyutils, libarchive, libassuan, libatasmart, libatomic_ops, libblockdev, libbytesize, libcroco, libdaemon, libesmtp, libffi, libgcrypt, libgpg-error, libgsf, libgudev, libgusb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 08 02:55:48 2017 +0200 (2017-12-08)
parents ab7c63b80420
children deb814751077
files json-c/receipt json-glib/receipt keyutils/receipt libarchive/receipt libassuan/receipt libatasmart/receipt libatomic_ops/receipt libblockdev/receipt libbytesize/receipt libcroco/receipt libdaemon/receipt libesmtp-dev/receipt libesmtp/receipt libffi/receipt libgcrypt/receipt libgpg-error/receipt libgsf/receipt libgudev/receipt libgusb-dev/receipt libgusb/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/json-c/receipt	Fri Dec 08 02:55:48 2017 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="json-c"
     1.7 +VERSION="0.12.1"
     1.8 +CATEGORY="libs"
     1.9 +SHORT_DESC="Reference counting object model"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="BSD"
    1.12 +WEB_SITE="https://github.com/json-c/json-c"
    1.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/json-c.html"
    1.14 +
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 +WGET_URL="https://s3.amazonaws.com/json-c_releases/releases/$TARBALL"
    1.17 +
    1.18 +BUILD_DEPENDS="automake"
    1.19 +SPLIT="json-c-dev"
    1.20 +
    1.21 +compile_rules() {
    1.22 +	sed -i 's|-Werror||' Makefile.in tests/Makefile.in
    1.23 +
    1.24 +	./configure \
    1.25 +		--disable-static \
    1.26 +		$CONFIGURE_ARGS &&
    1.27 +	make -j1 &&
    1.28 +	make install
    1.29 +}
    1.30 +
    1.31 +genpkg_rules() {
    1.32 +	case $PACKAGE in
    1.33 +		json-c) copy @std;;
    1.34 +		*-dev)  copy @dev;;
    1.35 +	esac
    1.36 +}
     2.1 --- a/json-glib/receipt	Thu Dec 07 17:39:40 2017 +0200
     2.2 +++ b/json-glib/receipt	Fri Dec 08 02:55:48 2017 +0200
     2.3 @@ -16,15 +16,17 @@
     2.4  SPLIT="json-glib-dev"
     2.5  
     2.6  compile_rules() {
     2.7 -	./configure $CONFIGURE_ARGS && make && make install
     2.8 +	fix ld
     2.9 +	./configure $CONFIGURE_ARGS &&
    2.10 +	fix libtool &&
    2.11 +	make && make install
    2.12  }
    2.13  
    2.14  genpkg_rules() {
    2.15  	case $PACKAGE in
    2.16  		json-glib)
    2.17  			copy @std
    2.18 -			DEPENDS="glib libffi pcre util-linux-blkid util-linux-mount \
    2.19 -			util-linux-uuid zlib"
    2.20 +			DEPENDS="glib"
    2.21  			TAGS="javascript"
    2.22  			;;
    2.23  		*-dev)
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/keyutils/receipt	Fri Dec 08 02:55:48 2017 +0200
     3.3 @@ -0,0 +1,36 @@
     3.4 +# SliTaz package receipt v2.
     3.5 +
     3.6 +PACKAGE="keyutils"
     3.7 +VERSION="1.5.10"
     3.8 +CATEGORY="system-tools"
     3.9 +SHORT_DESC="Linux key management utilities"
    3.10 +MAINTAINER="al.bobylev@gmail.com"
    3.11 +LICENSE="GPL2 LGPL2.1"
    3.12 +WEB_SITE="http://people.redhat.com/~dhowells/keyutils/"
    3.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/keyutils.html"
    3.14 +
    3.15 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.16 +WGET_URL="http://people.redhat.com/~dhowells/keyutils/$TARBALL"
    3.17 +
    3.18 +BUILD_DEPENDS="file"
    3.19 +SPLIT="keyutils-dev"
    3.20 +COOKOPTS="skip-log-errors"
    3.21 +
    3.22 +compile_rules() {
    3.23 +	make &&
    3.24 +	make NO_ARLIB=1 DESTDIR=$install install || return 1
    3.25 +
    3.26 +	ln -sf libkeyutils.so.1.6 $install/lib/libkeyutils.so
    3.27 +}
    3.28 +
    3.29 +genpkg_rules() {
    3.30 +	case $PACKAGE in
    3.31 +		keyutils)
    3.32 +			copy @std
    3.33 +			CONFIG_FILES="/etc/request-key.conf /etc/request-key.d/"
    3.34 +			;;
    3.35 +		*-dev)
    3.36 +			copy @dev
    3.37 +			;;
    3.38 +	esac
    3.39 +}
     4.1 --- a/libarchive/receipt	Thu Dec 07 17:39:40 2017 +0200
     4.2 +++ b/libarchive/receipt	Fri Dec 08 02:55:48 2017 +0200
     4.3 @@ -1,12 +1,13 @@
     4.4  # SliTaz package receipt v2.
     4.5  
     4.6  PACKAGE="libarchive"
     4.7 -VERSION="3.2.2"
     4.8 +VERSION="3.3.2"
     4.9  CATEGORY="system-tools"
    4.10  SHORT_DESC="C librairy and command line tool for reading archive"
    4.11  MAINTAINER="erjo@slitaz.org"
    4.12  LICENSE="BSD"
    4.13  WEB_SITE="http://www.libarchive.org/"
    4.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libarchive.html"
    4.15  
    4.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.17  WGET_URL="${WEB_SITE}downloads/$TARBALL"
    4.18 @@ -15,24 +16,20 @@
    4.19  lzo-dev libxml2-dev expat-dev attr-dev acl-dev nettle-dev openssl-dev"
    4.20  SPLIT="libarchive-dev"
    4.21  
    4.22 -# Rules to configure and make the package.
    4.23 -compile_rules()
    4.24 -{
    4.25 -	# http://www.linuxfromscratch.org/blfs/view/stable/general/libarchive.html
    4.26 +compile_rules() {
    4.27 +	fix ld
    4.28  	./configure \
    4.29  		--disable-static \
    4.30  		$CONFIGURE_ARGS &&
    4.31 +	fix libtool &&
    4.32  	make && make -j1 DESTDIR=$DESTDIR install
    4.33  }
    4.34  
    4.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.36 -genpkg_rules()
    4.37 -{
    4.38 +genpkg_rules() {
    4.39  	case $PACKAGE in
    4.40  		libarchive)
    4.41  			copy @std
    4.42 -			DEPENDS="acl attr bzlib libcrypto liblzma libxml2 lz4-lib lzo \
    4.43 -			nettle zlib"
    4.44 +			DEPENDS="acl bzlib liblzma libxml2 lz4-lib nettle zlib"
    4.45  			;;
    4.46  		*-dev)
    4.47  			copy @dev
     5.1 --- a/libassuan/receipt	Thu Dec 07 17:39:40 2017 +0200
     5.2 +++ b/libassuan/receipt	Fri Dec 08 02:55:48 2017 +0200
     5.3 @@ -7,6 +7,7 @@
     5.4  MAINTAINER="pankso@slitaz.org"
     5.5  LICENSE="GPL3"
     5.6  WEB_SITE="https://www.gnupg.org/related_software/libassuan/"
     5.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libassuan.html"
     5.8  
     5.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    5.10  WGET_URL="https://www.gnupg.org/ftp/gcrypt/libassuan/$TARBALL"
    5.11 @@ -16,15 +17,11 @@
    5.12  BUILD_DEPENDS="libgpg-error-dev"
    5.13  SPLIT="libassuan-dev"
    5.14  
    5.15 -# Rules to configure and make the package.
    5.16 -compile_rules()
    5.17 -{
    5.18 +compile_rules() {
    5.19  	./configure $CONFIGURE_ARGS && make && make install
    5.20  }
    5.21  
    5.22 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.23 -genpkg_rules()
    5.24 -{
    5.25 +genpkg_rules() {
    5.26  	case $PACKAGE in
    5.27  		libassuan)
    5.28  			copy @std
     6.1 --- a/libatasmart/receipt	Thu Dec 07 17:39:40 2017 +0200
     6.2 +++ b/libatasmart/receipt	Fri Dec 08 02:55:48 2017 +0200
     6.3 @@ -7,6 +7,7 @@
     6.4  MAINTAINER="pankso@slitaz.org"
     6.5  LICENSE="LGPL2.1"
     6.6  WEB_SITE="http://0pointer.de/blog/projects/being-smart.html"
     6.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libatasmart.html"
     6.8  
     6.9  TARBALL="$PACKAGE-$VERSION.tar.xz"
    6.10  WGET_URL="http://0pointer.de/public/$TARBALL"
    6.11 @@ -14,20 +15,15 @@
    6.12  BUILD_DEPENDS="eudev-dev"
    6.13  SPLIT="libatasmart-dev"
    6.14  
    6.15 -# Rules to configure and make the package.
    6.16 -compile_rules()
    6.17 -{
    6.18 -	# http://www.linuxfromscratch.org/blfs/view/stable/general/libatasmart.html
    6.19 +compile_rules() {
    6.20  	./configure \
    6.21  		--disable-static \
    6.22  		$CONFIGURE_ARGS &&
    6.23  	make &&
    6.24 -	make docdir=/usr/share/doc/libatasmart-$VERSION install
    6.25 +	make docdir=/usr/share/doc/$PACKAGE-$VERSION install
    6.26  }
    6.27  
    6.28 -# Rules to gen a SliTaz package suitable for Tazpkg.
    6.29 -genpkg_rules()
    6.30 -{
    6.31 +genpkg_rules() {
    6.32  	case $PACKAGE in
    6.33  		libatasmart)
    6.34  			copy @std
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/libatomic_ops/receipt	Fri Dec 08 02:55:48 2017 +0200
     7.3 @@ -0,0 +1,32 @@
     7.4 +# SliTaz package receipt v2.
     7.5 +
     7.6 +PACKAGE="libatomic_ops"
     7.7 +VERSION="7.4.6"
     7.8 +CATEGORY="system-tools"
     7.9 +SHORT_DESC="Atomic memory update operations portable implementation"
    7.10 +MAINTAINER="al.bobylev@gmail.com"
    7.11 +LICENSE="GPL2"
    7.12 +WEB_SITE="https://github.com/ivmai/libatomic_ops"
    7.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libatomic_ops.html"
    7.14 +
    7.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    7.16 +WGET_URL="https://github.com/ivmai/libatomic_ops/releases/download/v$VERSION/$TARBALL"
    7.17 +
    7.18 +SPLIT="libatomic_ops-dev"
    7.19 +
    7.20 +compile_rules() {
    7.21 +	./configure \
    7.22 +		--enable-shared \
    7.23 +		--disable-static \
    7.24 +		--docdir=/usr/share/doc/$PACKAGE-$VERSION \
    7.25 +		$CONFIGURE_ARGS &&
    7.26 +	make &&
    7.27 +	make install
    7.28 +}
    7.29 +
    7.30 +genpkg_rules() {
    7.31 +	case $PACKAGE in
    7.32 +		libatomic_ops) copy @std;;
    7.33 +		*-dev)         copy @dev;;
    7.34 +	esac
    7.35 +}
     8.1 --- a/libblockdev/receipt	Thu Dec 07 17:39:40 2017 +0200
     8.2 +++ b/libblockdev/receipt	Fri Dec 08 02:55:48 2017 +0200
     8.3 @@ -15,32 +15,33 @@
     8.4  BUILD_DEPENDS="automake libtool python glib-dev eudev-dev cryptsetup-dev \
     8.5  nss-dev coreutils-file-special libdevmapper-dev kmod-dev parted-dev \
     8.6  util-linux-mount-dev util-linux-blkid-dev libbytesize-dev volume_key-dev"
     8.7 -SPLIT="libblockdev-python libblockdev-dev"
     8.8 +SPLIT="libblockdev-python libblockdev libblockdev-dev"
     8.9  
    8.10  compile_rules() {
    8.11 +	fix ld
    8.12  	./autogen.sh &&
    8.13  
    8.14  	./configure \
    8.15  		--without-dm \
    8.16  		--sysconfdir=/etc \
    8.17  		$CONFIGURE_ARGS &&
    8.18 +	fix libtool &&
    8.19  	make && make install
    8.20  }
    8.21  
    8.22  genpkg_rules() {
    8.23  	case $PACKAGE in
    8.24 -		libblockdev)
    8.25 -			copy @std; rm -r $fs/usr/lib/python2.7/
    8.26 -			DEPENDS="cryptsetup eudev glib gmp gpgme kmod libassuan \
    8.27 -			libbytesize libdevmapper libffi libgcrypt libgpg-error liblzma \
    8.28 -			mpfr nspr nss parted pcre util-linux-blkid util-linux-mount \
    8.29 -			util-linux-uuid volume_key zlib"
    8.30 -			;;
    8.31  		*-python)
    8.32  			copy *.py
    8.33  			CAT="libs|python bindings"
    8.34  			DEPENDS="libblockdev python"
    8.35  			;;
    8.36 +		libblockdev)
    8.37 +			copy @std @rm
    8.38 +			DEPENDS="cryptsetup eudev glib kmod libbytesize libdevmapper \
    8.39 +			liblzma nss parted util-linux-blkid util-linux-mount volume_key \
    8.40 +			zlib"
    8.41 +			;;
    8.42  		*-dev)
    8.43  			copy @dev
    8.44  			DEPENDS="libblockdev libblockdev-python cryptsetup-dev eudev-dev \
     9.1 --- a/libbytesize/receipt	Thu Dec 07 17:39:40 2017 +0200
     9.2 +++ b/libbytesize/receipt	Fri Dec 08 02:55:48 2017 +0200
     9.3 @@ -16,9 +16,12 @@
     9.4  SPLIT="libbytesize-python libbytesize libbytesize-dev"
     9.5  
     9.6  compile_rules() {
     9.7 +	fix ld
     9.8  	./autogen.sh &&
     9.9  
    9.10 -	./configure $CONFIGURE_ARGS && make && make install
    9.11 +	./configure $CONFIGURE_ARGS &&
    9.12 +	fix libtool &&
    9.13 +	make && make install
    9.14  }
    9.15  
    9.16  genpkg_rules() {
    9.17 @@ -29,13 +32,13 @@
    9.18  			CAT="libs|python bindings"
    9.19  			;;
    9.20  		libbytesize)
    9.21 -			copy @std; remove_already_packed
    9.22 +			copy @std @rm
    9.23  			DEPENDS="gmp mpfr pcre"
    9.24  			;;
    9.25  		*-dev)
    9.26  			copy @dev
    9.27 -			DEPENDS="libbytesize libbytesize-python glib-dev gmp-dev mpfr-dev \
    9.28 -			pcre-dev"
    9.29 +			DEPENDS="libbytesize libbytesize-python \
    9.30 +			glib-dev gmp-dev mpfr-dev pcre-dev"
    9.31  			;;
    9.32  	esac
    9.33  }
    10.1 --- a/libcroco/receipt	Thu Dec 07 17:39:40 2017 +0200
    10.2 +++ b/libcroco/receipt	Fri Dec 08 02:55:48 2017 +0200
    10.3 @@ -1,12 +1,13 @@
    10.4  # SliTaz package receipt v2.
    10.5  
    10.6  PACKAGE="libcroco"
    10.7 -VERSION="0.6.11"
    10.8 +VERSION="0.6.12"
    10.9  CATEGORY="system-tools"
   10.10 -SHORT_DESC="Cascading Style Sheet (CSS) parsing and manipulation toolkit"
   10.11 +SHORT_DESC="Cascading Style Sheet (CSS2) parsing and manipulation toolkit"
   10.12  MAINTAINER="pankso@slitaz.org"
   10.13  LICENSE="LGPL2"
   10.14  WEB_SITE="https://developer.gnome.org/libcroco/"
   10.15 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libcroco.html"
   10.16  HOST_ARCH="i486 arm"
   10.17  
   10.18  TARBALL="$PACKAGE-$VERSION.tar.xz"
   10.19 @@ -15,10 +16,7 @@
   10.20  BUILD_DEPENDS="libxml2-dev glib-dev zlib-dev gtk-doc"
   10.21  SPLIT="libcroco-dev"
   10.22  
   10.23 -# Rules to configure and make the package.
   10.24 -compile_rules()
   10.25 -{
   10.26 -	# http://www.linuxfromscratch.org/blfs/view/stable/general/libcroco.html
   10.27 +compile_rules() {
   10.28  	./configure \
   10.29  		--disable-static \
   10.30  		$CONFIGURE_ARGS &&
   10.31 @@ -26,9 +24,7 @@
   10.32  	make install
   10.33  }
   10.34  
   10.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
   10.36 -genpkg_rules()
   10.37 -{
   10.38 +genpkg_rules() {
   10.39  	case $PACKAGE in
   10.40  		libcroco)
   10.41  			copy @std
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/libdaemon/receipt	Fri Dec 08 02:55:48 2017 +0200
    11.3 @@ -0,0 +1,30 @@
    11.4 +# SliTaz package receipt v2.
    11.5 +
    11.6 +PACKAGE="libdaemon"
    11.7 +VERSION="0.14"
    11.8 +CATEGORY="system-tools"
    11.9 +SHORT_DESC="Lightweight C library that eases the writing of UNIX daemons"
   11.10 +MAINTAINER="al.bobylev@gmail.com"
   11.11 +LICENSE="LGPL2.1"
   11.12 +WEB_SITE="http://0pointer.de/lennart/projects/libdaemon/"
   11.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libdaemon.html"
   11.14 +
   11.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   11.16 +WGET_URL="http://0pointer.de/lennart/projects/libdaemon/$TARBALL"
   11.17 +
   11.18 +SPLIT="libdaemon-dev"
   11.19 +
   11.20 +compile_rules() {
   11.21 +	./configure \
   11.22 +		--disable-static \
   11.23 +		$CONFIGURE_ARGS &&
   11.24 +	make &&
   11.25 +	make docdir=/usr/share/doc/$PACKAGE-$VERSION install
   11.26 +}
   11.27 +
   11.28 +genpkg_rules() {
   11.29 +	case $PACKAGE in
   11.30 +		libdaemon) copy @std;;
   11.31 +		*-dev)     copy @dev;;
   11.32 +	esac
   11.33 +}
    12.1 --- a/libesmtp-dev/receipt	Thu Dec 07 17:39:40 2017 +0200
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,25 +0,0 @@
    12.4 -# SliTaz package receipt.
    12.5 -
    12.6 -PACKAGE="libesmtp-dev"
    12.7 -VERSION="1.0.6"
    12.8 -CATEGORY="development"
    12.9 -SHORT_DESC="Lesmpt headers files."
   12.10 -MAINTAINER="erjo@slitaz.org"
   12.11 -LICENSE="GPL2"
   12.12 -WEB_SITE="http://www.stafford.uklinux.net/libesmtp/"
   12.13 -WANTED="libesmtp"
   12.14 -
   12.15 -DEPENDS="libesmtp"
   12.16 -
   12.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   12.18 -genpkg_rules()
   12.19 -{
   12.20 -	mkdir $fs/usr
   12.21 -	
   12.22 -	cp -a $install/usr/include $fs/usr
   12.23 -	cp -a $install/usr/bin $fs/usr
   12.24 -	cp -a $install/usr/lib $fs/usr
   12.25 -	
   12.26 -	find $fs -name "*.so*" -exec rm -f {} \;
   12.27 -	
   12.28 -}
    13.1 --- a/libesmtp/receipt	Thu Dec 07 17:39:40 2017 +0200
    13.2 +++ b/libesmtp/receipt	Fri Dec 08 02:55:48 2017 +0200
    13.3 @@ -1,30 +1,39 @@
    13.4 -# SliTaz package receipt.
    13.5 +# SliTaz package receipt v2.
    13.6  
    13.7  PACKAGE="libesmtp"
    13.8  VERSION="1.0.6"
    13.9  CATEGORY="network"
   13.10 -SHORT_DESC="A Library for Posting Electronic Mai"
   13.11 +SHORT_DESC="A Library for posting electronic mail"
   13.12  MAINTAINER="erjo@slitaz.org"
   13.13  LICENSE="GPL2"
   13.14  WEB_SITE="http://www.stafford.uklinux.net/libesmtp/"
   13.15 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libesmtp.html"
   13.16 +
   13.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   13.18  WGET_URL="http://www.stafford.uklinux.net/libesmtp/$TARBALL"
   13.19  
   13.20 -DEPENDS="libltdl libssl"
   13.21 -BUILD_DEPENDS="openssl-dev"
   13.22 +BUILD_DEPENDS="automake libtool openssl-dev"
   13.23 +SPLIT="libesmtp-dev"
   13.24 +COOKOPTS="skip-log-errors"
   13.25  
   13.26 -# Rules to configure and make the package.
   13.27 -compile_rules()
   13.28 -{
   13.29 -	cd $src
   13.30 -	./configure $CONFIGURE_ARGS && make && make install
   13.31 +compile_rules() {
   13.32 +	# fix a build issue with OpenSSL-1.1.0
   13.33 +	sed 's@SSL_library_init@SSL_new@g' -i configure.ac
   13.34 +	autoreconf -fi &&
   13.35 +
   13.36 +	./configure $CONFIGURE_ARGS &&
   13.37 +	make && make install
   13.38  }
   13.39  
   13.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
   13.41 -genpkg_rules()
   13.42 -{
   13.43 -	mkdir -p $fs/usr
   13.44 -	cp -a $install/usr/lib $fs/usr
   13.45 -	
   13.46 -	find $fs -name "*.*a" -exec rm -f {} \;
   13.47 +genpkg_rules() {
   13.48 +	case $PACKAGE in
   13.49 +		libesmtp)
   13.50 +			copy @std
   13.51 +			DEPENDS="libcrypto libssl"
   13.52 +			;;
   13.53 +		*-dev)
   13.54 +			copy @dev
   13.55 +			DEPENDS="libesmtp openssl-dev"
   13.56 +			;;
   13.57 +	esac
   13.58  }
    14.1 --- a/libffi/receipt	Thu Dec 07 17:39:40 2017 +0200
    14.2 +++ b/libffi/receipt	Fri Dec 08 02:55:48 2017 +0200
    14.3 @@ -7,16 +7,15 @@
    14.4  MAINTAINER="rcx@zoominternet.net"
    14.5  LICENSE="MIT"
    14.6  WEB_SITE="https://sourceware.org/libffi/"
    14.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libffi.html"
    14.8  HOST_ARCH="i486 arm"
    14.9  
   14.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
   14.11 -WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL"
   14.12 +WGET_URL="https://sourceware.org/ftp/libffi/$TARBALL"
   14.13  
   14.14  SPLIT="libffi-dev"
   14.15  
   14.16 -# Rules to configure and make the package.
   14.17 -compile_rules()
   14.18 -{
   14.19 +compile_rules() {
   14.20  	sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \
   14.21  		-i include/Makefile.in
   14.22  	sed -e '/^includedir/ s/=.*$/=@includedir@/' \
   14.23 @@ -25,15 +24,13 @@
   14.24  
   14.25  	./configure \
   14.26  		--disable-static \
   14.27 -		$CONFIGURE_ARGS  &&
   14.28 +		$CONFIGURE_ARGS &&
   14.29  	make && make install
   14.30  }
   14.31  
   14.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
   14.33 -genpkg_rules()
   14.34 -{
   14.35 +genpkg_rules() {
   14.36  	case $PACKAGE in
   14.37  		libffi) copy @std;;
   14.38 -		*-dev) copy @dev;;
   14.39 +		*-dev)  copy @dev;;
   14.40  	esac
   14.41  }
    15.1 --- a/libgcrypt/receipt	Thu Dec 07 17:39:40 2017 +0200
    15.2 +++ b/libgcrypt/receipt	Fri Dec 08 02:55:48 2017 +0200
    15.3 @@ -1,44 +1,45 @@
    15.4  # SliTaz package receipt v2.
    15.5  
    15.6  PACKAGE="libgcrypt"
    15.7 -VERSION="1.7.7"
    15.8 +VERSION="1.8.1"
    15.9  CATEGORY="security"
   15.10  SHORT_DESC="Cryptographic library based on GnuPG"
   15.11  MAINTAINER="erjo@slitaz.org"
   15.12  LICENSE="GPL2 LGPL2.1"
   15.13  WEB_SITE="https://www.gnupg.org/related_software/libgcrypt/"
   15.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libgcrypt.html"
   15.15  HOST_ARCH="i486 arm"
   15.16  
   15.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   15.18  WGET_URL="https://www.gnupg.org/ftp/gcrypt/libgcrypt/$TARBALL"
   15.19  # https://www.gnupg.org/download/integrity_check.html
   15.20 -TARBALL_SHA1="ea4ae1a4dba51f15095319419d7b42a0bf160384"
   15.21 +TARBALL_SHA1="dd35f00da45602afe81e01f4d60c40bbdd826fe6"
   15.22  
   15.23  BUILD_DEPENDS="libgpg-error-dev"
   15.24  SPLIT="libgcrypt-dev"
   15.25  
   15.26 -# Rules to configure and make the package.
   15.27 -compile_rules()
   15.28 -{
   15.29 +compile_rules() {
   15.30  	case "$ARCH" in
   15.31  		arm)
   15.32  			#LIBS="-L/cross/arm/sysroot/usr/lib -lgpg-error"
   15.33  			./configure \
   15.34  				--build=i486-slitaz-linux \
   15.35 -				--host=arm-slitaz-linux-gnueabi ;;
   15.36 +				--host=arm-slitaz-linux-gnueabi;;
   15.37  		*)
   15.38 -			./configure \
   15.39 -				--build=$HOST_SYSTEM \
   15.40 -				--host=$HOST_SYSTEM ;;
   15.41 +			./configure $CONFIGURE_ARGS;;
   15.42  	esac &&
   15.43  	make && make install
   15.44  }
   15.45  
   15.46 -# Rules to gen a SliTaz package suitable for Tazpkg.
   15.47 -genpkg_rules()
   15.48 -{
   15.49 +genpkg_rules() {
   15.50  	case $PACKAGE in
   15.51 -		libgcrypt) copy @std; DEPENDS="libgpg-error";;
   15.52 -		*-dev)     copy @dev; DEPENDS="libgcrypt libgpg-error-dev";;
   15.53 +		libgcrypt)
   15.54 +			copy @std
   15.55 +			DEPENDS="libgpg-error"
   15.56 +			;;
   15.57 +		*-dev)
   15.58 +			copy @dev
   15.59 +			DEPENDS="libgcrypt libgpg-error-dev"
   15.60 +			;;
   15.61  	esac
   15.62  }
    16.1 --- a/libgpg-error/receipt	Thu Dec 07 17:39:40 2017 +0200
    16.2 +++ b/libgpg-error/receipt	Fri Dec 08 02:55:48 2017 +0200
    16.3 @@ -7,6 +7,7 @@
    16.4  MAINTAINER="erjo@slitaz.org"
    16.5  LICENSE="GPL2"
    16.6  WEB_SITE="https://www.gnupg.org/related_software/libgpg-error/"
    16.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libgpg-error.html"
    16.8  HOST_ARCH="i486 arm"
    16.9  
   16.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   16.11 @@ -17,22 +18,18 @@
   16.12  BUILD_DEPENDS="gettext"
   16.13  SPLIT="libgpg-error-dev"
   16.14  
   16.15 -# Rules to configure and make the package.
   16.16 -compile_rules()
   16.17 -{
   16.18 +compile_rules() {
   16.19  	./configure $CONFIGURE_ARGS && make && make install
   16.20  }
   16.21  
   16.22 -# Rules to gen a SliTaz package suitable for Tazpkg.
   16.23 -genpkg_rules()
   16.24 -{
   16.25 +genpkg_rules() {
   16.26  	case $PACKAGE in
   16.27  		libgpg-error)
   16.28 -			copy gpg-error *.so*
   16.29 +			copy @std
   16.30 +			rm -r $fs/usr/share/common-lisp/
   16.31  			;;
   16.32  		*-dev)
   16.33 -			copy @std @dev
   16.34 -			remove_already_packed
   16.35 +			copy @std @dev @rm
   16.36  			;;
   16.37  	esac
   16.38  }
    17.1 --- a/libgsf/receipt	Thu Dec 07 17:39:40 2017 +0200
    17.2 +++ b/libgsf/receipt	Fri Dec 08 02:55:48 2017 +0200
    17.3 @@ -7,6 +7,7 @@
    17.4  MAINTAINER="pankso@slitaz.org"
    17.5  LICENSE="GPL2"
    17.6  WEB_SITE="https://developer.gnome.org/gsf/"
    17.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libgsf.html"
    17.8  
    17.9  TARBALL="$PACKAGE-$VERSION.tar.xz"
   17.10  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   17.11 @@ -15,19 +16,14 @@
   17.12  gdk-pixbuf-dev gobject-introspection-dev"
   17.13  SPLIT="libgsf-dev"
   17.14  
   17.15 -# Rules to configure and make the package.
   17.16 -compile_rules()
   17.17 -{
   17.18 -	# http://www.linuxfromscratch.org/blfs/view/stable/general/libgsf.html
   17.19 +compile_rules() {
   17.20  	./configure \
   17.21  		--enable-introspection \
   17.22  		$CONFIGURE_ARGS &&
   17.23  	make && make install
   17.24  }
   17.25  
   17.26 -# Rules to gen a SliTaz package suitable for Tazpkg.
   17.27 -genpkg_rules()
   17.28 -{
   17.29 +genpkg_rules() {
   17.30  	case $PACKAGE in
   17.31  		libgsf)
   17.32  			copy @std
    18.1 --- a/libgudev/receipt	Thu Dec 07 17:39:40 2017 +0200
    18.2 +++ b/libgudev/receipt	Fri Dec 08 02:55:48 2017 +0200
    18.3 @@ -7,6 +7,7 @@
    18.4  MAINTAINER="gokhlayeh@slitaz.org"
    18.5  LICENSE="GPL2"
    18.6  WEB_SITE="https://wiki.gnome.org/Projects/libgudev"
    18.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libgudev.html"
    18.8  HOST_ARCH="i486 arm"
    18.9  
   18.10  TARBALL="$PACKAGE-$VERSION.tar.xz"
   18.11 @@ -15,21 +16,26 @@
   18.12  BUILD_DEPENDS="gtk-doc gobject-introspection-dev eudev-dev glib-dev"
   18.13  SPLIT="libgudev-dev"
   18.14  
   18.15 -# Rules to configure and make the package.
   18.16 -compile_rules()
   18.17 -{
   18.18 +compile_rules() {
   18.19 +	fix ld
   18.20  	./configure \
   18.21  		--disable-umockdev \
   18.22  		$CONFIGURE_ARGS &&
   18.23 +	fix libtool &&
   18.24  	make && make install
   18.25  }
   18.26  
   18.27 -# Rules to gen a SliTaz package suitable for Tazpkg.
   18.28 -genpkg_rules()
   18.29 -{
   18.30 +genpkg_rules() {
   18.31  	case $PACKAGE in
   18.32 -		libgudev) copy @std; DEPENDS="eudev glib libffi pcre zlib";;
   18.33 -		*-dev)    copy @dev; DEPENDS="libgudev eudev-dev glib-dev glibc-dev \
   18.34 -			libffi-dev pcre-dev zlib-dev";;
   18.35 +		libgudev)
   18.36 +			copy @std
   18.37 +			DEPENDS="eudev glib"
   18.38 +			;;
   18.39 +		*-dev)
   18.40 +			copy @dev
   18.41 +			DEPENDS="libgudev eudev-dev glib-dev libffi-dev pcre-dev \
   18.42 +			util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
   18.43 +			zlib-dev"
   18.44 +			;;
   18.45  	esac
   18.46  }
    19.1 --- a/libgusb-dev/receipt	Thu Dec 07 17:39:40 2017 +0200
    19.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.3 @@ -1,19 +0,0 @@
    19.4 -# SliTaz package receipt.
    19.5 -
    19.6 -PACKAGE="libgusb-dev"
    19.7 -VERSION="0.2.9"
    19.8 -CATEGORY="development"
    19.9 -SHORT_DESC="GUsb is a GObject wrapper for libusb1 (development files)"
   19.10 -MAINTAINER="al.bobylev@gmail.com"
   19.11 -LICENSE="LGPL2.1"
   19.12 -WEB_SITE="https://github.com/hughsie/libgusb"
   19.13 -
   19.14 -WANTED="libgusb"
   19.15 -DEPENDS="libgusb eudev-dev glib-dev glibc-dev libffi-dev libusb-dev \
   19.16 -pcre-dev zlib-dev"
   19.17 -
   19.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   19.19 -genpkg_rules()
   19.20 -{
   19.21 -	copy *.h *.la *.pc *.typelib *.gir
   19.22 -}
    20.1 --- a/libgusb/receipt	Thu Dec 07 17:39:40 2017 +0200
    20.2 +++ b/libgusb/receipt	Fri Dec 08 02:55:48 2017 +0200
    20.3 @@ -1,30 +1,39 @@
    20.4 -# SliTaz package receipt.
    20.5 +# SliTaz package receipt v2.
    20.6  
    20.7  PACKAGE="libgusb"
    20.8 -VERSION="0.2.9"
    20.9 +VERSION="0.2.11"
   20.10  CATEGORY="libdevel"
   20.11  SHORT_DESC="GUsb is a GObject wrapper for libusb1"
   20.12  MAINTAINER="al.bobylev@gmail.com"
   20.13  LICENSE="LGPL2.1"
   20.14  WEB_SITE="https://github.com/hughsie/libgusb"
   20.15 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libgusb.html"
   20.16  
   20.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
   20.18 -WGET_URL="http://people.freedesktop.org/~hughsient/releases/$TARBALL"
   20.19 +WGET_URL="https://people.freedesktop.org/~hughsient/releases/$TARBALL"
   20.20  
   20.21 -DEPENDS="eudev glib libffi libusb pcre zlib"
   20.22  BUILD_DEPENDS="gobject-introspection-dev libxslt gtk-doc glib-dev libusb-dev"
   20.23 +SPLIT="libgusb-dev"
   20.24  
   20.25 -# Rules to configure and make the package.
   20.26 -compile_rules()
   20.27 -{
   20.28 +compile_rules() {
   20.29 +	fix ld
   20.30  	./configure \
   20.31  		--disable-static \
   20.32  		$CONFIGURE_ARGS &&
   20.33 +	fix libtool &&
   20.34  	make && make install
   20.35  }
   20.36  
   20.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
   20.38 -genpkg_rules()
   20.39 -{
   20.40 -	copy bin/ *.so*
   20.41 +genpkg_rules() {
   20.42 +	case $PACKAGE in
   20.43 +		libgusb)
   20.44 +			copy @std
   20.45 +			DEPENDS="glib libusb"
   20.46 +			;;
   20.47 +		*-dev)
   20.48 +			copy @dev
   20.49 +			DEPENDS="libgusb eudev-dev glib-dev libffi-dev libusb-dev pcre-dev \
   20.50 +			util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev zlib"
   20.51 +			;;
   20.52 +	esac
   20.53  }