mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
26 lines
723 B
Bash
26 lines
723 B
Bash
# $Id: PKGBUILD 13092 2008-09-25 22:04:38Z ronald $
|
|
# Maintainer:
|
|
# Contributor: Judd Vinet <judd@archlinux.org>
|
|
pkgname=bridge-utils
|
|
pkgver=1.4
|
|
pkgrel=2
|
|
pkgdesc="Layer2 ethernet bridging for Linux"
|
|
arch=(i686 x86_64)
|
|
url="http://www.linuxfoundation.org/en/Net:Bridge"
|
|
license=('GPL2')
|
|
backup=('etc/conf.d/bridges')
|
|
depends=('glibc')
|
|
source=(http://downloads.sourceforge.net/bridge/bridge-utils-$pkgver.tar.gz \
|
|
bridges.conf.d)
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
aclocal
|
|
autoconf
|
|
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install || return 1
|
|
|
|
# install config file
|
|
install -D -m644 ../bridges.conf.d $startdir/pkg/etc/conf.d/bridges
|
|
}
|