wok-next view libaio/receipt @ rev 19915

Up xombrero
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 13 16:45:56 2017 +0300 (2017-10-13)
parents 4904e3d374a9
children 0e7893ac206d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libaio"
4 VERSION="0.3.110"
5 CATEGORY="misc"
6 SHORT_DESC="Linux-native asynchronous I/O access library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://lse.sourceforge.net/io/aio.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="https://www.kernel.org/pub/linux/kernel/people/bcrl/aio/$TARBALL" # historical
13 WGET_URL="http://ftp.de.debian.org/debian/pool/main/liba/libaio/libaio_$VERSION.orig.tar.gz"
15 SPLIT="libaio-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 CFLAGS="-march=${ARCH/_/-} -mtune=generic -O2 -pipe" &&
21 make &&
22 make prefix="$install/usr" install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 libaio) copy @std;;
30 *-dev) copy @dev;;
31 esac
32 }