Mercurial > vanilla
view lib/libaio/libaio.sh @ 1219:337f950c30f5
misc: use SPDX licenses
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 30 Sep 2021 09:05:45 +0200 |
parents | 6710613b88b9 |
children | 4ccc42bf0284 |
line wrap: on
line source
#!/bin/sh # # Copyright (c) 2019 David Demelier <markand@malikania.fr> # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # PKGNAME=libaio PKGVERSION=0.3.111 PKGREVISION=1 PKGLICENSE="LGPL-2.1-or-later" PKGSUMMARY="Linux asynchronous I/O library" PKGDOWNLOAD="https://pagure.io/$PKGNAME/archive/$PKGNAME-$PKGVERSION/$PKGNAME-$PKGNAME-$PKGVERSION.tar.gz" PKGDEPENDS="linux-headers" : ${CC:=clang} rm -rf $PKGNAME-$PKGVERSION tar xvf $PKGNAME-$PKGNAME-$PKGVERSION.tar.gz cd $PKGNAME-$PKGNAME-$PKGVERSION # TODO: honor CFLAGS. make CC="$CC" install \ prefix=$DESTDIR/ \ sysconfdir=$DESTDIR/etc \ mandir=$DESTDIR/share/man \ infodir=$DESTDIR/share/info cd .. rm -rf $PKGNAME-$PKGNAME-$PKGVERSION