wok view libaio/receipt @ rev 23138
updated littleutils (1.0.41 -> 1.0.43)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 15 06:30:38 2020 +0100 (2020-03-15) |
parents | 0bfa0a833a34 |
children | 3e9a9990c985 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libaio"
4 VERSION="0.3.112"
5 CATEGORY="misc"
6 SHORT_DESC="Linux-native asynchronous I/O access library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://pagure.io/libaio"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://releases.pagure.org/$PACKAGE/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|uname -m|echo i486|' \
21 src/Makefile
23 make prefix=/usr
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 install -D -m 755 $src/src/libaio.so.* $fs/usr/lib/
31 lib=$(cd $src/src; ls libaio.so.* | tail -n 1)
32 ln=$lib
33 while true
34 do
35 ln=${ln%.*}
36 ln -sf $lib $fs/usr/lib/$ln
37 [ $ln = libaio.so ] && break
38 done
39 }