wok-6.x view gcc3/receipt @ rev 14890
Up: python-html5lib (0.95)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Wed Jul 24 19:03:10 2013 -0300 (2013-07-24) |
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 }