wok-current rev 13498

Add libaio
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 13 10:52:34 2012 +0200 (2012-10-13)
parents 4510e539d085
children cb4f24462873
files libaio-dev/receipt libaio/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libaio-dev/receipt	Sat Oct 13 10:52:34 2012 +0200
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libaio-dev"
     1.7 +VERSION="0.3.92"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Linux-native asynchronous I/O access library, development files."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/"
    1.12 +WANTED="libaio"
    1.13 +
    1.14 +DEPENDS="libaio"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.17 +genpkg_rules()                                      
    1.18 +{
    1.19 +	mkdir -p $fs/usr/lib $fs/usr/include
    1.20 +	install -D -m 644 $src/src/libaio.h $fs/usr/include/libaio.h
    1.21 +	install -D -m 644 $src/src/libaio.a $fs/usr/lib/libaio.a
    1.22 +}
    1.23 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libaio/receipt	Sat Oct 13 10:52:34 2012 +0200
     2.3 @@ -0,0 +1,29 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libaio"
     2.7 +VERSION="0.3.92"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Linux-native asynchronous I/O access library."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12 +WEB_SITE="http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/"
    2.13 +WGET_URL="${WEB_SITE}$TARBALL"
    2.14 +
    2.15 +DEPENDS=""
    2.16 +BUILD_DEPENDS=""
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +compile_rules()
    2.20 +{
    2.21 +	cd $src
    2.22 +	make prefix=/usr
    2.23 +}
    2.24 +
    2.25 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    2.26 +genpkg_rules()                                      
    2.27 +{
    2.28 +	mkdir -p $fs/usr/lib
    2.29 +	install -D -m 755 $src/src/libaio.so.1 $fs/usr/lib/libaio.so.1
    2.30 +	ln -sf libaio.so.1 $fs/usr/lib/libaio.so
    2.31 +}
    2.32 +