wok view gcc3/receipt @ rev 15000

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 17:00:38 2013 +0000 (2013-08-10)
parents 4fd8473c8682
children eda93f9881c4
line source
1 # SliTaz package receipt.
3 PACKAGE="gcc3"
4 VERSION="3.4.6"
5 CATEGORY="development"
6 SHORT_DESC="The 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 $src/configure --prefix=/usr --libexecdir=/usr/lib \
24 --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls \
25 --enable-languages=c,c++ --enable-shared --with-system-zlib \
26 --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit \
27 --enable-threads=posix --with-tune=$ARCH \
28 --program-suffix=-3
29 make $MAKEFLAGS bootstrap &&
30 make $MAKEFLAGS install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $install/usr/lib $install/usr/include $fs/usr
38 rm $fs/usr/lib/lib*
39 }