wok-next diff libaio/receipt @ rev 13498
Add libaio
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 13 10:52:34 2012 +0200 (2012-10-13) |
parents | |
children | cb4f24462873 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libaio/receipt Sat Oct 13 10:52:34 2012 +0200 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libaio" 1.7 +VERSION="0.3.92" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Linux-native asynchronous I/O access library." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/" 1.13 +WGET_URL="${WEB_SITE}$TARBALL" 1.14 + 1.15 +DEPENDS="" 1.16 +BUILD_DEPENDS="" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + make prefix=/usr 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/lib 1.29 + install -D -m 755 $src/src/libaio.so.1 $fs/usr/lib/libaio.so.1 1.30 + ln -sf libaio.so.1 $fs/usr/lib/libaio.so 1.31 +} 1.32 +