wok-next view libaio/receipt @ rev 20200
libgnomeprint: add bison 3 patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 17:38:15 2017 +0100 (2017-11-03) |
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 }