Created
October 17, 2011 10:36
-
-
Save hauptmech/1292361 to your computer and use it in GitHub Desktop.
crosstool-ng PKGBUILD for archlinux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: jwwolf <jwwolf+arch@gmail.com> | |
pkgname=crosstool-ng | |
pkgver=1.12.4 | |
pkgrel=1 | |
pkgdesc="A versatile (cross-)toolchain generator" | |
arch=('i686' 'x86_64') | |
url="http://crosstool-ng.org/" | |
license=(GPL) | |
depends=('bash' 'cvs' 'make' 'gcc' 'gawk' 'sed' 'bison' 'flex' 'texinfo' 'automake' \ | |
'libtool' 'patch' 'tar' 'gzip' 'bzip2') | |
source=(http://crosstool-ng.org/download/$pkgname/$pkgname-$pkgver.tar.bz2) | |
build() { | |
cd "$srcdir/$pkgname-$pkgver" | |
./configure --prefix=/usr/local | |
make | |
} | |
package() { | |
cd "$srcdir/$pkgname-$pkgver" | |
make DESTDIR="${pkgdir}" install | |
install -D ct-ng.comp "${pkgdir}/etc/bash_completion.d/ct-ng.comp" | |
} | |
sha512sums=('6be2a32d692f67a67de9333aa200400559a77bc292cee627f57844e3f38923ce0d9336a3ca0fef6945c8007a1deeb9df9f3d365a9f48703eba1a0934976e8d59') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment