summaryrefslogtreecommitdiffstats
path: root/main/bridge-utils/APKBUILD
blob: f1c997f97c2ab4784421c4405bf8db0add985475 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bridge-utils
pkgver=1.4
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-dev $pkgname-doc"
depends=""
makedepends="autoconf"
source="http://downloads.sourceforge.net/project/bridge/bridge/bridge-utils-$pkgver/bridge-utils-$pkgver.tar.gz"
#"http://download.sourceforge.net/bridge/$pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	autoconf
	# src_compile
	./configure --prefix=/ \
		--mandir=/usr/share/man \
		--libdir=/usr/lib \
		--includedir=/usr/include \
		|| return 1
	make || return 1
	make install DESTDIR="$pkgdir" || return 1
}
md5sums="0182fcac3a2b307113bbec34e5f1c673  bridge-utils-1.4.tar.gz"