binutils: update to 2.20.

--HG--
extra : convert_revision : 5cbd79c459a2ecb9f588b1075f1bb2e7fda63fab
This commit is contained in:
Juan RP 2009-10-18 08:11:54 +02:00
parent 2ca66d70b5
commit 195d7e4070
2 changed files with 15 additions and 7 deletions

View file

@ -10,12 +10,15 @@ Add_dependency run binutils
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr || return 1
for f in libopcodes libbfd libiberty; do
mv ${SRCPKGDESTDIR}/usr/lib/${f}.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/${f}.*a \
${DESTDIR}/usr/lib || return 1
if [ -f ${SRCPKGDESTDIR}/usr/lib/${f}.so ]; then
mv ${SRCPKGDESTDIR}/usr/lib/${f}.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/${f}.so \
${DESTDIR}/usr/lib || return 1
fi
done
mv ${SRCPKGDESTDIR}/usr/lib/ldscripts ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/ldscripts \
${DESTDIR}/usr/lib || return 1
}

View file

@ -1,6 +1,6 @@
# Template file for 'binutils'
pkgname=binutils
version=2.19.1
version=2.20
distfiles="http://ftp.gnu.org/gnu/binutils/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-werror --enable-shared --enable-multilib
@ -8,7 +8,7 @@ configure_args="--disable-werror --enable-shared --enable-multilib
make_install_args="tooldir=/usr"
short_desc="GNU binary utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=3e8225b4d7ace0a2039de752e11fd6922d3b89a7259a292c347391c4788739f6
checksum=e1df09f0aa3b50154ef93bfefe86d65d01c22cfb44d73299ad95e772133a75b0
long_desc="
The GNU binutils package contains essential tools to assemble, link and
manipulate binary and object files. They are often used with a compiler
@ -24,5 +24,10 @@ long_desc="
base_chroot=yes
subpackages="devel"
Add_dependency run glibc
post_install()
{
# Remove info file that conflicts with autoconf.
rm -f ${DESTDIR}/usr/share/info/standards.info
}