wok view libaio/receipt @ rev 21367

updated litmus (0.12.1 -> 0.13)
author Hans-G?nter Theisgen
date Sun Apr 21 17:10:28 2019 +0100 (2019-04-21)
parents bbb977124ce1
children d2f1ecac9d81
line source
1 # SliTaz package receipt.
3 PACKAGE="libaio"
4 VERSION="0.3.111"
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="http://lse.sourceforge.net/io/aio.html"
11 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
12 WGET_URL="http://ftp.de.debian.org/debian/pool/main/liba/$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|' src/Makefile
21 make prefix=/usr
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 install -D -m 755 $src/src/libaio.so.* $fs/usr/lib/
29 lib=$(cd $src/src; ls libaio.so.* | tail -n 1)
30 ln=$lib
31 while true; do
32 ln=${ln%.*}
33 ln -sf $lib $fs/usr/lib/$ln
34 [ $ln = libaio.so ] && break
35 done
36 }