wok-current view gcc3/receipt @ rev 23064
waterline-plugin-multiload: use lxpanel private types
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 08 16:25:39 2020 +0100 (2020-03-08) |
parents | 4cd6aef57b3a |
children | 52649f27a0da |
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 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu \
26 --target=i686-pc-linux-gnu \
27 --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls \
28 --enable-languages=c,c++ --enable-shared --with-system-zlib \
29 --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit \
30 --enable-threads=posix --with-tune=$ARCH \
31 --program-suffix=-3
32 make -j 1 $MAKEFLAGS bootstrap &&
33 make -j 1 $MAKEFLAGS install
34 } 2>&1 | sed 's/: No such file/: no such file/'
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $install/usr/lib $install/usr/include $fs/usr
42 rm $fs/usr/lib/lib*
43 }