summaryrefslogtreecommitdiff
path: root/libre/crosstool-ng/PKGBUILD
blob: 971bbf6696c1b977f488b7883640bacc35753c87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor (Arch): jwwolf <jwwolf+arch@gmail.com>
# Maintainer: fauno <fauno@kiwwwi.com.ar>
# Contributor: Márcio Silva <coadde@parabola.nu>

pkgname=crosstool-ng
pkgver=1.19.0
pkgrel=1
pkgdesc="A versatile cross toolchain generator (eglibc addons patch)"
arch=('i686' 'x86_64' 'mips64el')
url="http://crosstool-ng.org/"
license=(GPL2)
depends=('cvs' 'curl' 'gperf' 'wget')
makedepends=('libtool')
optdepends=('subversion: for retrieving eglibc sources')
source=(http://crosstool-ng.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
        #libc_ports_short_name.patch)

build() {
  cd $srcdir/$pkgname-$pkgver
  #patch -Np1 -i $srcdir/libc_ports_short_name.patch

  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install

  install -Dm644 ct-ng.comp ${pkgdir}/usr/share/bash-completion/completions/ct-ng
}
sha1sums=('b7ae3e90756b499ff5362064b7d80f8a45d09bfb')
sha256sums=('cd54f20bb8190533b21c9cf7f93c9073c22d59541f52774c3f3053264ba53a93')