wok-current view gcc3/receipt @ rev 19275

Check manpages... from start to beaver.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jul 05 15:34:01 2016 +0300 (2016-07-05)
parents 380ffe05937a
children 95758c7d1a56
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 {
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 }