# HG changeset patch # User Pascal Bellard # Date 1350118354 -7200 # Node ID d65b3051e86c8d6d05ca5322863fd991922cfc81 # Parent 4510e539d085dda2328cec016c70383ba881fb13 Add libaio diff -r 4510e539d085 -r d65b3051e86c libaio-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libaio-dev/receipt Sat Oct 13 10:52:34 2012 +0200 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="libaio-dev" +VERSION="0.3.92" +CATEGORY="development" +SHORT_DESC="Linux-native asynchronous I/O access library, development files." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/" +WANTED="libaio" + +DEPENDS="libaio" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/include + install -D -m 644 $src/src/libaio.h $fs/usr/include/libaio.h + install -D -m 644 $src/src/libaio.a $fs/usr/lib/libaio.a +} + diff -r 4510e539d085 -r d65b3051e86c libaio/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libaio/receipt Sat Oct 13 10:52:34 2012 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="libaio" +VERSION="0.3.92" +CATEGORY="development" +SHORT_DESC="Linux-native asynchronous I/O access library." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/" +WGET_URL="${WEB_SITE}$TARBALL" + +DEPENDS="" +BUILD_DEPENDS="" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make prefix=/usr +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + install -D -m 755 $src/src/libaio.so.1 $fs/usr/lib/libaio.so.1 + ln -sf libaio.so.1 $fs/usr/lib/libaio.so +} +