SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "bridge-utils"

# SliTaz package receipt.

PACKAGE="bridge-utils"
VERSION="1.5"
CATEGORY="system-tools"
SHORT_DESC="IEEE 802.1d ethernet bridging"
MAINTAINER="erjo@slitaz.org"
TARBALL="${PACKAGE}-${VERSION}.tar.gz"
WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge"
WGET_URL="$SF_MIRROR/bridge/$TARBALL"
TAGS="ethernet bridge"

BUILD_DEPENDS="autoconf automake"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    autoconf 
    ./configure --prefix=/usr &&
    make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $_pkg/usr/sbin  $fs/usr
}

# Overlap busybox
pre_install()
{
    rm -f $1/usr/sbin/brctl
}

post_remove()
{
    ln -s /bin/busybox $1/usr/sbin/brctl
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)