summaryrefslogtreecommitdiff
path: root/cross/cross-mipsel-unknown-linux-gnu-binutils
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-03-16 14:22:25 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-03-16 14:22:25 -0300
commit4ba1a73242acac2cc908fa22c16c1b0b8b4fdf86 (patch)
tree78b34101c4588bdcd7172caee7fb17a3ec9586f9 /cross/cross-mipsel-unknown-linux-gnu-binutils
parent841b15b36a632fca19a37f59928c280392590a9c (diff)
remove unused cross pkgs
Diffstat (limited to 'cross/cross-mipsel-unknown-linux-gnu-binutils')
-rw-r--r--cross/cross-mipsel-unknown-linux-gnu-binutils/PKGBUILD51
1 files changed, 0 insertions, 51 deletions
diff --git a/cross/cross-mipsel-unknown-linux-gnu-binutils/PKGBUILD b/cross/cross-mipsel-unknown-linux-gnu-binutils/PKGBUILD
deleted file mode 100644
index 24125950f..000000000
--- a/cross/cross-mipsel-unknown-linux-gnu-binutils/PKGBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# Contributor: Vojtech Horky <vojta . horky at-symbol seznam . cz>
-pkgname=cross-mipsel-linux-gnu-binutils
-_pkgname=binutils
-_target="mipsel-linux-gnu"
-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')
-source=("ftp://ftp.gnu.org/gnu/binutils/${_pkgname}-${pkgver}.tar.bz2")
-_sysroot="/usr/lib/cross-${_target}"
-md5sums=('ee0f10756c84979622b992a4a61ea3f5')
-
-build() {
- cd ${srcdir}/${_pkgname}-${pkgver}
-
- ./configure \
- "--prefix=${_sysroot}" \
- "--bindir=/usr/bin" "--program-prefix=${_target}-" \
- "--with-sysroot=${_sysroot}" \
- "--target=${_target}" "--build=$CHOST" "--host=$CHOST" \
- "--disable-nls" \
- --with-gcc --with-gnu-as --with-gnu-ld \
- --without-included-gettext
-
- make all
-}
-
-package() {
- cd ${srcdir}/${_pkgname}-${pkgver}
-
- make DESTDIR=${pkgdir} install
-
- msg "Removing duplicit files..."
- # remove these files as they are already in the system
- # (with native binutils)
- rm -Rf ${pkgdir}${_sysroot}/share/{man,info}
- # remove conflicting binaries
- find ${pkgdir}/usr/bin/ -type f -not -name 'mipsel-linux-gnu-*' -delete
-
- msg "Creating out-of-path executables..."
- # symlink executables to single directory with no-arch-prefix name
- mkdir -p ${pkgdir}/usr/bin/cross/${_target}/;
- cd ${pkgdir}/usr/bin/cross/${_target}/;
- for bin in ${pkgdir}/usr/bin/${_target}-*; do
- bbin=`basename "$bin"`;
- ln -s "/usr/bin/${bbin}" `echo "$bbin" | sed "s#^${_target}-##"`;
- done
-}