wok view gcc3/receipt @ rev 8477
Fixed aescrypt to work with new tazwok-experimental.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Feb 07 19:11:59 2011 +0000 (2011-02-07) |
parents | 887328e98069 |
children | 7461a0c31d62 |
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 BUILD_DEPENDS="gawk"
9 DEPENDS="gcc"
10 TARBALL="gcc-$VERSION.tar.bz2"
11 WEB_SITE="http://gcc.gnu.org/"
12 WGET_URL="ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mkdir gcc-build
18 cd gcc-build
19 ../gcc-$VERSION/configure --prefix=/usr --libexecdir=/usr/lib \
20 --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls \
21 --enable-languages=c,c++ --enable-shared --with-system-zlib \
22 --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit \
23 --enable-threads=posix --with-tune=i486 i486-pc-linux-gnu \
24 --program-suffix=-3
25 make -j 4 bootstrap
26 # Make install in the source tree to help creating derivated pkgs
27 # and keep $_pkg variable set for genpkg.
28 make -j 4 DESTDIR=$src/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $src/_pkg/usr/bin $src/_pkg/usr/lib $src/_pkg/usr/include $fs/usr
36 rm $fs/usr/lib/lib*
37 }