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
2013-07-13 17:19:22 +01:00

25 lines
365 B
Bash

version=\
(
'4.6.4'
)
url=\
(
"http://mirrors.kernel.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2"
)
md5=\
(
'b407a3d1480c11667f293bfb1f17d1a4'
)
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
}