wok-current view gcc3/receipt @ rev 10059

xorg-libXmu: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 04:44:29 2011 +0000 (2011-05-20)
parents 91ff9e877eff
children 8e4c74abdf74
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 -j 4 bootstrap
28 # Make install in the source tree to help creating derivated pkgs
29 # and keep $_pkg variable set for genpkg.
30 make -j 4 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 }