summaryrefslogtreecommitdiffstats
path: root/main/bridge-utils/APKBUILD
blob: d76110b10b33ac898a9bb4e7b4f43f7f8ca09434 (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
# 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="uclibc"
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"