wok-next view libaio/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 46d3691a4f80 |
children | 228b9c951d97 |
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 compile_rules() {
18 CFLAGS="-march=${ARCH/_/-} -mtune=generic -O2 -pipe" &&
19 make &&
20 make prefix="$install/usr" install
21 }
23 genpkg_rules() {
24 case $PACKAGE in
25 libaio) copy @std;;
26 *-dev) copy @dev;;
27 esac
28 }