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