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."
|
|
|
|
|
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
|
2009-02-24 06:13:11 +00:00
|
|
|
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 libobjc ">=$version"
|
2009-11-22 07:31:44 +00:00
|
|
|
|
2009-02-24 06:13:11 +00:00
|
|
|
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/lib/gcc/${triplet}/${version}
|
|
|
|
mkdir -p ${DESTDIR}/usr/libexec/gcc/${triplet}/${version}/include
|
2009-02-24 06:13:11 +00:00
|
|
|
|
2009-03-11 05:31:56 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/gcc/${triplet}/${version}/include/objc \
|
|
|
|
${DESTDIR}/usr/lib/gcc/${triplet}/${version}/include
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/libexec/gcc/${triplet}/${version}/cc1obj \
|
|
|
|
${DESTDIR}/usr/libexec/gcc/${triplet}/${version}
|
2009-02-24 06:13:11 +00:00
|
|
|
}
|