aboutsummaryrefslogtreecommitdiffstats
path: root/main/bridge-utils/APKBUILD
blob: e4d111a2b7b5b6a87585e6c580cec6ffac0225b3 (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bridge-utils
pkgver=1.4
pkgrel=0
pkgdesc="Tools for configuring the Linux kernel 802.1d Ethernet Bridge"
url="http://linux-net.osdl.org/index.php/Bridge"
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"