aboutsummaryrefslogtreecommitdiffstats
path: root/testing/crosstool-ng/APKBUILD
blob: 44cf0d3f35b312ae7588fa677101cc0660613428 (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.22.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 help2man "
install=
subpackages="$pkgname-doc"
source="http://ymorin.is-a-geek.org/download/crosstool-ng/crosstool-ng-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname

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="23d5de6b95f86ad2674bcf6859b9664f  crosstool-ng-1.22.0.tar.bz2"
sha256sums="d6338a9b33f9d972167049bbe76e88b1e9248466a53df08dcfe8bcfe849d8d83  crosstool-ng-1.22.0.tar.bz2"
sha512sums="986c93435bd2115a7e19b3068aaa6deb9fea8056b389fc5cc578cbef3652514e1e794089cd9a4282f0e0bf73cf8d9e480b68aeabe7c16b627e7ad5afe46fcc9c  crosstool-ng-1.22.0.tar.bz2"