diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-01-21 09:33:03 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-01-21 09:33:03 -0300 |
commit | 937eb01e21e38c02329131cf14485f8d2c25eab3 (patch) | |
tree | eb538f56335f5ee7d619279c3821a692fd1fb695 /cross | |
parent | 41aaeff3b18a469be5c13b696cd88f82fab4d673 (diff) | |
download | abslibre-937eb01e21e38c02329131cf14485f8d2c25eab3.tar.gz abslibre-937eb01e21e38c02329131cf14485f8d2c25eab3.tar.bz2 abslibre-937eb01e21e38c02329131cf14485f8d2c25eab3.zip |
Lost the packages, starting again
Diffstat (limited to 'cross')
-rw-r--r-- | cross/mips64el-unknown-linux-gnu-binutils/PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/cross/mips64el-unknown-linux-gnu-binutils/PKGBUILD b/cross/mips64el-unknown-linux-gnu-binutils/PKGBUILD new file mode 100644 index 000000000..f03ce3b47 --- /dev/null +++ b/cross/mips64el-unknown-linux-gnu-binutils/PKGBUILD @@ -0,0 +1,46 @@ +# Contributor: Vojtech Horky <vojta . horky at-symbol seznam . cz> + +_pkgname=binutils +_target="mips64el-unknown-linux-gnu" +_sysroot="/usr/${_target}" + +unset CFLAGS CXXFLAGS LDFLAGS + +pkgname=${_target}-binutils +pkgver=2.22 +pkgrel=1 +pkgdesc="A set of programs to assemble and manipulate binary and object files for the MIPS architecture" +url="http://www.gnu.org/software/binutils/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('zlib') +provices=("cross-${pkgname}") +source=("ftp://ftp.gnu.org/gnu/binutils/${_pkgname}-${pkgver}.tar.bz2") +md5sums=('ee0f10756c84979622b992a4a61ea3f5') + +build() { + cd ${srcdir}/${_pkgname}-${pkgver} + + CFLAGS=" -pipe "\ + CXXFLAGS=" -pipe "\ + ./configure --build=${CHOST} \ + --host=${CHOST} \ + --target=${_target} \ + --prefix=/usr \ + --disable-nls \ + --disable-multilib \ + --disable-werror \ + --enable-ld=yes \ + --enable-gold=no \ + --with-sysroot=${_sysroot} + + make +} + +package() { + cd ${srcdir}/${_pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install + + rm -r ${pkgdir}/usr/{lib,share} +} |