wok-current view gcc3/receipt @ rev 12248

Up: tazweb (1.6.2)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 09 18:39:47 2012 +0200 (2012-04-09)
parents 89d2e45be6c5
children 4c16797dce28
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 BUILD_DEPENDS="gawk"
9 DEPENDS="gcc"
10 SOURCE="gcc"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://gcc.gnu.org/"
13 WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$VERSION/$TARBALL"
14 #WGET_URL="ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-$VERSION/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir gcc-build
20 cd gcc-build
21 $src/configure --prefix=/usr --libexecdir=/usr/lib \
22 --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls \
23 --enable-languages=c,c++ --enable-shared --with-system-zlib \
24 --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit \
25 --enable-threads=posix --with-tune=i486 \
26 --program-suffix=-3
27 make $MAKEFLAGS bootstrap
28 # Make install in the source tree to help creating derivated pkgs
29 # and keep $_pkg variable set for genpkg.
30 make $MAKEFLAGS install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $_pkg/usr/bin $_pkg/usr/lib $_pkg/usr/include $fs/usr
38 rm $fs/usr/lib/lib*
39 }