# HG changeset patch # User Aleksej Bobylev # Date 1512694548 -7200 # Node ID 2d54d154d5ca3480908a1e8d7a2015b86b6b64ae # Parent ab7c63b804204f7a5caf5d3c3f2d98a37ba4478a Continue: json-c, json-glib, keyutils, libarchive, libassuan, libatasmart, libatomic_ops, libblockdev, libbytesize, libcroco, libdaemon, libesmtp, libffi, libgcrypt, libgpg-error, libgsf, libgudev, libgusb diff -r ab7c63b80420 -r 2d54d154d5ca json-c/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/json-c/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -0,0 +1,33 @@ +# SliTaz package receipt v2. + +PACKAGE="json-c" +VERSION="0.12.1" +CATEGORY="libs" +SHORT_DESC="Reference counting object model" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="BSD" +WEB_SITE="https://github.com/json-c/json-c" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/json-c.html" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://s3.amazonaws.com/json-c_releases/releases/$TARBALL" + +BUILD_DEPENDS="automake" +SPLIT="json-c-dev" + +compile_rules() { + sed -i 's|-Werror||' Makefile.in tests/Makefile.in + + ./configure \ + --disable-static \ + $CONFIGURE_ARGS && + make -j1 && + make install +} + +genpkg_rules() { + case $PACKAGE in + json-c) copy @std;; + *-dev) copy @dev;; + esac +} diff -r ab7c63b80420 -r 2d54d154d5ca json-glib/receipt --- a/json-glib/receipt Thu Dec 07 17:39:40 2017 +0200 +++ b/json-glib/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -16,15 +16,17 @@ SPLIT="json-glib-dev" compile_rules() { - ./configure $CONFIGURE_ARGS && make && make install + fix ld + ./configure $CONFIGURE_ARGS && + fix libtool && + make && make install } genpkg_rules() { case $PACKAGE in json-glib) copy @std - DEPENDS="glib libffi pcre util-linux-blkid util-linux-mount \ - util-linux-uuid zlib" + DEPENDS="glib" TAGS="javascript" ;; *-dev) diff -r ab7c63b80420 -r 2d54d154d5ca keyutils/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/keyutils/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -0,0 +1,36 @@ +# SliTaz package receipt v2. + +PACKAGE="keyutils" +VERSION="1.5.10" +CATEGORY="system-tools" +SHORT_DESC="Linux key management utilities" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL2 LGPL2.1" +WEB_SITE="http://people.redhat.com/~dhowells/keyutils/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/keyutils.html" + +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WGET_URL="http://people.redhat.com/~dhowells/keyutils/$TARBALL" + +BUILD_DEPENDS="file" +SPLIT="keyutils-dev" +COOKOPTS="skip-log-errors" + +compile_rules() { + make && + make NO_ARLIB=1 DESTDIR=$install install || return 1 + + ln -sf libkeyutils.so.1.6 $install/lib/libkeyutils.so +} + +genpkg_rules() { + case $PACKAGE in + keyutils) + copy @std + CONFIG_FILES="/etc/request-key.conf /etc/request-key.d/" + ;; + *-dev) + copy @dev + ;; + esac +} diff -r ab7c63b80420 -r 2d54d154d5ca libarchive/receipt --- a/libarchive/receipt Thu Dec 07 17:39:40 2017 +0200 +++ b/libarchive/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -1,12 +1,13 @@ # SliTaz package receipt v2. PACKAGE="libarchive" -VERSION="3.2.2" +VERSION="3.3.2" CATEGORY="system-tools" SHORT_DESC="C librairy and command line tool for reading archive" MAINTAINER="erjo@slitaz.org" LICENSE="BSD" WEB_SITE="http://www.libarchive.org/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libarchive.html" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}downloads/$TARBALL" @@ -15,24 +16,20 @@ lzo-dev libxml2-dev expat-dev attr-dev acl-dev nettle-dev openssl-dev" SPLIT="libarchive-dev" -# Rules to configure and make the package. -compile_rules() -{ - # http://www.linuxfromscratch.org/blfs/view/stable/general/libarchive.html +compile_rules() { + fix ld ./configure \ --disable-static \ $CONFIGURE_ARGS && + fix libtool && make && make -j1 DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in libarchive) copy @std - DEPENDS="acl attr bzlib libcrypto liblzma libxml2 lz4-lib lzo \ - nettle zlib" + DEPENDS="acl bzlib liblzma libxml2 lz4-lib nettle zlib" ;; *-dev) copy @dev diff -r ab7c63b80420 -r 2d54d154d5ca libassuan/receipt --- a/libassuan/receipt Thu Dec 07 17:39:40 2017 +0200 +++ b/libassuan/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -7,6 +7,7 @@ MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" WEB_SITE="https://www.gnupg.org/related_software/libassuan/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libassuan.html" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://www.gnupg.org/ftp/gcrypt/libassuan/$TARBALL" @@ -16,15 +17,11 @@ BUILD_DEPENDS="libgpg-error-dev" SPLIT="libassuan-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in libassuan) copy @std diff -r ab7c63b80420 -r 2d54d154d5ca libatasmart/receipt --- a/libatasmart/receipt Thu Dec 07 17:39:40 2017 +0200 +++ b/libatasmart/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -7,6 +7,7 @@ MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" WEB_SITE="http://0pointer.de/blog/projects/being-smart.html" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libatasmart.html" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="http://0pointer.de/public/$TARBALL" @@ -14,20 +15,15 @@ BUILD_DEPENDS="eudev-dev" SPLIT="libatasmart-dev" -# Rules to configure and make the package. -compile_rules() -{ - # http://www.linuxfromscratch.org/blfs/view/stable/general/libatasmart.html +compile_rules() { ./configure \ --disable-static \ $CONFIGURE_ARGS && make && - make docdir=/usr/share/doc/libatasmart-$VERSION install + make docdir=/usr/share/doc/$PACKAGE-$VERSION install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in libatasmart) copy @std diff -r ab7c63b80420 -r 2d54d154d5ca libatomic_ops/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libatomic_ops/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt v2. + +PACKAGE="libatomic_ops" +VERSION="7.4.6" +CATEGORY="system-tools" +SHORT_DESC="Atomic memory update operations portable implementation" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL2" +WEB_SITE="https://github.com/ivmai/libatomic_ops" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libatomic_ops.html" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/ivmai/libatomic_ops/releases/download/v$VERSION/$TARBALL" + +SPLIT="libatomic_ops-dev" + +compile_rules() { + ./configure \ + --enable-shared \ + --disable-static \ + --docdir=/usr/share/doc/$PACKAGE-$VERSION \ + $CONFIGURE_ARGS && + make && + make install +} + +genpkg_rules() { + case $PACKAGE in + libatomic_ops) copy @std;; + *-dev) copy @dev;; + esac +} diff -r ab7c63b80420 -r 2d54d154d5ca libblockdev/receipt --- a/libblockdev/receipt Thu Dec 07 17:39:40 2017 +0200 +++ b/libblockdev/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -15,32 +15,33 @@ BUILD_DEPENDS="automake libtool python glib-dev eudev-dev cryptsetup-dev \ nss-dev coreutils-file-special libdevmapper-dev kmod-dev parted-dev \ util-linux-mount-dev util-linux-blkid-dev libbytesize-dev volume_key-dev" -SPLIT="libblockdev-python libblockdev-dev" +SPLIT="libblockdev-python libblockdev libblockdev-dev" compile_rules() { + fix ld ./autogen.sh && ./configure \ --without-dm \ --sysconfdir=/etc \ $CONFIGURE_ARGS && + fix libtool && make && make install } genpkg_rules() { case $PACKAGE in - libblockdev) - copy @std; rm -r $fs/usr/lib/python2.7/ - DEPENDS="cryptsetup eudev glib gmp gpgme kmod libassuan \ - libbytesize libdevmapper libffi libgcrypt libgpg-error liblzma \ - mpfr nspr nss parted pcre util-linux-blkid util-linux-mount \ - util-linux-uuid volume_key zlib" - ;; *-python) copy *.py CAT="libs|python bindings" DEPENDS="libblockdev python" ;; + libblockdev) + copy @std @rm + DEPENDS="cryptsetup eudev glib kmod libbytesize libdevmapper \ + liblzma nss parted util-linux-blkid util-linux-mount volume_key \ + zlib" + ;; *-dev) copy @dev DEPENDS="libblockdev libblockdev-python cryptsetup-dev eudev-dev \ diff -r ab7c63b80420 -r 2d54d154d5ca libbytesize/receipt --- a/libbytesize/receipt Thu Dec 07 17:39:40 2017 +0200 +++ b/libbytesize/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -16,9 +16,12 @@ SPLIT="libbytesize-python libbytesize libbytesize-dev" compile_rules() { + fix ld ./autogen.sh && - ./configure $CONFIGURE_ARGS && make && make install + ./configure $CONFIGURE_ARGS && + fix libtool && + make && make install } genpkg_rules() { @@ -29,13 +32,13 @@ CAT="libs|python bindings" ;; libbytesize) - copy @std; remove_already_packed + copy @std @rm DEPENDS="gmp mpfr pcre" ;; *-dev) copy @dev - DEPENDS="libbytesize libbytesize-python glib-dev gmp-dev mpfr-dev \ - pcre-dev" + DEPENDS="libbytesize libbytesize-python \ + glib-dev gmp-dev mpfr-dev pcre-dev" ;; esac } diff -r ab7c63b80420 -r 2d54d154d5ca libcroco/receipt --- a/libcroco/receipt Thu Dec 07 17:39:40 2017 +0200 +++ b/libcroco/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -1,12 +1,13 @@ # SliTaz package receipt v2. PACKAGE="libcroco" -VERSION="0.6.11" +VERSION="0.6.12" CATEGORY="system-tools" -SHORT_DESC="Cascading Style Sheet (CSS) parsing and manipulation toolkit" +SHORT_DESC="Cascading Style Sheet (CSS2) parsing and manipulation toolkit" MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2" WEB_SITE="https://developer.gnome.org/libcroco/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libcroco.html" HOST_ARCH="i486 arm" TARBALL="$PACKAGE-$VERSION.tar.xz" @@ -15,10 +16,7 @@ BUILD_DEPENDS="libxml2-dev glib-dev zlib-dev gtk-doc" SPLIT="libcroco-dev" -# Rules to configure and make the package. -compile_rules() -{ - # http://www.linuxfromscratch.org/blfs/view/stable/general/libcroco.html +compile_rules() { ./configure \ --disable-static \ $CONFIGURE_ARGS && @@ -26,9 +24,7 @@ make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in libcroco) copy @std diff -r ab7c63b80420 -r 2d54d154d5ca libdaemon/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libdaemon/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt v2. + +PACKAGE="libdaemon" +VERSION="0.14" +CATEGORY="system-tools" +SHORT_DESC="Lightweight C library that eases the writing of UNIX daemons" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="LGPL2.1" +WEB_SITE="http://0pointer.de/lennart/projects/libdaemon/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libdaemon.html" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://0pointer.de/lennart/projects/libdaemon/$TARBALL" + +SPLIT="libdaemon-dev" + +compile_rules() { + ./configure \ + --disable-static \ + $CONFIGURE_ARGS && + make && + make docdir=/usr/share/doc/$PACKAGE-$VERSION install +} + +genpkg_rules() { + case $PACKAGE in + libdaemon) copy @std;; + *-dev) copy @dev;; + esac +} diff -r ab7c63b80420 -r 2d54d154d5ca libesmtp-dev/receipt --- a/libesmtp-dev/receipt Thu Dec 07 17:39:40 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libesmtp-dev" -VERSION="1.0.6" -CATEGORY="development" -SHORT_DESC="Lesmpt headers files." -MAINTAINER="erjo@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.stafford.uklinux.net/libesmtp/" -WANTED="libesmtp" - -DEPENDS="libesmtp" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir $fs/usr - - cp -a $install/usr/include $fs/usr - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib $fs/usr - - find $fs -name "*.so*" -exec rm -f {} \; - -} diff -r ab7c63b80420 -r 2d54d154d5ca libesmtp/receipt --- a/libesmtp/receipt Thu Dec 07 17:39:40 2017 +0200 +++ b/libesmtp/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -1,30 +1,39 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libesmtp" VERSION="1.0.6" CATEGORY="network" -SHORT_DESC="A Library for Posting Electronic Mai" +SHORT_DESC="A Library for posting electronic mail" MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" WEB_SITE="http://www.stafford.uklinux.net/libesmtp/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libesmtp.html" + TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="http://www.stafford.uklinux.net/libesmtp/$TARBALL" -DEPENDS="libltdl libssl" -BUILD_DEPENDS="openssl-dev" +BUILD_DEPENDS="automake libtool openssl-dev" +SPLIT="libesmtp-dev" +COOKOPTS="skip-log-errors" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure $CONFIGURE_ARGS && make && make install +compile_rules() { + # fix a build issue with OpenSSL-1.1.0 + sed 's@SSL_library_init@SSL_new@g' -i configure.ac + autoreconf -fi && + + ./configure $CONFIGURE_ARGS && + make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr - - find $fs -name "*.*a" -exec rm -f {} \; +genpkg_rules() { + case $PACKAGE in + libesmtp) + copy @std + DEPENDS="libcrypto libssl" + ;; + *-dev) + copy @dev + DEPENDS="libesmtp openssl-dev" + ;; + esac } diff -r ab7c63b80420 -r 2d54d154d5ca libffi/receipt --- a/libffi/receipt Thu Dec 07 17:39:40 2017 +0200 +++ b/libffi/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -7,16 +7,15 @@ MAINTAINER="rcx@zoominternet.net" LICENSE="MIT" WEB_SITE="https://sourceware.org/libffi/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libffi.html" HOST_ARCH="i486 arm" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL" +WGET_URL="https://sourceware.org/ftp/libffi/$TARBALL" SPLIT="libffi-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \ -i include/Makefile.in sed -e '/^includedir/ s/=.*$/=@includedir@/' \ @@ -25,15 +24,13 @@ ./configure \ --disable-static \ - $CONFIGURE_ARGS && + $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in libffi) copy @std;; - *-dev) copy @dev;; + *-dev) copy @dev;; esac } diff -r ab7c63b80420 -r 2d54d154d5ca libgcrypt/receipt --- a/libgcrypt/receipt Thu Dec 07 17:39:40 2017 +0200 +++ b/libgcrypt/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -1,44 +1,45 @@ # SliTaz package receipt v2. PACKAGE="libgcrypt" -VERSION="1.7.7" +VERSION="1.8.1" CATEGORY="security" SHORT_DESC="Cryptographic library based on GnuPG" MAINTAINER="erjo@slitaz.org" LICENSE="GPL2 LGPL2.1" WEB_SITE="https://www.gnupg.org/related_software/libgcrypt/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libgcrypt.html" HOST_ARCH="i486 arm" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://www.gnupg.org/ftp/gcrypt/libgcrypt/$TARBALL" # https://www.gnupg.org/download/integrity_check.html -TARBALL_SHA1="ea4ae1a4dba51f15095319419d7b42a0bf160384" +TARBALL_SHA1="dd35f00da45602afe81e01f4d60c40bbdd826fe6" BUILD_DEPENDS="libgpg-error-dev" SPLIT="libgcrypt-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { case "$ARCH" in arm) #LIBS="-L/cross/arm/sysroot/usr/lib -lgpg-error" ./configure \ --build=i486-slitaz-linux \ - --host=arm-slitaz-linux-gnueabi ;; + --host=arm-slitaz-linux-gnueabi;; *) - ./configure \ - --build=$HOST_SYSTEM \ - --host=$HOST_SYSTEM ;; + ./configure $CONFIGURE_ARGS;; esac && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in - libgcrypt) copy @std; DEPENDS="libgpg-error";; - *-dev) copy @dev; DEPENDS="libgcrypt libgpg-error-dev";; + libgcrypt) + copy @std + DEPENDS="libgpg-error" + ;; + *-dev) + copy @dev + DEPENDS="libgcrypt libgpg-error-dev" + ;; esac } diff -r ab7c63b80420 -r 2d54d154d5ca libgpg-error/receipt --- a/libgpg-error/receipt Thu Dec 07 17:39:40 2017 +0200 +++ b/libgpg-error/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -7,6 +7,7 @@ MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" WEB_SITE="https://www.gnupg.org/related_software/libgpg-error/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libgpg-error.html" HOST_ARCH="i486 arm" TARBALL="$PACKAGE-$VERSION.tar.bz2" @@ -17,22 +18,18 @@ BUILD_DEPENDS="gettext" SPLIT="libgpg-error-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in libgpg-error) - copy gpg-error *.so* + copy @std + rm -r $fs/usr/share/common-lisp/ ;; *-dev) - copy @std @dev - remove_already_packed + copy @std @dev @rm ;; esac } diff -r ab7c63b80420 -r 2d54d154d5ca libgsf/receipt --- a/libgsf/receipt Thu Dec 07 17:39:40 2017 +0200 +++ b/libgsf/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -7,6 +7,7 @@ MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="https://developer.gnome.org/gsf/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libgsf.html" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" @@ -15,19 +16,14 @@ gdk-pixbuf-dev gobject-introspection-dev" SPLIT="libgsf-dev" -# Rules to configure and make the package. -compile_rules() -{ - # http://www.linuxfromscratch.org/blfs/view/stable/general/libgsf.html +compile_rules() { ./configure \ --enable-introspection \ $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in libgsf) copy @std diff -r ab7c63b80420 -r 2d54d154d5ca libgudev/receipt --- a/libgudev/receipt Thu Dec 07 17:39:40 2017 +0200 +++ b/libgudev/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -7,6 +7,7 @@ MAINTAINER="gokhlayeh@slitaz.org" LICENSE="GPL2" WEB_SITE="https://wiki.gnome.org/Projects/libgudev" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libgudev.html" HOST_ARCH="i486 arm" TARBALL="$PACKAGE-$VERSION.tar.xz" @@ -15,21 +16,26 @@ BUILD_DEPENDS="gtk-doc gobject-introspection-dev eudev-dev glib-dev" SPLIT="libgudev-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { + fix ld ./configure \ --disable-umockdev \ $CONFIGURE_ARGS && + fix libtool && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in - libgudev) copy @std; DEPENDS="eudev glib libffi pcre zlib";; - *-dev) copy @dev; DEPENDS="libgudev eudev-dev glib-dev glibc-dev \ - libffi-dev pcre-dev zlib-dev";; + libgudev) + copy @std + DEPENDS="eudev glib" + ;; + *-dev) + copy @dev + DEPENDS="libgudev eudev-dev glib-dev libffi-dev pcre-dev \ + util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ + zlib-dev" + ;; esac } diff -r ab7c63b80420 -r 2d54d154d5ca libgusb-dev/receipt --- a/libgusb-dev/receipt Thu Dec 07 17:39:40 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libgusb-dev" -VERSION="0.2.9" -CATEGORY="development" -SHORT_DESC="GUsb is a GObject wrapper for libusb1 (development files)" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="https://github.com/hughsie/libgusb" - -WANTED="libgusb" -DEPENDS="libgusb eudev-dev glib-dev glibc-dev libffi-dev libusb-dev \ -pcre-dev zlib-dev" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - copy *.h *.la *.pc *.typelib *.gir -} diff -r ab7c63b80420 -r 2d54d154d5ca libgusb/receipt --- a/libgusb/receipt Thu Dec 07 17:39:40 2017 +0200 +++ b/libgusb/receipt Fri Dec 08 02:55:48 2017 +0200 @@ -1,30 +1,39 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libgusb" -VERSION="0.2.9" +VERSION="0.2.11" CATEGORY="libdevel" SHORT_DESC="GUsb is a GObject wrapper for libusb1" MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2.1" WEB_SITE="https://github.com/hughsie/libgusb" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libgusb.html" TARBALL="$PACKAGE-$VERSION.tar.xz" -WGET_URL="http://people.freedesktop.org/~hughsient/releases/$TARBALL" +WGET_URL="https://people.freedesktop.org/~hughsient/releases/$TARBALL" -DEPENDS="eudev glib libffi libusb pcre zlib" BUILD_DEPENDS="gobject-introspection-dev libxslt gtk-doc glib-dev libusb-dev" +SPLIT="libgusb-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { + fix ld ./configure \ --disable-static \ $CONFIGURE_ARGS && + fix libtool && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - copy bin/ *.so* +genpkg_rules() { + case $PACKAGE in + libgusb) + copy @std + DEPENDS="glib libusb" + ;; + *-dev) + copy @dev + DEPENDS="libgusb eudev-dev glib-dev libffi-dev libusb-dev pcre-dev \ + util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev zlib" + ;; + esac }