aboutsummaryrefslogtreecommitdiffstats
path: root/core/gcc/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-03-10 10:28:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-10 10:28:49 +0000
commit9636f34248179dfe4ad9a78275c95ce93850221e (patch)
tree9f6a8a21fcf6f36aeeed3e83101ae46a11f1e287 /core/gcc/APKBUILD
parent5b11fcf170b0a7c2155ebb4f83b0690db0962f01 (diff)
downloadaports-9636f34248179dfe4ad9a78275c95ce93850221e.tar.gz
aports-9636f34248179dfe4ad9a78275c95ce93850221e.tar.bz2
aports-9636f34248179dfe4ad9a78275c95ce93850221e.tar.xz
core/gcc: separate libgcc pakage. adde binutils to depends
Diffstat (limited to 'core/gcc/APKBUILD')
-rw-r--r--core/gcc/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/core/gcc/APKBUILD b/core/gcc/APKBUILD
index c38766acbf..49c9194171 100644
--- a/core/gcc/APKBUILD
+++ b/core/gcc/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gcc
pkgver=4.3.3
-pkgrel=0
+pkgrel=1
pkgdesc="The GNU Compiler Collection"
url="http://gcc.gnu.org"
license="GPL LGPL"
-depends="gmp mpfr"
+depends="gmp mpfr libgcc binutils"
makedepends="bison flex gmp-dev mpfr-dev texinfo"
-subpackages="$pkgname-doc g++:gpp"
+subpackages="$pkgname-doc g++:gpp libgcc"
source="ftp://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-core-$pkgver.tar.bz2
ftp://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-g++-$pkgver.tar.bz2
00_all_gcc-4.0-cvs-incompat.patch
@@ -90,6 +90,13 @@ gpp() {
mv "$pkgdir"/usr/bin/*++ "$subpkgdir"/usr/bin/
}
+libgcc() {
+ depends="uclibc"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/libgcc_s.so* "$subpkgdir"/usr/lib/
+}
+
+
md5sums="1739288c2c7b1472796b33d641dbdbbd gcc-core-4.3.3.tar.bz2
18428e313a9927d38b313e688c62219b gcc-g++-4.3.3.tar.bz2
f0c6c419318537505ec2717a139a091b 00_all_gcc-4.0-cvs-incompat.patch