2009-02-24 07:13:11 +01:00
|
|
|
# Template file for 'gcc-objc++'.
|
|
|
|
#
|
|
|
|
short_desc="GCC Objective-C++ support"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains GCC Objective-C++ support."
|
|
|
|
|
2011-07-10 17:55:00 +02:00
|
|
|
revision=1
|
|
|
|
|
2010-01-15 18:44:29 +01:00
|
|
|
Add_dependency run glibc
|
2010-04-15 19:16:31 +02:00
|
|
|
Add_dependency run zlib
|
2010-01-15 18:44:29 +01:00
|
|
|
Add_dependency run cloog-ppl
|
|
|
|
Add_dependency run ppl
|
2009-02-24 07:13:11 +01:00
|
|
|
Add_dependency run gmp
|
|
|
|
Add_dependency run mpfr
|
2010-04-15 19:16:31 +02:00
|
|
|
Add_dependency run mpc
|
2010-05-10 13:09:05 +02:00
|
|
|
Add_dependency run libelf
|
2010-04-15 19:16:31 +02:00
|
|
|
Add_dependency run gcc-c++ ">=$version"
|
|
|
|
Add_dependency run gcc-objc ">=$version"
|
2009-02-24 07:13:11 +01:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2011-07-10 17:55:00 +02:00
|
|
|
# create version -> major symlink
|
|
|
|
vmkdir usr/lib/gcc/${_triplet}/${_majorver}
|
|
|
|
ln -sf /usr/lib/gcc/${_triplet}/${_majorver} \
|
|
|
|
${DESTDIR}/usr/lib/gcc/${_triplet}/${version}
|
2009-02-24 07:13:11 +01:00
|
|
|
|
2011-07-10 17:55:00 +02:00
|
|
|
vmove usr/lib/gcc/${_triplet}/${_majorver}/cc1objplus \
|
|
|
|
usr/lib/gcc/${_triplet}/${_majorver}
|
2009-02-24 07:13:11 +01:00
|
|
|
}
|