wok-next view gcc3/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | d958fec46c9f |
children |
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 WEB_SITE="http://gcc.gnu.org/"
10 REPOLOGY="gcc"
12 SOURCE="gcc"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$VERSION/$TARBALL"
15 TAGS="compiler C C++"
17 BUILD_DEPENDS="gawk gcc49"
18 DEPENDS="gcc"
20 compile_rules() {
21 sed -i 's/struct siginfo /siginfo_t /' gcc/config/*/linux*.h
22 mkdir gcc-build
23 cd gcc-build
25 export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH"
26 export CC=gcc-49
27 export CXX=g++-49
28 $src/configure \
29 --prefix=/usr \
30 --libexecdir=/usr/lib \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 --enable-nls \
34 --enable-languages=c,c++ \
35 --enable-shared \
36 --with-system-zlib \
37 --enable-clocale=gnu \
38 --enable-objc-gc \
39 --enable-__cxa_atexit \
40 --enable-threads=posix \
41 --with-tune=$ARCH \
42 --program-suffix=-3 \
43 $CONFIGURE_ARGS &&
44 make $MAKEFLAGS bootstrap &&
45 make $MAKEFLAGS install
46 }
48 genpkg_rules() {
49 mkdir -p $fs/usr
50 cp -a $install/usr/bin $install/usr/lib $install/usr/include $fs/usr
51 rm $fs/usr/lib/lib*
52 }