wok-next annotate gcc3/receipt @ rev 13879
busybox-boot: add mount=, loopfs= & subroot= cmdline args
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 17 13:39:49 2013 +0100 (2013-01-17) |
parents | 8437ad3ae814 |
children | 380ffe05937a |
rev | line source |
---|---|
pascal@439 | 1 # SliTaz package receipt. |
pascal@439 | 2 |
pascal@439 | 3 PACKAGE="gcc3" |
pascal@439 | 4 VERSION="3.4.6" |
pascal@439 | 5 CATEGORY="development" |
pascal@439 | 6 SHORT_DESC="The the GNU Compiler Collection." |
pascal@439 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
slaxemulator@9127 | 8 SOURCE="gcc" |
slaxemulator@9127 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@439 | 10 WEB_SITE="http://gcc.gnu.org/" |
slaxemulator@9127 | 11 WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$VERSION/$TARBALL" |
pascal@13033 | 12 TAGS="compiler C C++" |
pascal@13033 | 13 |
pascal@13033 | 14 BUILD_DEPENDS="gawk" |
pascal@13033 | 15 DEPENDS="gcc" |
pascal@439 | 16 |
pascal@439 | 17 # Rules to configure and make the package. |
pascal@439 | 18 compile_rules() |
pascal@439 | 19 { |
pascal@13879 | 20 mkdir gcc-build |
pascal@13879 | 21 cd gcc-build |
pascal@13879 | 22 $src/configure --prefix=/usr --libexecdir=/usr/lib \ |
pascal@13879 | 23 --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls \ |
pascal@13879 | 24 --enable-languages=c,c++ --enable-shared --with-system-zlib \ |
pascal@13879 | 25 --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit \ |
pascal@13879 | 26 --enable-threads=posix --with-tune=$ARCH \ |
pascal@13879 | 27 --program-suffix=-3 |
pascal@13879 | 28 make $MAKEFLAGS bootstrap && |
pascal@13879 | 29 make $MAKEFLAGS install |
pascal@439 | 30 } |
pascal@439 | 31 |
pascal@439 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@439 | 33 genpkg_rules() |
pascal@439 | 34 { |
pascal@13879 | 35 mkdir -p $fs/usr |
pascal@13879 | 36 cp -a $install/usr/bin $install/usr/lib $install/usr/include $fs/usr |
pascal@13879 | 37 rm $fs/usr/lib/lib* |
pascal@439 | 38 } |