summaryrefslogtreecommitdiff
path: root/cross/xtensa-unknown-elf-binutils/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-23 16:15:08 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-23 16:15:08 -0300
commit44ae571c1d57a21af2c915b42bb656cf0d69c9ee (patch)
tree757e53f443e27a95d1b1b0cdf337c2147953fc46 /cross/xtensa-unknown-elf-binutils/PKGBUILD
parenteadbb9961b89668e4aed317f5dd97cb04e86663e (diff)
parent1d20e4962664ab152948a14b4320b12204a1053e (diff)
Merge branch 'master' of gparabola:abslibre/abslibre-pre-mips64el
Conflicts: community/libftdi/PKGBUILD community/lxshortcut/PKGBUILD community/pcmanfm/PKGBUILD community/qingy/PKGBUILD community/yagf/PKGBUILD extra/ethtool/PKGBUILD extra/gptfdisk/PKGBUILD extra/postgresql/PKGBUILD extra/xfburn/PKGBUILD libre/linux-libre/PKGBUILD
Diffstat (limited to 'cross/xtensa-unknown-elf-binutils/PKGBUILD')
-rw-r--r--cross/xtensa-unknown-elf-binutils/PKGBUILD25
1 files changed, 23 insertions, 2 deletions
diff --git a/cross/xtensa-unknown-elf-binutils/PKGBUILD b/cross/xtensa-unknown-elf-binutils/PKGBUILD
index 7b864eeb6..76d6bda78 100644
--- a/cross/xtensa-unknown-elf-binutils/PKGBUILD
+++ b/cross/xtensa-unknown-elf-binutils/PKGBUILD
@@ -1,20 +1,23 @@
# $Id: PKGBUILD 182407 2013-04-10 07:34:20Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Maintainer (Parabola): Márcio Silva <coadde@parabola.nu>
+# Contributor (Parabola): Taro <taro-k@movasense.com>
_pkgname=binutils
_target="xtensa-unknown-elf"
pkgname=${_target}-${_pkgname}
pkgver=2.23.2
-pkgrel=2.5
+pkgrel=2.7
pkgdesc="A set of programs to assemble and manipulate binary and object files for the Xtensa architecture"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/binutils/"
license=('GPL')
groups=("${_target}-base-devel")
depends=('glibc>=2.17' 'zlib')
+conflicts=binutils
+provides="binutils=2.24"
options=('!libtool' '!distcc' '!ccache')
install=${_target}-binutils.install
source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}
@@ -70,4 +73,22 @@ package() {
rm $pkgdir/usr/lib/libiberty.a
rm $pkgdir/usr/$CHOST/${_target}/include/* && rmdir $pkgdir/usr/$CHOST/${_target}/include
rm $pkgdir/usr/share/info/* && rmdir $pkgdir/usr/share/info
+
+ # many packages expect those symlinks
+ ln -s ${_target}-addr2line $pkgdir/usr/bin/addr2line
+ ln -s ${_target}-ar $pkgdir/usr/bin/ar
+ ln -s ${_target}-as $pkgdir/usr/bin/as
+ ln -s ${_target}-c++filt $pkgdir/usr/bin/c++filt
+ ln -s ${_target}-elfedit $pkgdir/usr/bin/elfedit
+ ln -s ${_target}-gprof $pkgdir/usr/bin/gprof
+ ln -s ${_target}-ld $pkgdir/usr/bin/ld
+ ln -s ${_target}-ld.bfd $pkgdir/usr/bin/ld.bfd
+ ln -s ${_target}-nm $pkgdir/usr/bin/nm
+ ln -s ${_target}-objcopy $pkgdir/usr/bin/objcopy
+ ln -s ${_target}-objdump $pkgdir/usr/bin/objdump
+ ln -s ${_target}-ranlib $pkgdir/usr/bin/ranlib
+ ln -s ${_target}-readelf $pkgdir/usr/bin/readelf
+ ln -s ${_target}-size $pkgdir/usr/bin/size
+ ln -s ${_target}-strings $pkgdir/usr/bin/strings
+ ln -s ${_target}-strip $pkgdir/usr/bin/strip
}