summaryrefslogblamecommitdiff
path: root/system/libaio/APKBUILD
blob: efc8e8311de9a3167cef3dd90aededacc9487990 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                      
              
        



                                            
          
                           
                          
                                                                          
                          
                             
         
                                            

         
                                               


         




                                                                          


                                         


                                                                                                                                                                   
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname="libaio"
pkgver=0.3.113
pkgrel=0
pkgdesc="Asynchronous input/output library"
url="http://lse.sourceforge.net/io/aio.html"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends="linux-headers"
subpackages="$pkgname-dev"
source="https://releases.pagure.org/${pkgname}/${pkgname}-${pkgver}.tar.gz
	posix-header.patch
	disable-test-18.patch
	"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"

build() {
        make LDFLAGS="$LDFLAGS -lssp_nonshared"
}

check() {
        # the full testsuite requires root and attempts to do a loop mount
        make partcheck
}

package() {
	make prefix="$pkgdir/usr" install
}

sha512sums="8058c927de0b5f7079fc232d2be23272537694bf271488af1dc0330b58afc307931792ab138512c5e00aa3ea921935a6d862f575fb0cc2bf323de63d8df208cd  libaio-0.3.113.tar.gz
4cc9ad9f1020bc6397c3847cc511bed93fe4c5391ef00094b6704c8ba3f9e295e35e60536ecb3e306713caac9fdb81ecc3d083d8e96cc20db39a105d16b7ab84  posix-header.patch
1324ffbbac8132b447237d8207c45c23bb6cde42f754bcbf8e726aa4c11d617ab41a35811972a5f755d9abafc2725cdd86ffd652c28a6472f798cb02be1743c3  disable-test-18.patch"