wok view gcc3/receipt @ rev 9195

busybox: add conspy fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 09 22:01:54 2011 +0100 (2011-03-09)
parents 616a8fb2f4e1
children 89d2e45be6c5
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 i486-pc-linux-gnu \
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 }