summaryrefslogblamecommitdiff
path: root/system/libaio/APKBUILD
blob: 1cdb24e377ce36ce0acb54db4567fb59d592076e (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
	"

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

check() {
	rm harness/cases/18.t #405
	rm harness/cases/23.t #674

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

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

sha512sums="65c30a102433bf8386581b03fc706d84bd341be249fbdee11a032b237a7b239e8c27413504fef15e2797b1acd67f752526637005889590ecb380e2e120ab0b71  libaio-0.3.113.tar.gz
4cc9ad9f1020bc6397c3847cc511bed93fe4c5391ef00094b6704c8ba3f9e295e35e60536ecb3e306713caac9fdb81ecc3d083d8e96cc20db39a105d16b7ab84  posix-header.patch"