blob: 18de571e2f462079533277d6846a61031365a9c5 (
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
31
32
33
34
35
36
37
|
#!/bin/sh
NAME="libbsd"
DESC="commonly-used BSD functions not implemented by all libcs"
MAKEDEPS="libmd"
PKG_VER=0.11.6
SOURCE="https://libbsd.freedesktop.org/releases/libbsd-$PKG_VER.tar.xz"
ADDITIONAL="
disable-fpurge-test.patch
"
prepare() {
apply_patches
./autogen
}
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make
}
check() {
make check
}
package() {
make DESTDIR="$PKG_DEST" install
}
|