summaryrefslogtreecommitdiff
path: root/libre/crosstool-ng/PKGBUILD
blob: f7036e8ba79dc3ecb3996012131b5be105f6f994 (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
# Contributor: jwwolf <jwwolf+arch@gmail.com>
# Maintainer (Parabola): fauno <fauno@kiwwwi.com.ar>

pkgname=crosstool-ng
pkgver=1.11.3
pkgrel=2
pkgdesc="A versatile cross toolchain generator (eglibc addons patch)"
arch=('i686' 'x86_64')
url="http://crosstool-ng.org/"
license=(GPL2)
depends=('cvs')
optdepends=('subversion: for retrieving eglibc sources')
source=(http://crosstool-ng.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2
        libc_ports_short_name.patch)
md5sums=('3830cbdcc7e1a60c93caeaf98f718187'
         '0a95af7e6ba35e02e38c71a3121b4448')

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
}