wok rev 24743

updated libffi and libffi-dev (3.3 -> 3.4.2)
author Hans-G?nter Theisgen
date Wed Mar 16 10:41:57 2022 +0100 (2022-03-16)
parents 83c8ab789fc1
children 4ce52a0b72fd
files libffi-dev/receipt libffi/description.txt libffi/receipt
line diff
     1.1 --- a/libffi-dev/receipt	Wed Mar 16 10:31:26 2022 +0100
     1.2 +++ b/libffi-dev/receipt	Wed Mar 16 10:41:57 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libffi-dev"
     1.7 -VERSION="3.3"
     1.8 +VERSION="3.4.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Libffi, development files."
    1.11  MAINTAINER="rcx@zoominternet.net"
    1.12 @@ -16,10 +16,5 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr/lib
    1.17 -
    1.18 -	cp -a $install/usr/include		$fs/usr
    1.19 -	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.20 -	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.21 -#	cp -a $install/usr/lib/$WANTED-$VERSION	$fs/usr/lib
    1.22 +	get_dev_files
    1.23  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libffi/description.txt	Wed Mar 16 10:41:57 2022 +0100
     2.3 @@ -0,0 +1,11 @@
     2.4 +The libffi library provides a portable, high level programming interface
     2.5 +to various calling conventions. This allows a programmer to call any
     2.6 +function specified by a call interface description at run-time.
     2.7 +
     2.8 +FFI stands for Foreign Function Interface. A foreign function interface
     2.9 +is the popular name for the interface that allows code written in one
    2.10 +language to call code written in another language.
    2.11 +The libffi library really only provides the lowest, machine dependent
    2.12 +layer of a fully featured foreign function interface.
    2.13 +A layer must exist above libffi that handles type conversions for values
    2.14 +passed between the two languages.
     3.1 --- a/libffi/receipt	Wed Mar 16 10:31:26 2022 +0100
     3.2 +++ b/libffi/receipt	Wed Mar 16 10:41:57 2022 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libffi"
     3.7 -VERSION="3.3"
     3.8 +VERSION="3.4.2"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="A portable foreign function interface library."
    3.11  MAINTAINER="rcx@zoominternet.net"
    3.12 @@ -9,7 +9,7 @@
    3.13  WEB_SITE="https://sourceware.org/libffi/"
    3.14  
    3.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.16 -WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL"
    3.17 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    3.18  
    3.19  DEPENDS="glibc-base"
    3.20  
    3.21 @@ -27,13 +27,12 @@
    3.22  	./configure				\
    3.23  		--includedir=/usr/include	\
    3.24  		$CONFIGURE_ARGS  &&
    3.25 -	make -j 1 &&
    3.26 -	make DESTDIR=$DESTDIR install
    3.27 +	make &&
    3.28 +	make install DESTDIR=$DESTDIR
    3.29  }
    3.30  
    3.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.32  genpkg_rules()
    3.33  {
    3.34 -	mkdir -p $fs/usr/lib
    3.35 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    3.36 +	cook_copy_files	*.so*
    3.37  }