Imported sources from subversion.

This commit is contained in:
Ricardo Martins
2013-07-13 17:19:22 +01:00
commit 12d63d1569
455 changed files with 69857 additions and 0 deletions

24
packages/gcc/common.bash Normal file
View File

@@ -0,0 +1,24 @@
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
}