blob: b076dc743e8746ad35ef9046e41d65d55b2d213d (
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
34
35
36
37
38
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=crosstool-ng
pkgver=1.19.0
pkgrel=0
pkgdesc="tool for building toolchains"
url="http://ymorin.is-a-geek.org/projects/crosstool"
license="GPL"
arch="x86 x86_64"
depends="bash gawk bison flex automake autoconf libtool cvs sed texinfo gperf"
makedepends="ncurses-dev"
install=
subpackages="$pkgname-doc"
source="http://ymorin.is-a-geek.org/download/crosstool-ng/crosstool-ng-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
# apply patches here
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="882e5420ec0ff5a19a9d027ec5094527 crosstool-ng-1.19.0.tar.bz2"
sha256sums="cd54f20bb8190533b21c9cf7f93c9073c22d59541f52774c3f3053264ba53a93 crosstool-ng-1.19.0.tar.bz2"
sha512sums="ad9a1763a3178acf028f36c189d4588372c325d4494ec90cb4fccc5a889a89595cc85586f0380bed8238cff4ce07e49ef5f47779048da2956d3bf380bd4d2f17 crosstool-ng-1.19.0.tar.bz2"
|