summaryrefslogblamecommitdiff
path: root/system/libaio/APKBUILD
blob: f46e8b582cf436871106550358648860676f56e5 (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.112
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="http://ftp.debian.org/debian/pool/main/liba/$pkgname/${pkgname}_${pkgver}.orig.tar.xz
	improper-strncpy-usage.patch
	posix-header.patch
	"

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="612f0adeea4926ced914b43ec550bf821bef348e6c787f9e3c1a545e5667121692a9af7ebaab14744aca7132a071083a1120bd01e31726932f3ceb9be51891a7  libaio_0.3.112.orig.tar.xz
8294a17b60676838375b3f17b84af19f3f3224788bdc944eda6b235305f48b6b292899f9d528be7b4b87305e7beac409afc0f250d052454b2a739bd990104b83  improper-strncpy-usage.patch
4cc9ad9f1020bc6397c3847cc511bed93fe4c5391ef00094b6704c8ba3f9e295e35e60536ecb3e306713caac9fdb81ecc3d083d8e96cc20db39a105d16b7ab84  posix-header.patch"