2009-02-24 06:13:11 +00:00
|
|
|
# Template file for 'gcc-c++'.
|
|
|
|
#
|
|
|
|
short_desc="GCC C++ support"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains GCC C++ support."
|
|
|
|
|
2011-07-10 16:46:49 +00:00
|
|
|
revision=2
|
2011-07-10 15:55:00 +00:00
|
|
|
|
2010-01-15 17:44:29 +00:00
|
|
|
Add_dependency run glibc
|
2010-04-15 17:16:31 +00:00
|
|
|
Add_dependency run zlib
|
2010-01-15 17:44:29 +00:00
|
|
|
Add_dependency run cloog-ppl
|
|
|
|
Add_dependency run ppl
|
|
|
|
Add_dependency run gmp
|
|
|
|
Add_dependency run mpfr
|
2010-04-15 17:16:31 +00:00
|
|
|
Add_dependency run mpc
|
2010-05-10 11:09:05 +00:00
|
|
|
Add_dependency run libelf
|
2010-04-15 17:16:31 +00:00
|
|
|
Add_dependency run gcc ">=$version"
|
|
|
|
Add_dependency run libstdc++-devel ">=$version"
|
2009-11-22 07:31:44 +00:00
|
|
|
|
2009-02-24 06:13:11 +00:00
|
|
|
do_install()
|
|
|
|
{
|
2011-07-10 15:55:00 +00:00
|
|
|
for f in g++ c++ ${_triplet}-g++ ${_triplet}-c++; do
|
|
|
|
vmove usr/bin/${f} usr/bin
|
2009-02-24 06:13:11 +00:00
|
|
|
done
|
2011-07-10 15:55:00 +00:00
|
|
|
vmove usr/lib/gcc/${_triplet}/${_majorver}/cc1plus \
|
|
|
|
usr/lib/gcc/${_triplet}/${_majorver}
|
|
|
|
vmove usr/share/man/man1/g++.1 usr/share/man/man1
|
2009-02-24 06:13:11 +00:00
|
|
|
}
|