aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-07 07:52:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-07 07:52:58 +0000
commit07bf8e364133c4f12fea82006479a854ea94ed30 (patch)
tree69ad794778bf1e55ca927d7e11dffd73becc36fe /testing
parentf88ef47373483aa543edde08162ebdabb38e90cf (diff)
downloadaports-07bf8e364133c4f12fea82006479a854ea94ed30.tar.bz2
aports-07bf8e364133c4f12fea82006479a854ea94ed30.tar.xz
testing/crosstools-ng: new aport
tool for building toolchains http://ymorin.is-a-geek.org/projects/crosstool
Diffstat (limited to 'testing')
-rw-r--r--testing/crosstool-ng/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/crosstool-ng/APKBUILD b/testing/crosstool-ng/APKBUILD
new file mode 100644
index 0000000000..69a3df31e7
--- /dev/null
+++ b/testing/crosstool-ng/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=crosstool-ng
+pkgver=1.11.3
+pkgrel=0
+pkgdesc="tool for building toolchains"
+url="http://ymorin.is-a-geek.org/projects/crosstool"
+license="GPL"
+arch="noarch"
+depends="bash gawk bison flex automake autoconf libtool cvs sed"
+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="3830cbdcc7e1a60c93caeaf98f718187 crosstool-ng-1.11.3.tar.bz2"