blob: 2eb6dc18c19bafda837b21a68adaa0bc9714dc89 (
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.18.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="3376d389c632baa77f0bce1db1a196a9 crosstool-ng-1.18.0.tar.bz2"
sha256sums="6961812e8cd9c28c8be32d9ac6dee36ed2645405dcbb70c0e9646672febd2be6 crosstool-ng-1.18.0.tar.bz2"
sha512sums="ca4d3dc4badce78ea440515f2ed949be76fd3b36268ca9177c9b0b8b470af28224a1c1a820b0ec4c320369abf9d237e612c0a4dd3eaf41a5054ecb5dd1a2c960 crosstool-ng-1.18.0.tar.bz2"
|