#!/bin/bash # gcc # # Douglas Thrift # # $Id$ name=gcc version=4.1.2 revision=0 categories=(base lang) description='GNU Compiler Collection' url='http://gcc.gnu.org/' depends=('base/binutils' 'base/zlib') sources=(`site_gnu $name-$version/$name-{core,g++,objc}-$version.tar.bz2` libiberty-Makefile.in.patch) function build() { gnu_patch libiberty-Makefile.in.patch || return $? gnu_configure_builddir --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --enable-__cxa_atexit --enable-languages=c,c++,objc --enable-version-specific-runtime-libs --with-system-zlib }