gnu-config: added package to install config.sub and config.guess.
This commit is contained in:
parent
bac77ab7ad
commit
f0a705b8f2
@ -109,8 +109,14 @@ unpack()
|
||||
let n++
|
||||
done
|
||||
|
||||
find "$cfg_dir_builds/$PKG" -name config.sub -exec install -v -m 0755 "$cfg_dir_downloads"/config.sub '{}' \;
|
||||
find "$cfg_dir_builds/$PKG" -name config.guess -exec install -v -m 0755 "$cfg_dir_downloads"/config.guess '{}' \;
|
||||
dir_gnu_cfg="$cfg_dir_toolchain/share/gnu-config"
|
||||
if [ "$cfg_dir_cfg/config.sub" ]; then
|
||||
find "$cfg_dir_builds/$PKG" -name config.sub -exec install -v -m 0755 "$dir_gnu_cfg/config.sub" '{}' \;
|
||||
fi
|
||||
|
||||
if [ "$cfg_dir_cfg/config.guess" ]; then
|
||||
find "$cfg_dir_builds/$PKG" -name config.guess -exec install -v -m 0755 "$dir_gnu_cfg/config.guess" '{}' \;
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ maintainer=\
|
||||
|
||||
requires=\
|
||||
(
|
||||
'gnu-config/host'
|
||||
'bzip2/host'
|
||||
'xz/host'
|
||||
'zip/host'
|
||||
|
27
packages/gnu-config/host.bash
Executable file
27
packages/gnu-config/host.bash
Executable file
@ -0,0 +1,27 @@
|
||||
version=\
|
||||
(
|
||||
'1.0'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://www.lsts.pt/glued/gnu-config-$version.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'6bd074b651c9145466532bd8786fbb30'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
host_install()
|
||||
{
|
||||
dir="$cfg_dir_toolchain/share/gnu-config"
|
||||
$cmd_mkdir "$dir" &&
|
||||
cp -v "../gnu-config-$version/config.sub" "$dir" &&
|
||||
cp -v "../gnu-config-$version/config.guess" "$dir"
|
||||
}
|
Reference in New Issue
Block a user