summaryrefslogtreecommitdiffstats
path: root/main/bridge-utils/APKBUILD
blob: 0caaed9bcfea6939740783fb18647c62c6a93817 (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
# 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://bridge.sourceforge.net/"
license="GPL-2"
subpackages="$pkgname-dev $pkgname-doc"
depends="uclibc"
makedepends="autoconf"
source="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"