aboutsummaryrefslogtreecommitdiffstats
path: root/testing/crosstool-ng/APKBUILD
blob: 258fb8329f5963d7104d34af0d11e6b326dcbbcd (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=crosstool-ng
pkgver=1.15.2
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="0d03314debb73de37a72014632bf1ab3  crosstool-ng-1.15.2.tar.bz2"