wok-6.x annotate libaio/receipt @ rev 20480
musl-libc: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 17 23:43:25 2018 +0300 (2018-10-17) |
parents | 3705d68ed8f3 |
children | 9f1194f96046 |
rev | line source |
---|---|
pascal@13498 | 1 # SliTaz package receipt. |
pascal@13498 | 2 |
pascal@13498 | 3 PACKAGE="libaio" |
pascal@13498 | 4 VERSION="0.3.92" |
pascal@13499 | 5 CATEGORY="misc" |
pascal@13498 | 6 SHORT_DESC="Linux-native asynchronous I/O access library." |
pascal@13498 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14714 | 8 LICENSE="LGPL2.1" |
pascal@13498 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20421 | 10 WEB_SITE="https://www.kernel.org/pub/linux/kernel/people/bcrl/aio/" |
pascal@13498 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@13498 | 12 |
pascal@13498 | 13 DEPENDS="" |
pascal@13498 | 14 BUILD_DEPENDS="" |
pascal@13498 | 15 |
pascal@13498 | 16 # Rules to configure and make the package. |
pascal@13498 | 17 compile_rules() |
pascal@13498 | 18 { |
pascal@20212 | 19 sed -i 's|uname -m|echo i486|' src/Makefile |
pascal@13498 | 20 make prefix=/usr |
pascal@13498 | 21 } |
pascal@13498 | 22 |
pascal@13498 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13498 | 24 genpkg_rules() |
pascal@13498 | 25 { |
pascal@13498 | 26 mkdir -p $fs/usr/lib |
pascal@13498 | 27 install -D -m 755 $src/src/libaio.so.1 $fs/usr/lib/libaio.so.1 |
pascal@13498 | 28 ln -sf libaio.so.1 $fs/usr/lib/libaio.so |
pascal@13498 | 29 } |
pascal@13498 | 30 |