mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-08 18:22:30 +01:00
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=bridge-utils
|
|
pkgver=1.5
|
|
pkgrel=3
|
|
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
|
|
00-musl-headers.patch
|
|
"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
prepare() {
|
|
cd "${_builddir}" || return 1
|
|
for p in $source; do
|
|
case $p in
|
|
*.patch)
|
|
msg $p; patch -p1 -i "$srcdir"/$p || return 1
|
|
;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
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
|
|
0835358641d481269ab6a5b2fb186060 00-musl-headers.patch"
|
|
sha256sums="42f9e5fb8f6c52e63a98a43b81bd281c227c529f194913e1c51ec48a393b6688 bridge-utils-1.5.tar.gz
|
|
8cf2f4b57604a8287b9103430ce40dfefa3bd48e8bbca6a08299b03924c58557 00-musl-headers.patch"
|
|
sha512sums="4e525fbd3defb509664ef3b728d9e5edfb92beaebdb5d7733d8203fb38cb3f4bb54d02dc1e28813889a2ee19c78b9b47da6d99c8032481a7fd7f104658dea7c3 bridge-utils-1.5.tar.gz
|
|
12d8e736bb854c33c3bfcc8fc0d32e721c6655c5aed1e4a0f368c93fb06b6d0f5090a8b19a8527cb1a824747ee6d9f9df788a35dcf955e63e7c45c1bae0f48fe 00-musl-headers.patch"
|