wok annotate libaio/receipt @ rev 23272
updated pam_krb5 (4.6 -> 4,8)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 28 14:37:42 2020 +0100 (2020-03-28) |
parents | 0bfa0a833a34 |
children | 3e9a9990c985 |
rev | line source |
---|---|
pascal@13498 | 1 # SliTaz package receipt. |
pascal@13498 | 2 |
pascal@13498 | 3 PACKAGE="libaio" |
Hans-G?nter@23001 | 4 VERSION="0.3.112" |
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" |
Hans-G?nter@23001 | 9 WEB_SITE="https://pagure.io/libaio" |
Hans-G?nter@21111 | 10 |
Hans-G?nter@23001 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23001 | 12 WGET_URL="https://releases.pagure.org/$PACKAGE/$TARBALL" |
pascal@13498 | 13 |
pascal@13498 | 14 DEPENDS="" |
pascal@13498 | 15 BUILD_DEPENDS="" |
pascal@13498 | 16 |
pascal@13498 | 17 # Rules to configure and make the package. |
pascal@13498 | 18 compile_rules() |
pascal@13498 | 19 { |
Hans-G?nter@23001 | 20 sed -i 's|uname -m|echo i486|' \ |
Hans-G?nter@23001 | 21 src/Makefile |
Hans-G?nter@23001 | 22 |
pascal@13498 | 23 make prefix=/usr |
pascal@13498 | 24 } |
pascal@13498 | 25 |
pascal@13498 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13498 | 27 genpkg_rules() |
pascal@13498 | 28 { |
pascal@13498 | 29 mkdir -p $fs/usr/lib |
Hans-G?nter@23001 | 30 install -D -m 755 $src/src/libaio.so.* $fs/usr/lib/ |
pascal@21199 | 31 lib=$(cd $src/src; ls libaio.so.* | tail -n 1) |
pascal@21196 | 32 ln=$lib |
Hans-G?nter@23001 | 33 while true |
Hans-G?nter@23001 | 34 do |
pascal@21196 | 35 ln=${ln%.*} |
pascal@21196 | 36 ln -sf $lib $fs/usr/lib/$ln |
pascal@21196 | 37 [ $ln = libaio.so ] && break |
Hans-G?nter@23001 | 38 done |
pascal@13498 | 39 } |