wok-next view libaio/receipt @ rev 20441
linux, linux-dev: fix mess with i386|i486, update 32bit config
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 24 05:41:11 2018 +0200 (2018-02-24) |
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 }