summaryrefslogtreecommitdiffstats
path: root/main/bridge-utils/APKBUILD
blob: cf5a9f9cdcf1206c19e98ba3daf27418910aa535 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bridge-utils
pkgver=1.5
pkgrel=0
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 --prefix=/ \
		--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"