wok view libaio/receipt @ rev 21906

updated shared-mime-info and shared-mime-info-dev (1.6 -> 1.14)
author Hans-G?nter Theisgen
date Fri Oct 04 14:42:51 2019 +0100 (2019-10-04)
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 }