wok-next annotate libaio/receipt @ rev 15084
nabi: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 20:24:47 2013 +0000 (2013-08-13) |
parents | cb4f24462873 |
children | 46d3691a4f80 |
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@13498 | 10 WEB_SITE="http://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@13498 | 19 cd $src |
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 |