wok view gcc3/receipt @ rev 13878
libboost-dev, input-utils, gcc3, gcc+gcj, ffmpeg-svn, zsnes, zlib, nimrod, mtpaint: use $ARCH
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 15 11:21:28 2013 +0100 (2013-01-15) |
parents | 4c16797dce28 |
children | 4fd8473c8682 |
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=$ARCH \
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 }