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/gcc/common.bash
2014-01-06 17:11:16 +00:00

25 lines
365 B
Bash

version=\
(
'4.8.2'
)
url=\
(
"http://mirrors.kernel.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2"
)
md5=\
(
'a3d7d63b9cb6b6ea049469a0c4a43c9d'
)
build_dir=$PKG_VAR
post_unpack()
{
patches=$(ls "$cfg_package_spec_dir/patches-${version}/"*.patch)
if [ -n "$patches" ]; then
cd "../gcc-$version" && cat $patches | patch -p1
fi
}