blob: 6c9b45fc1e193e54fb37be96870f5bd093c445b4 (
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.112
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 () {
CFLAGS="-Wgnu-designator" 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/{} \;
}
|