aboutsummaryrefslogtreecommitdiffstats
path: root/testing/crosstool-ng
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-10-01 14:03:49 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-10-01 14:03:49 +0000
commitc50b83138fb7634f766ded2e08598b60b3e4998c (patch)
treed3fcfc8d8693bd2b0a14b72c83a79f8d903058db /testing/crosstool-ng
parent25ba50983b9ae9edbaeb63503dccc58992260edb (diff)
downloadaports-c50b83138fb7634f766ded2e08598b60b3e4998c.tar.bz2
aports-c50b83138fb7634f766ded2e08598b60b3e4998c.tar.xz
testing/crosstool-ng: upgrade to 1.23.0 and modernize
Diffstat (limited to 'testing/crosstool-ng')
-rw-r--r--testing/crosstool-ng/APKBUILD22
1 files changed, 7 insertions, 15 deletions
diff --git a/testing/crosstool-ng/APKBUILD b/testing/crosstool-ng/APKBUILD
index 44cf0d3f35..0a8a8bd24f 100644
--- a/testing/crosstool-ng/APKBUILD
+++ b/testing/crosstool-ng/APKBUILD
@@ -1,38 +1,30 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=crosstool-ng
-pkgver=1.22.0
+pkgver=1.23.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=
+makedepends="ncurses-dev help2man xz"
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
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
- make || return 1
+ make
}
package() {
- cd "$_builddir"
+ 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"
+sha512sums="1842d140b1c4f76783751eab60722e8077f356dfc9e9cc941d3c991a7e9bb23cb19e6bd7cd5c630cc87967853c55e0c16e415b222e546b5baaffb264ca799b69 crosstool-ng-1.23.0.tar.bz2"