wok-next view libaio/receipt @ rev 20213

directfb: add libpng patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 04 22:29:34 2017 +0100 (2017-11-04)
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 }