diff options
author | Tyler Veness | 2016-08-14 17:04:25 -0700 |
---|---|---|
committer | Tyler Veness | 2016-08-14 17:04:25 -0700 |
commit | 66842884ead482aee60cfcf4429b4e90fd8a67a8 (patch) | |
tree | 883f0fc0118908d1534283f9c9acc47acdbf2038 | |
download | aur-66842884ead482aee60cfcf4429b4e90fd8a67a8.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 47 |
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..43b84f14abd9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = powerpc-wrs-vxworks-binutils + pkgdesc = A set of programs to assemble and manipulate binary and object files (powerpc-wrs-vxworks) + pkgver = 2.27 + pkgrel = 1 + url = http://sources.redhat.com/binutils + arch = i686 + arch = x86_64 + license = GPL + depends = binutils + depends = wrs-vxworks-headers + provides = binutils-powerpc-wrs-vxworks + conflicts = binutils-powerpc-wrs-vxworks + options = !strip + options = !libtool + options = !zipman + options = !buildflags + options = staticlibs + source = http://ftp.gnu.org/gnu/binutils/binutils-2.27.tar.bz2 + sha512sums = cf276f84935312361a2ca077e04d0b469d23a3aed979d8ba5d92ea590904ffb2c2e7ed12cc842822bfc402836be86f479660cef3791aa62f3753d8a1a6f564cb + +pkgname = powerpc-wrs-vxworks-binutils + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d2f1a5e7ce6d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Tyler Veness <calcmogul at gmail dot com> +# Contributor: Alex Brinister <alex_brinister@yahoo.com> + +_target="powerpc-wrs-vxworks" +pkgname=${_target}-binutils +pkgver=2.27 +pkgrel=1 +pkgdesc="A set of programs to assemble and manipulate binary and object files (${_target})" +arch=('i686' 'x86_64') +url="http://sources.redhat.com/binutils" +license=('GPL') +depends=('binutils' 'wrs-vxworks-headers') +conflicts=('binutils-powerpc-wrs-vxworks') +provides=('binutils-powerpc-wrs-vxworks') +options=('!strip' '!libtool' '!zipman' '!buildflags' 'staticlibs') +source=(http://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2) +sha512sums=('cf276f84935312361a2ca077e04d0b469d23a3aed979d8ba5d92ea590904ffb2c2e7ed12cc842822bfc402836be86f479660cef3791aa62f3753d8a1a6f564cb') + +build() { + cd "$srcdir/binutils-${pkgver}" + + find -name config.cache -exec rm {} \; + source /etc/profile.d/wind_base.sh + + [ $NOEXTRACT -eq 1 ] || ./configure \ + --prefix=/usr \ + --target=${_target} \ + --with-sysroot=/usr/${_target} \ + --disable-multilib \ + --disable-nls \ + --enable-lto \ + --disable-libiberty-install \ + --enable-ld=default \ + --enable-gold \ + --enable-plugins + + make configure-host + make +} + +package() { + cd "$srcdir/binutils-${pkgver}" + + make DESTDIR=$pkgdir install + + rm -r "$pkgdir"/usr/share/info +} |