# HG changeset patch # User Hans-G?nter Theisgen # Date 1647423717 -3600 # Node ID 7186c6ae9ee70b63561ff947b84504e9c13997c7 # Parent 83c8ab789fc1fb376a93522ab8162c08a7878635 updated libffi and libffi-dev (3.3 -> 3.4.2) diff -r 83c8ab789fc1 -r 7186c6ae9ee7 libffi-dev/receipt --- a/libffi-dev/receipt Wed Mar 16 10:31:26 2022 +0100 +++ b/libffi-dev/receipt Wed Mar 16 10:41:57 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libffi-dev" -VERSION="3.3" +VERSION="3.4.2" CATEGORY="development" SHORT_DESC="Libffi, development files." MAINTAINER="rcx@zoominternet.net" @@ -16,10 +16,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -# cp -a $install/usr/lib/$WANTED-$VERSION $fs/usr/lib + get_dev_files } diff -r 83c8ab789fc1 -r 7186c6ae9ee7 libffi/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libffi/description.txt Wed Mar 16 10:41:57 2022 +0100 @@ -0,0 +1,11 @@ +The libffi library provides a portable, high level programming interface +to various calling conventions. This allows a programmer to call any +function specified by a call interface description at run-time. + +FFI stands for Foreign Function Interface. A foreign function interface +is the popular name for the interface that allows code written in one +language to call code written in another language. +The libffi library really only provides the lowest, machine dependent +layer of a fully featured foreign function interface. +A layer must exist above libffi that handles type conversions for values +passed between the two languages. diff -r 83c8ab789fc1 -r 7186c6ae9ee7 libffi/receipt --- a/libffi/receipt Wed Mar 16 10:31:26 2022 +0100 +++ b/libffi/receipt Wed Mar 16 10:41:57 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libffi" -VERSION="3.3" +VERSION="3.4.2" CATEGORY="development" SHORT_DESC="A portable foreign function interface library." MAINTAINER="rcx@zoominternet.net" @@ -9,7 +9,7 @@ WEB_SITE="https://sourceware.org/libffi/" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL" +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL" DEPENDS="glibc-base" @@ -27,13 +27,12 @@ ./configure \ --includedir=/usr/include \ $CONFIGURE_ARGS && - make -j 1 && - make DESTDIR=$DESTDIR install + make && + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib + cook_copy_files *.so* }