wok view gcc3/receipt @ rev 14198

move to undigest: xorg-xf86-video-sis xorg-xf86-video-savage xorg-xf86-video-r128 xorg-xf86-video-openchrome xorg-xf86-video-mga xorg-xf86-video-mach64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 13 10:16:45 2013 +0100 (2013-03-13)
parents 8437ad3ae814
children 380ffe05937a
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 TAGS="compiler C C++"
14 BUILD_DEPENDS="gawk"
15 DEPENDS="gcc"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir gcc-build
21 cd gcc-build
22 $src/configure --prefix=/usr --libexecdir=/usr/lib \
23 --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls \
24 --enable-languages=c,c++ --enable-shared --with-system-zlib \
25 --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit \
26 --enable-threads=posix --with-tune=$ARCH \
27 --program-suffix=-3
28 make $MAKEFLAGS bootstrap &&
29 make $MAKEFLAGS install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $install/usr/lib $install/usr/include $fs/usr
37 rm $fs/usr/lib/lib*
38 }