2009-02-24 07:13:11 +01:00
|
|
|
# Template file for 'binutils-devel'.
|
2009-02-20 07:18:26 +01:00
|
|
|
#
|
2009-03-11 06:31:56 +01:00
|
|
|
short_desc="binutils development files"
|
2009-02-20 07:18:26 +01:00
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains files for development, headers, static libs, etc."
|
2009-02-24 07:13:11 +01:00
|
|
|
|
|
|
|
Add_dependency run binutils
|
2009-02-20 07:18:26 +01:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2009-03-11 06:31:56 +01:00
|
|
|
mkdir -p ${DESTDIR}/usr/lib
|
2009-10-18 08:11:54 +02:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr || return 1
|
2009-02-20 07:18:26 +01:00
|
|
|
for f in libopcodes libbfd libiberty; do
|
2009-10-18 08:11:54 +02:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/${f}.*a \
|
|
|
|
${DESTDIR}/usr/lib || return 1
|
2009-03-11 06:31:56 +01:00
|
|
|
if [ -f ${SRCPKGDESTDIR}/usr/lib/${f}.so ]; then
|
2009-10-18 08:11:54 +02:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/${f}.so \
|
|
|
|
${DESTDIR}/usr/lib || return 1
|
2009-02-20 07:18:26 +01:00
|
|
|
fi
|
|
|
|
done
|
2009-10-18 08:11:54 +02:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/ldscripts \
|
|
|
|
${DESTDIR}/usr/lib || return 1
|
2009-02-20 07:18:26 +01:00
|
|
|
}
|