wok diff libaio/receipt @ rev 23591

python-pysol-cards: added build dependency
author Hans-G?nter Theisgen
date Wed Apr 08 10:35:39 2020 +0100 (2020-04-08)
parents 0bfa0a833a34
children 3e9a9990c985
line diff
     1.1 --- a/libaio/receipt	Sat Apr 06 16:53:25 2019 +0200
     1.2 +++ b/libaio/receipt	Wed Apr 08 10:35:39 2020 +0100
     1.3 @@ -1,15 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libaio"
     1.7 -VERSION="0.3.111"
     1.8 +VERSION="0.3.112"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="Linux-native asynchronous I/O access library."
    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 -TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
    1.17 -WGET_URL="http://ftp.de.debian.org/debian/pool/main/liba/$PACKAGE/$TARBALL"
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19 +WGET_URL="https://releases.pagure.org/$PACKAGE/$TARBALL"
    1.20  
    1.21  DEPENDS=""
    1.22  BUILD_DEPENDS=""
    1.23 @@ -17,7 +17,9 @@
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	sed -i 's|uname -m|echo i486|' src/Makefile
    1.28 +	sed -i 's|uname -m|echo i486|' \
    1.29 +		src/Makefile
    1.30 +
    1.31  	make prefix=/usr
    1.32  }
    1.33  
    1.34 @@ -25,12 +27,13 @@
    1.35  genpkg_rules()                                      
    1.36  {
    1.37  	mkdir -p $fs/usr/lib
    1.38 -	install -D -m 755 $src/src/libaio.so.* $fs/usr/lib/
    1.39 +	install -D -m 755 $src/src/libaio.so.*	$fs/usr/lib/
    1.40  	lib=$(cd $src/src; ls libaio.so.* | tail -n 1)
    1.41  	ln=$lib
    1.42 -	while true; do
    1.43 +	while true
    1.44 +	  do
    1.45  		ln=${ln%.*}
    1.46  		ln -sf $lib $fs/usr/lib/$ln
    1.47  		[ $ln = libaio.so ] && break
    1.48 -	done
    1.49 +	  done
    1.50  }