vp-build/srcpkgs/gcc/gcc-c++.template
2011-07-10 18:46:49 +02:00

30 lines
675 B
Plaintext

# Template file for 'gcc-c++'.
#
short_desc="GCC C++ support"
long_desc="${long_desc}
This package contains GCC C++ support."
revision=2
Add_dependency run glibc
Add_dependency run zlib
Add_dependency run cloog-ppl
Add_dependency run ppl
Add_dependency run gmp
Add_dependency run mpfr
Add_dependency run mpc
Add_dependency run libelf
Add_dependency run gcc ">=$version"
Add_dependency run libstdc++-devel ">=$version"
do_install()
{
for f in g++ c++ ${_triplet}-g++ ${_triplet}-c++; do
vmove usr/bin/${f} usr/bin
done
vmove usr/lib/gcc/${_triplet}/${_majorver}/cc1plus \
usr/lib/gcc/${_triplet}/${_majorver}
vmove usr/share/man/man1/g++.1 usr/share/man/man1
}