2009-02-24 07:13:11 +01:00
|
|
|
# Template file for 'gcc-c++'.
|
|
|
|
#
|
2011-11-15 17:20:37 +01:00
|
|
|
revision=3
|
2009-02-24 07:13:11 +01:00
|
|
|
short_desc="GCC C++ support"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains GCC C++ support."
|
|
|
|
|
2010-05-10 13:09:05 +02:00
|
|
|
Add_dependency run libelf
|
2010-04-15 19:16:31 +02:00
|
|
|
Add_dependency run gcc ">=$version"
|
|
|
|
Add_dependency run libstdc++-devel ">=$version"
|
2009-11-22 08:31:44 +01:00
|
|
|
|
2009-02-24 07:13:11 +01:00
|
|
|
do_install()
|
|
|
|
{
|
2011-07-10 17:55:00 +02:00
|
|
|
for f in g++ c++ ${_triplet}-g++ ${_triplet}-c++; do
|
|
|
|
vmove usr/bin/${f} usr/bin
|
2009-02-24 07:13:11 +01:00
|
|
|
done
|
2011-07-10 17:55:00 +02: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 07:13:11 +01:00
|
|
|
}
|