diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-21 03:34:10 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-21 03:34:10 +0000 |
commit | 96cf9235f114b8d960c16a8625937b16979ae1aa (patch) | |
tree | d2eed8b5352413c7d68cf5856b8112c0620b1942 /cross/xtensa-unknown-elf-gcc | |
parent | 2f8045ba14153d1665148e3cff527ce4f6bf66e5 (diff) |
Fri Feb 21 03:31:53 UTC 2014
Diffstat (limited to 'cross/xtensa-unknown-elf-gcc')
-rw-r--r-- | cross/xtensa-unknown-elf-gcc/PKGBUILD | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/cross/xtensa-unknown-elf-gcc/PKGBUILD b/cross/xtensa-unknown-elf-gcc/PKGBUILD index 50d125e8a..2d7364143 100644 --- a/cross/xtensa-unknown-elf-gcc/PKGBUILD +++ b/cross/xtensa-unknown-elf-gcc/PKGBUILD @@ -1,7 +1,8 @@ # $Id: PKGBUILD 186915 2013-05-31 23:25:14Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Maintainer (Parabola): André Silva <emulatorman@parabola.nu> -# Contributor (Parabola): Márcio Silva <coadde@lavabit.com> +# Maintainer (Parabola): Márcio Silva <coadde@parabola.nu> +# Contributor (Parabola): Taro <taro-k@movasense.com> _pkgname=gcc _target="xtensa-unknown-elf" @@ -9,12 +10,12 @@ _sysroot="/usr/$CHOST/${_target}" pkgname=${_target}-${_pkgname} pkgver=4.8.1 -pkgrel=1.3 +pkgrel=1.5 pkgdesc="The GNU Compiler Collection for the Xtensa architecture" arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL' 'custom') url="http://gcc.gnu.org" -makedepends=("${_target}-binutils>=2.23" 'libmpc' 'cloog' 'gcc-ada' 'doxygen') +makedepends=("binutils>=2.23" 'libmpc' 'cloog' 'gcc-ada' 'doxygen') checkdepends=('dejagnu' 'inetutils') options=('!libtool' '!emptydirs') source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2 @@ -78,6 +79,8 @@ build() { package() { pkgdesc="The GNU Compiler Collection for the Xtensa architecture" depends=("${_target}-binutils>=2.23" 'libmpc' 'cloog') + conflicts=gcc + provides="gcc=4.8.2" groups=("${_target}-devel") install=${_target}-gcc.install @@ -85,8 +88,16 @@ package() { make -j1 DESTDIR=${pkgdir} install-gcc - # many packages expect this symlinks - ln -s ${_target}-gcc ${pkgdir}/usr/bin/${_target}-cc + # many packages expect those symlinks + ln -s ${_target}-gcc ${pkgdir}/usr/bin/${_target}-cc + ln -s ${_target}-gcc ${pkgdir}/usr/bin/cc + ln -s ${_target}-cpp ${pkgdir}/usr/bin/cpp + ln -s ${_target}-gcc ${pkgdir}/usr/bin/gcc + ln -s ${_target}-gcc-4.8.1 ${pkgdir}/usr/bin/gcc-4.8.1 + ln -s ${_target}-gcc-ar ${pkgdir}/usr/bin/gcc-ar + ln -s ${_target}-gcc-nm ${pkgdir}/usr/bin/gcc-nm + ln -s ${_target}-gcc-ranlib ${pkgdir}/usr/bin/gcc-ranlib + ln -s ${_target}-gcov ${pkgdir}/usr/bin/gcov # Remove unnecessary files and folders rm $pkgdir/usr/share/info/* && rmdir $pkgdir/usr/share/info |