summaryrefslogtreecommitdiff
path: root/repo/libaio/libaio.xibuild
blob: 88025021f885e5398ab40bb9b261c3ebce0d34bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

NAME="libaio"
DESC="Asynchronous input/output library"

MAKEDEPS="make "
DEPS="musl "

PKG_VER=0.3.113
SOURCE="https://releases.pagure.org/libaio/libaio-$PKG_VER.tar.gz"
ADDITIONAL="test.patch test-poll.patch libaio-optional-werror.patch libaio-errno.patch libaio-cppflags.patch gnudesignator.patch"

prepare () {
    apply_patches
}

build () {
    make PREFIX=/usr
}

check() {
	make partcheck
}

package () {
    make PREFIX=/usr DESTDIR=$PKG_DEST install
    cd man
	find ./ -name "*.3" -exec install -Dm 644 {} "$PKG_DEST"/usr/share/man/man3/{} \;

}