wok-6.x view gcc3/receipt @ rev 19462
remove typos etc from the 5 gcc-receipt files
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Oct 23 18:00:14 2016 +0000 (2016-10-23) |
parents | eda93f9881c4 |
children | d941c1946d7f |
line source
1 # SliTaz package receipt.
3 PACKAGE="gcc3"
4 VERSION="3.4.6"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Compiler Collection."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="gcc"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://gcc.gnu.org/"
12 WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$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 {
24 $src/configure --prefix=/usr --libexecdir=/usr/lib \
25 --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls \
26 --enable-languages=c,c++ --enable-shared --with-system-zlib \
27 --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit \
28 --enable-threads=posix --with-tune=$ARCH \
29 --program-suffix=-3
30 make $MAKEFLAGS bootstrap &&
31 make $MAKEFLAGS install
32 } 2>&1 | sed 's/: No such file/: no such file/'
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $install/usr/lib $install/usr/include $fs/usr
40 rm $fs/usr/lib/lib*
41 }