2016-10-21 17:59:16 +02:00
|
|
|
|
# Description: Linux ethernet köprüleme konfigürasyonları için çeşitli araçlar.
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://sourceforge.net/projects/bridge/
|
|
|
|
|
# Packager: pierre at nutyx dot org
|
|
|
|
|
# Depends on:
|
|
|
|
|
name=bridge-utils
|
|
|
|
|
version=1.5
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=( http://sourceforge.net/projects/bridge/files/bridge/$name-$version.tar.gz
|
|
|
|
|
http://www.linuxfromscratch.org/patches/blfs/svn/bridge-utils-1.5-linux_3.8_fix-1.patch)
|
|
|
|
|
build() {
|
|
|
|
|
source /etc/blfs-bootscripts
|
|
|
|
|
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
|
|
|
|
|
tar xvf $scripts-$scriptsversion.tar.bz2
|
|
|
|
|
|
|
|
|
|
cd $name-$version
|
|
|
|
|
patch -Np1 -i ../bridge-utils-1.5-linux_3.8_fix-1.patch
|
|
|
|
|
autoconf -o configure configure.in
|
|
|
|
|
./configure --prefix=/usr
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
|
|
# service
|
|
|
|
|
|
|
|
|
|
cd $SRC/$scripts-$scriptsversion
|
|
|
|
|
make DESTDIR=$PKG install-service-bridge
|
|
|
|
|
}
|