blob: 6a10d794247224c497f97f15f02575bb856935a3 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bridge-utils
pkgver=1.6
pkgrel=0
pkgdesc="Tools for configuring the Linux kernel 802.1d Ethernet Bridge"
url="https://www.kernel.org/pub/linux/utils/net/bridge-utils/"
arch="all"
license="GPL2+"
subpackages="$pkgname-doc"
depends=""
makedepends="autoconf linux-headers"
source="https://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
autoconf
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
--libdir=/usr/lib \
--includedir=/usr/include
make
test -x brctl/brctl
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir"
}
sha512sums="b2ed39bc67349b7b91f2068cb505c0e3c89a8797d61e3d97ff957796cfe5fcef2c26dd788bd4215f628d69a4c8592377f4e632c3e181e87af3eaa238d8741e02 bridge-utils-1.6.tar.xz"
|