wok annotate gcc3/receipt @ rev 13057

mariadb: Fix WGET_URL (again)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jun 20 16:39:21 2012 +0200 (2012-06-20)
parents 8e4c74abdf74
children 8437ad3ae814
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"
slaxemulator@9127 12 #WGET_URL="ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-$VERSION/$TARBALL"
pascal@13033 13 TAGS="compiler C C++"
pascal@13033 14
pascal@13033 15 BUILD_DEPENDS="gawk"
pascal@13033 16 DEPENDS="gcc"
pascal@439 17
pascal@439 18 # Rules to configure and make the package.
pascal@439 19 compile_rules()
pascal@439 20 {
pascal@439 21 mkdir gcc-build
pascal@439 22 cd gcc-build
gokhlayeh@8793 23 $src/configure --prefix=/usr --libexecdir=/usr/lib \
pascal@439 24 --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls \
pascal@439 25 --enable-languages=c,c++ --enable-shared --with-system-zlib \
pascal@439 26 --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit \
pankso@9827 27 --enable-threads=posix --with-tune=i486 \
pascal@439 28 --program-suffix=-3
gokhlayeh@11574 29 make $MAKEFLAGS bootstrap
pascal@439 30 # Make install in the source tree to help creating derivated pkgs
pascal@439 31 # and keep $_pkg variable set for genpkg.
gokhlayeh@11574 32 make $MAKEFLAGS install
pascal@439 33 }
pascal@439 34
pascal@439 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@439 36 genpkg_rules()
pascal@439 37 {
pascal@439 38 mkdir -p $fs/usr
pascal@9023 39 cp -a $_pkg/usr/bin $_pkg/usr/lib $_pkg/usr/include $fs/usr
pascal@439 40 rm $fs/usr/lib/lib*
pascal@439 41 }