binutils: update to 2.23.52.0.2.

This commit is contained in:
Juan RP 2013-05-10 09:35:57 +02:00
parent daf3cf3eb4
commit a6ab2e961d

View file

@ -1,7 +1,7 @@
# Template file for 'binutils'
pkgname=binutils
version=2.23.51.0.3
revision=2
version=2.23.52.0.2
revision=1
hostmakedepends="flex perl"
makedepends="zlib-devel"
short_desc="GNU binary utilities"
@ -9,7 +9,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/binutils/"
license="GPL-3"
distfiles="${KERNEL_SITE}/devel/binutils/$pkgname-$version.tar.xz"
checksum=2162905dabf191a2a803eab8d31e7be52d96d6ccd1e0ce42e25d82c6be918cd0
checksum=c2229d5d4067c782b67cfaf7f049acd8361407c0870991bc5430be5c548f6825
if [ "$CROSS_BUILD" ]; then
makedepends+=" libfl-devel"
@ -22,7 +22,8 @@ do_configure() {
./configure ${CONFIGURE_SHARED_ARGS} --enable-threads \
--enable-plugins --enable-secureplt --with-mmap \
--enable-shared --disable-bootstrap $CONFIGFLAG
--enable-shared --disable-bootstrap --with-sysroot=/usr \
$CONFIGFLAG
}
do_build() {
@ -46,10 +47,11 @@ do_build() {
do_install() {
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
mkdir -p ${SRCPKGDESTDIR}/usr/lib
cd ${SRCPKGDESTDIR}/usr && ln -s lib lib64 && cd ${wrksrc}
mkdir -p ${DESTDIR}/usr/lib
cd ${DESTDIR}/usr
ln -s lib lib64
cd ${wrksrc}
fi
make DESTDIR=${DESTDIR} tooldir=/usr install
# Remove ld.bfd (hardlink) and make a symlink.
@ -95,7 +97,7 @@ do_install() {
binutils-devel_package() {
depends="binutils>=$version"
short_desc="${short_desc} -- development files"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"