wok rev 23001

updated libaio and libaio-dev (0.3.111 -> 0.3.112)
author Hans-G?nter Theisgen
date Mon Mar 02 16:49:47 2020 +0100 (2020-03-02)
parents ae377eba9841
children 2443e7e7a2db
files libaio-dev/receipt libaio/receipt
line diff
     1.1 --- a/libaio-dev/receipt	Mon Mar 02 16:23:52 2020 +0100
     1.2 +++ b/libaio-dev/receipt	Mon Mar 02 16:49:47 2020 +0100
     1.3 @@ -1,21 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libaio-dev"
     1.7 -VERSION="0.3.111"
     1.8 +VERSION="0.3.112"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Linux-native asynchronous I/O access library, development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="LGPL2.1"
    1.13 -WEB_SITE="http://lse.sourceforge.net/io/aio.html"
    1.14 +WEB_SITE="https://pagure.io/libaio"
    1.15  
    1.16 +DEPENDS="libaio"
    1.17  WANTED="libaio"
    1.18 -DEPENDS="libaio"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.   
    1.21  genpkg_rules()                                      
    1.22  {
    1.23 -	mkdir -p $fs/usr/lib $fs/usr/include
    1.24 +	mkdir -p $fs/usr/lib
    1.25 +	mkdir -p $fs/usr/include
    1.26  
    1.27 -	install -D -m 644 $src/src/libaio.h $fs/usr/include/libaio.h
    1.28 -	install -D -m 644 $src/src/libaio.a $fs/usr/lib/libaio.a
    1.29 +	install -D -m 644 $src/src/libaio.h	$fs/usr/include/libaio.h
    1.30 +	install -D -m 644 $src/src/libaio.a	$fs/usr/lib/libaio.a
    1.31  }
     2.1 --- a/libaio/receipt	Mon Mar 02 16:23:52 2020 +0100
     2.2 +++ b/libaio/receipt	Mon Mar 02 16:49:47 2020 +0100
     2.3 @@ -1,15 +1,15 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libaio"
     2.7 -VERSION="0.3.111"
     2.8 +VERSION="0.3.112"
     2.9  CATEGORY="misc"
    2.10  SHORT_DESC="Linux-native asynchronous I/O access library."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="LGPL2.1"
    2.13 -WEB_SITE="http://lse.sourceforge.net/io/aio.html"
    2.14 +WEB_SITE="https://pagure.io/libaio"
    2.15  
    2.16 -TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
    2.17 -WGET_URL="http://ftp.de.debian.org/debian/pool/main/liba/$PACKAGE/$TARBALL"
    2.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.19 +WGET_URL="https://releases.pagure.org/$PACKAGE/$TARBALL"
    2.20  
    2.21  DEPENDS=""
    2.22  BUILD_DEPENDS=""
    2.23 @@ -17,7 +17,9 @@
    2.24  # Rules to configure and make the package.
    2.25  compile_rules()
    2.26  {
    2.27 -	sed -i 's|uname -m|echo i486|' src/Makefile
    2.28 +	sed -i 's|uname -m|echo i486|' \
    2.29 +		src/Makefile
    2.30 +
    2.31  	make prefix=/usr
    2.32  }
    2.33  
    2.34 @@ -25,12 +27,13 @@
    2.35  genpkg_rules()                                      
    2.36  {
    2.37  	mkdir -p $fs/usr/lib
    2.38 -	install -D -m 755 $src/src/libaio.so.* $fs/usr/lib/
    2.39 +	install -D -m 755 $src/src/libaio.so.*	$fs/usr/lib/
    2.40  	lib=$(cd $src/src; ls libaio.so.* | tail -n 1)
    2.41  	ln=$lib
    2.42 -	while true; do
    2.43 +	while true
    2.44 +	  do
    2.45  		ln=${ln%.*}
    2.46  		ln -sf $lib $fs/usr/lib/$ln
    2.47  		[ $ln = libaio.so ] && break
    2.48 -	done
    2.49 +	  done
    2.50  }