aboutsummaryrefslogtreecommitdiffstats
path: root/main/bridge-utils/APKBUILD
blob: 74151a5a362b68af68b327d19e600a34935c7c6d (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
33
34
35
36
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bridge-utils
pkgver=1.5
pkgrel=2
pkgdesc="Tools for configuring the Linux kernel 802.1d Ethernet Bridge"
url="http://sourceforge.net/projects/bridge/"
arch="all"
license="GPL2+"
subpackages="$pkgname-doc"
depends=""
makedepends="autoconf"
source="http://downloads.sourceforge.net/project/bridge/bridge/bridge-utils-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	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 "$_builddir"
	make install DESTDIR="$pkgdir" || return 1
}

md5sums="ec7b381160b340648dede58c31bb2238  bridge-utils-1.5.tar.gz"
sha256sums="42f9e5fb8f6c52e63a98a43b81bd281c227c529f194913e1c51ec48a393b6688  bridge-utils-1.5.tar.gz"
sha512sums="4e525fbd3defb509664ef3b728d9e5edfb92beaebdb5d7733d8203fb38cb3f4bb54d02dc1e28813889a2ee19c78b9b47da6d99c8032481a7fd7f104658dea7c3  bridge-utils-1.5.tar.gz"