blob: cc94b7b845f7e1d5f1dcd0144aac33ae08b2b0fb (
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
|
#!/bin/sh
NAME="bridge-utils"
DESC="Tools for configuring the Linux kernel 802.1d Ethernet Bridge"
MAKEDEPS="autoconf linux-headers"
PKG_VER=1.7.1
SOURCE="https://git.kernel.org/pub/scm/network/bridge/bridge-utils.git/snapshot/bridge-utils-$PKG_VER.tar.gz"
ADDITIONAL="
fix-PATH_MAX-on-ppc64le.patch
"
prepare() {
apply_patches
autoconf
}
build() {
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--libdir=/usr/lib \
--includedir=/usr/include
make
}
package() {
make install DESTDIR="$PKG_DEST"
}
|