binutils: update to 2.20.
--HG-- extra : convert_revision : 5cbd79c459a2ecb9f588b1075f1bb2e7fda63fab
This commit is contained in:
parent
2ca66d70b5
commit
195d7e4070
2 changed files with 15 additions and 7 deletions
|
@ -10,12 +10,15 @@ Add_dependency run binutils
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
mkdir -p ${DESTDIR}/usr/lib
|
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
|
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
|
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
|
fi
|
||||||
done
|
done
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/ldscripts ${DESTDIR}/usr/lib
|
mv ${SRCPKGDESTDIR}/usr/lib/ldscripts \
|
||||||
|
${DESTDIR}/usr/lib || return 1
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'binutils'
|
# Template file for 'binutils'
|
||||||
pkgname=binutils
|
pkgname=binutils
|
||||||
version=2.19.1
|
version=2.20
|
||||||
distfiles="http://ftp.gnu.org/gnu/binutils/$pkgname-$version.tar.bz2"
|
distfiles="http://ftp.gnu.org/gnu/binutils/$pkgname-$version.tar.bz2"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--disable-werror --enable-shared --enable-multilib
|
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"
|
make_install_args="tooldir=/usr"
|
||||||
short_desc="GNU binary utilities"
|
short_desc="GNU binary utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=3e8225b4d7ace0a2039de752e11fd6922d3b89a7259a292c347391c4788739f6
|
checksum=e1df09f0aa3b50154ef93bfefe86d65d01c22cfb44d73299ad95e772133a75b0
|
||||||
long_desc="
|
long_desc="
|
||||||
The GNU binutils package contains essential tools to assemble, link and
|
The GNU binutils package contains essential tools to assemble, link and
|
||||||
manipulate binary and object files. They are often used with a compiler
|
manipulate binary and object files. They are often used with a compiler
|
||||||
|
@ -24,5 +24,10 @@ long_desc="
|
||||||
|
|
||||||
base_chroot=yes
|
base_chroot=yes
|
||||||
subpackages="devel"
|
subpackages="devel"
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
|
|
||||||
|
post_install()
|
||||||
|
{
|
||||||
|
# Remove info file that conflicts with autoconf.
|
||||||
|
rm -f ${DESTDIR}/usr/share/info/standards.info
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue