diff options
Diffstat (limited to 'libre/crosstool-ng/PKGBUILD')
-rw-r--r-- | libre/crosstool-ng/PKGBUILD | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/libre/crosstool-ng/PKGBUILD b/libre/crosstool-ng/PKGBUILD index 971bbf669..7b77166fe 100644 --- a/libre/crosstool-ng/PKGBUILD +++ b/libre/crosstool-ng/PKGBUILD @@ -1,33 +1,35 @@ # Contributor (Arch): jwwolf <jwwolf+arch@gmail.com> # Maintainer: fauno <fauno@kiwwwi.com.ar> # Contributor: Márcio Silva <coadde@parabola.nu> +# Contributor: André Silva <emulatorman@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) +pkgver=1.21.0 +pkgrel=1.parabola1 +pkgdesc='Versatile cross-toolchain generator, with Linux-libre kernel support' +arch=('i686' 'x86_64') +url='http://crosstool-ng.org/' +license=('GPL2') +depends=('make' 'gperf' 'wget') +options=('!makeflags') +source=(http://crosstool-ng.org/download/$pkgname/$pkgname-$pkgver.tar.bz2 + ctng-libre.patch) -build() { - cd $srcdir/$pkgname-$pkgver - #patch -Np1 -i $srcdir/libc_ports_short_name.patch +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ../ctng-libre.patch +} +build() { + cd $pkgname-$pkgver ./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 + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 ct-ng.comp "$pkgdir"/usr/share/bash-completion/completions/ct-ng } -sha1sums=('b7ae3e90756b499ff5362064b7d80f8a45d09bfb') -sha256sums=('cd54f20bb8190533b21c9cf7f93c9073c22d59541f52774c3f3053264ba53a93') +sha256sums=('67122ba42657da258f23de4a639bc49c6ca7fe2173b5efba60ce729c6cce7a41' + '75e06ee8e4cb2629564604498796240cbe57219bd235cade6b6982b7b0836136') |