wok-next diff gcc3/receipt @ rev 1302
Up: freeradius (2.0.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 23 09:02:13 2008 +0000 (2008-08-23) |
parents | |
children | 49e501a55595 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gcc3/receipt Sat Aug 23 09:02:13 2008 +0000 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gcc3" 1.7 +VERSION="3.4.6" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The the GNU Compiler Collection." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +BUILD_DEPENDS="gawk" 1.12 +DEPENDS="gcc" 1.13 +TARBALL="gcc-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://gcc.gnu.org/" 1.15 +WGET_URL="ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-$VERSION/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + mkdir gcc-build 1.21 + cd gcc-build 1.22 + ../gcc-$VERSION/configure --prefix=/usr --libexecdir=/usr/lib \ 1.23 + --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls \ 1.24 + --enable-languages=c,c++ --enable-shared --with-system-zlib \ 1.25 + --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit \ 1.26 + --enable-threads=posix --with-tune=i486 i486-pc-linux-gnu \ 1.27 + --program-suffix=-3 1.28 + make bootstrap 1.29 + # Make install in the source tree to help creating derivated pkgs 1.30 + # and keep $_pkg variable set for genpkg. 1.31 + make DESTDIR=$src/_pkg install 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + mkdir -p $fs/usr 1.38 + cp -a $src/_pkg/usr/bin $src/_pkg/usr/lib $src/_pkg/usr/include $fs/usr 1.39 + rm $fs/usr/lib/lib* 1.40 +}