This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/packages/bridge-utils/default.bash
2013-07-13 17:19:22 +01:00

47 lines
731 B
Bash

version=\
(
"1.4"
)
url=\
(
"http://downloads.sourceforge.net/project/bridge/bridge/bridge-utils-$version/bridge-utils-$version.tar.gz"
)
md5=\
(
"0182fcac3a2b307113bbec34e5f1c673"
)
maintainer=\
(
"Ricardo Martins <rasm@fe.up.pt>"
)
post_unpack()
{
cd ../bridge-utils-$version && autoreconf
}
configure()
{
cd ../bridge-utils-$version &&
./configure \
--prefix="$cfg_dir_rootfs/usr" \
--target=$cfg_target_canonical \
--host=$cfg_target_canonical \
--build=$cfg_host_canonical
}
build()
{
cd ../bridge-utils-$version &&
$cmd_make
}
target_install()
{
cd ../bridge-utils-$version &&
$cmd_target_strip brctl/brctl -o $cfg_dir_rootfs/usr/bin/brctl
}