blob: 4a4835019fe730e8c1f0bdc77e0979dae8a88883 (
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
|
#!/bin/sh
NAME="libmnl"
DESC="Library for minimalistic netlink"
MAKEDEPS=" linux-headers musl-legacy-compat"
PKG_VER=1.0.5
SOURCE="https://www.netfilter.org/projects/libmnl/files/libmnl-$PKG_VER.tar.bz2"
ADDITIONAL="
musl-fix-headers.patch
"
prepare () {
apply_patches
sed -i 's/--no-dereference --preserve=links,mode,timestamps/-p/g' doxygen/Makefile.in
}
build() {
./configure \
--prefix=/usr \
--enable-static \
--without-doxygen
}
check() {
make check
}
package() {
make DESTDIR="$PKG_DEST" install
}
|