aboutsummaryrefslogtreecommitdiffstats
path: root/core/gcc/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-01-07 09:23:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-07 09:23:03 +0000
commitfeb112cf66adeed506cd9eb0b0a8b14a2e39380b (patch)
tree5e6df4003d818001bed9af961c2701b13f03f346 /core/gcc/APKBUILD
parent7b019d50bff1be4b02723e750f4948f782069a76 (diff)
downloadaports-feb112cf66adeed506cd9eb0b0a8b14a2e39380b.tar.gz
aports-feb112cf66adeed506cd9eb0b0a8b14a2e39380b.tar.bz2
aports-feb112cf66adeed506cd9eb0b0a8b14a2e39380b.tar.xz
core/gcc: create a /usr/bin/cc symlink
Diffstat (limited to 'core/gcc/APKBUILD')
-rw-r--r--core/gcc/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/gcc/APKBUILD b/core/gcc/APKBUILD
index 194c9e6a92..02962dc1c4 100644
--- a/core/gcc/APKBUILD
+++ b/core/gcc/APKBUILD
@@ -1,11 +1,11 @@
pkgname=gcc
pkgver=4.3.2
-pkgrel=3
+pkgrel=4
pkgdesc="The GNU Compiler Collection"
url="http://gcc.gnu.org"
license="GPL LGPL"
depends="gmp mpfr"
-makedepends="bison flex texinfo"
+makedepends="bison flex gmp-dev mpfr-dev texinfo"
subpackages="$pkgname-doc g++:gpp"
source="ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.3.2/gcc-core-4.3.2.tar.bz2
ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.3.2/gcc-g++-4.3.2.tar.bz2
@@ -69,9 +69,11 @@ build ()
make || return 1
make -j1 DESTDIR="${pkgdir}" install || return 1
+ ln -s gcc "$pkgdir"/usr/bin/cc
# binutils provides libiberty.a
rm -f "$pkgdir"/usr/lib/libiberty.a
+
}
gpp() {