summaryrefslogtreecommitdiffstats
path: root/main/bridge-utils/APKBUILD
blob: df74070e26b22cbcc7b10a92a5ceb47c06fd3ea9 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bridge-utils
pkgver=1.5
pkgrel=1
pkgdesc="Tools for configuring the Linux kernel 802.1d Ethernet Bridge"
url="http://linux-net.osdl.org/index.php/Bridge"
arch="all"
license="GPL-2"
subpackages="$pkgname-doc"
depends=""
makedepends="autoconf"
source="http://downloads.sourceforge.net/project/bridge/bridge/bridge-utils-$pkgver.tar.gz"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	autoconf
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--libdir=/usr/lib \
		--includedir=/usr/include \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make install DESTDIR="$pkgdir" || return 1
}
md5sums="ec7b381160b340648dede58c31bb2238  bridge-utils-1.5.tar.gz"