diff options
Diffstat (limited to 'testing/crosstool-ng')
-rw-r--r-- | testing/crosstool-ng/APKBUILD | 36 |
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" |