wok view libaio/receipt @ rev 20212

Force host arch to i486
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 24 12:51:10 2018 +0100 (2018-02-24)
parents 4904e3d374a9
children 86790a278e70
line source
1 # SliTaz package receipt.
3 PACKAGE="libaio"
4 VERSION="0.3.92"
5 CATEGORY="misc"
6 SHORT_DESC="Linux-native asynchronous I/O access library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|uname -m|echo i486|' src/Makefile
20 make prefix=/usr
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 install -D -m 755 $src/src/libaio.so.1 $fs/usr/lib/libaio.so.1
28 ln -sf libaio.so.1 $fs/usr/lib/libaio.so
29 }