wok view gcc3/receipt @ rev 13157

Up: bison (2.6)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jul 22 23:22:24 2012 +0200 (2012-07-22)
parents 8e4c74abdf74
children 8437ad3ae814
line source
1 # SliTaz package receipt.
3 PACKAGE="gcc3"
4 VERSION="3.4.6"
5 CATEGORY="development"
6 SHORT_DESC="The the GNU Compiler Collection."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="gcc"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://gcc.gnu.org/"
11 WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$VERSION/$TARBALL"
12 #WGET_URL="ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-$VERSION/$TARBALL"
13 TAGS="compiler C C++"
15 BUILD_DEPENDS="gawk"
16 DEPENDS="gcc"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir gcc-build
22 cd gcc-build
23 $src/configure --prefix=/usr --libexecdir=/usr/lib \
24 --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls \
25 --enable-languages=c,c++ --enable-shared --with-system-zlib \
26 --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit \
27 --enable-threads=posix --with-tune=i486 \
28 --program-suffix=-3
29 make $MAKEFLAGS bootstrap
30 # Make install in the source tree to help creating derivated pkgs
31 # and keep $_pkg variable set for genpkg.
32 make $MAKEFLAGS install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $_pkg/usr/bin $_pkg/usr/lib $_pkg/usr/include $fs/usr
40 rm $fs/usr/lib/lib*
41 }