diff options
Diffstat (limited to 'repo/bridge-utils/bridge-utils.xibuild')
-rw-r--r-- | repo/bridge-utils/bridge-utils.xibuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/repo/bridge-utils/bridge-utils.xibuild b/repo/bridge-utils/bridge-utils.xibuild new file mode 100644 index 0000000..cc94b7b --- /dev/null +++ b/repo/bridge-utils/bridge-utils.xibuild @@ -0,0 +1,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" +} + |