wok-next diff libaio/receipt @ rev 20200
libgnomeprint: add bison 3 patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 17:38:15 2017 +0100 (2017-11-03) |
parents | 4904e3d374a9 |
children | 0e7893ac206d |
line diff
1.1 --- a/libaio/receipt Tue Jun 11 10:41:23 2013 +0200 1.2 +++ b/libaio/receipt Fri Nov 03 17:38:15 2017 +0100 1.3 @@ -1,30 +1,32 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libaio" 1.8 -VERSION="0.3.92" 1.9 +VERSION="0.3.110" 1.10 CATEGORY="misc" 1.11 -SHORT_DESC="Linux-native asynchronous I/O access library." 1.12 +SHORT_DESC="Linux-native asynchronous I/O access library" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="LGPL2.1" 1.15 +WEB_SITE="http://lse.sourceforge.net/io/aio.html" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/" 1.19 -WGET_URL="${WEB_SITE}$TARBALL" 1.20 +#WGET_URL="https://www.kernel.org/pub/linux/kernel/people/bcrl/aio/$TARBALL" # historical 1.21 +WGET_URL="http://ftp.de.debian.org/debian/pool/main/liba/libaio/libaio_$VERSION.orig.tar.gz" 1.22 1.23 -DEPENDS="" 1.24 -BUILD_DEPENDS="" 1.25 +SPLIT="libaio-dev" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - cd $src 1.31 - make prefix=/usr 1.32 + CFLAGS="-march=${ARCH/_/-} -mtune=generic -O2 -pipe" && 1.33 + make && 1.34 + make prefix="$install/usr" install 1.35 } 1.36 1.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 -genpkg_rules() 1.39 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 +genpkg_rules() 1.41 { 1.42 - mkdir -p $fs/usr/lib 1.43 - install -D -m 755 $src/src/libaio.so.1 $fs/usr/lib/libaio.so.1 1.44 - ln -sf libaio.so.1 $fs/usr/lib/libaio.so 1.45 + case $PACKAGE in 1.46 + libaio) copy @std;; 1.47 + *-dev) copy @dev;; 1.48 + esac 1.49 } 1.50 -