2009-02-24 06:13:11 +00:00
|
|
|
# Template file for 'gcc-objc++'.
|
|
|
|
#
|
|
|
|
short_desc="GCC Objective-C++ support"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains GCC Objective-C++ support."
|
|
|
|
|
|
|
|
Add_dependency run gmp
|
|
|
|
Add_dependency run mpfr
|
|
|
|
Add_dependency run gcc-c++
|
|
|
|
Add_dependency run gcc-objc
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
local triplet=
|
|
|
|
|
|
|
|
if [ "${xbps_machine}" = "x86_64" ]; then
|
|
|
|
triplet="${xbps_machine}-unknown-linux-gnu"
|
|
|
|
else
|
|
|
|
triplet="${xbps_machine}-pc-linux-gnu"
|
|
|
|
fi
|
|
|
|
|
2009-03-11 05:31:56 +00:00
|
|
|
mkdir -p ${DESTDIR}/usr/libexec/gcc/${triplet}/${version}
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/libexec/gcc/${triplet}/${version}/cc1objplus \
|
|
|
|
${DESTDIR}/usr/libexec/gcc/${triplet}/${version}
|
2009-02-24 06:13:11 +00:00
|
|
|
}
|