mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 13:38:52 +02:00
* adjust several recipes to our new naming conventions
This commit is contained in:
@@ -8,8 +8,12 @@ DESCRIPTION="
|
||||
HOMEPAGE="http://www.gnu.org/software/autoconf/"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.bz2"
|
||||
CHECKSUM_MD5="864d785215aa60d627c91fcb21b05b07"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
LICENSE="
|
||||
GNU GPL v2
|
||||
GNU GPL v3"
|
||||
COPYRIGHT="1992-2010 Free Software Foundation, Inc."
|
||||
|
||||
PROVIDES="
|
||||
autoconf = $portVersion compat >= 2.60
|
||||
@@ -35,13 +39,13 @@ BUILD_REQUIRES="
|
||||
cmd:sed
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku-devel >= $haikuVersion
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:autoreconf >= 2.60
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD_PACKAGE_ACTIVATION_PHASE=INSTALL
|
||||
SOURCE_DIR="$portVersionedName"
|
||||
BUILD_PACKAGE_ACTIVATION_PHASE="INSTALL"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
@@ -61,6 +65,6 @@ TEST()
|
||||
make check
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2
|
||||
GNU GPL v3"
|
||||
COPYRIGHT="1992-2010 Free Software Foundation, Inc."
|
||||
# ----- source package -------------------------------------------------------
|
||||
|
||||
PROVIDES_source="autoconf_source = $portVersion"
|
||||
|
||||
@@ -6,7 +6,7 @@ DESCRIPTION="GNU Autoconf is a tool for configuring source code and makefiles. U
|
||||
HOMEPAGE="http://www.gnu.org/software/autoconf/"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz"
|
||||
CHECKSUM_MD5="50f97f4159805e374639a73e2636f22e"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
ARCHITECTURES="?x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="autoconf = $portVersion compat >= 2.60
|
||||
@@ -25,12 +25,12 @@ REQUIRES="haiku >= $haikuVersion
|
||||
cmd:perl >= 5
|
||||
cmd:sh"
|
||||
BUILD_REQUIRES="cmd:automake >= 1.13.1"
|
||||
BUILD_PREREQUIRES="haiku-devel >= $haikuVersion
|
||||
BUILD_PREREQUIRES="haiku_devel >= $haikuVersion
|
||||
cmd:autoreconf >= 2.60
|
||||
cmd:make"
|
||||
|
||||
BUILD_PACKAGE_ACTIVATION_PHASE=INSTALL
|
||||
SOURCE_DIR="$portVersionedName"
|
||||
BUILD_PACKAGE_ACTIVATION_PHASE="INSTALL"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
|
||||
@@ -8,15 +8,15 @@ DESCRIPTION="
|
||||
HOMEPAGE="http://www.gnu.org/software/automake/"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/automake/automake-1.11.1.tar.gz"
|
||||
CHECKSUM_MD5="4ee7f0ff5f0e467d58b6bd5da96b1c74"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
automake = $portVersion compat >= 1.11
|
||||
cmd:automake = $portVersion compat >= 1.11
|
||||
cmd:automake-1.11 = $portVersion compat >= 1.11
|
||||
cmd:automake_1.11 = $portVersion compat >= 1.11
|
||||
cmd:aclocal = $portVersion compat >= 1.11
|
||||
cmd:aclocal-1.11 = $portVersion compat >= 1.11
|
||||
cmd:aclocal_1.11 = $portVersion compat >= 1.11
|
||||
"
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
@@ -32,7 +32,7 @@ BUILD_REQUIRES="
|
||||
cmd:sed
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku-devel >= $haikuVersion
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:autoconf >= 2.60
|
||||
cmd:make
|
||||
"
|
||||
|
||||
@@ -6,14 +6,14 @@ DESCRIPTION="Automake is a tool for automatically generating 'Makefile.in' files
|
||||
HOMEPAGE="http://www.gnu.org/software/automake/"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/automake/automake-1.13.1.tar.gz"
|
||||
CHECKSUM_MD5="78a0ef8216b0556b44508e7b5b0c0847"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
ARCHITECTURES="?x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="automake = $portVersion compat >= 1.11
|
||||
cmd:automake = $portVersion compat >= 1.11
|
||||
cmd:automake-1.11 = $portVersion compat >= 1.11
|
||||
cmd:automake_1.11 = $portVersion compat >= 1.11
|
||||
cmd:aclocal = $portVersion compat >= 1.11
|
||||
cmd:aclocal-1.11 = $portVersion compat >= 1.11"
|
||||
cmd:aclocal_1.11 = $portVersion compat >= 1.11"
|
||||
REQUIRES="haiku >= $haikuVersion
|
||||
cmd:awk
|
||||
coreutils
|
||||
@@ -22,7 +22,7 @@ REQUIRES="haiku >= $haikuVersion
|
||||
cmd:perl >= 5
|
||||
cmd:sh"
|
||||
BUILD_REQUIRES="cmd:sed"
|
||||
BUILD_PREREQUIRES="haiku-devel >= $haikuVersion
|
||||
BUILD_PREREQUIRES="haiku_devel >= $haikuVersion
|
||||
cmd:autoconf >= 2.60
|
||||
cmd:make
|
||||
cmd:perl >= 5.8"
|
||||
|
||||
186
sys-devel/binutils/binutils-2.17_110711.recipe
Normal file
186
sys-devel/binutils/binutils-2.17_110711.recipe
Normal file
@@ -0,0 +1,186 @@
|
||||
SUMMARY="The GNU assembler, linker and binary utilities"
|
||||
HOMEPAGE="http://www.gnu.org/software/binutils"
|
||||
SRC_URI="git+git://github.com/haiku/BuildtoolsPM.git#9f9e588ceb7baa6bc5ac0193fb90212fc7fd667c"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
LICENSE="
|
||||
GNU GPL v2
|
||||
GNU LGPL v2
|
||||
"
|
||||
COPYRIGHT="1988-2006 Free Software Foundation, Inc."
|
||||
|
||||
|
||||
PROVIDES="
|
||||
binutils = $portVersion compat >= 2.17
|
||||
cmd:addr2line = $portVersion compat >= 2.17
|
||||
cmd:ar = $portVersion compat >= 2.17
|
||||
cmd:as = $portVersion compat >= 2.17
|
||||
cmd:c++filt = $portVersion compat >= 2.17
|
||||
cmd:gprof = $portVersion compat >= 2.17
|
||||
cmd:ld = $portVersion compat >= 2.17
|
||||
cmd:nm = $portVersion compat >= 2.17
|
||||
cmd:objcopy = $portVersion compat >= 2.17
|
||||
cmd:objdump = $portVersion compat >= 2.17
|
||||
cmd:ranlib = $portVersion compat >= 2.17
|
||||
cmd:readelf = $portVersion compat >= 2.17
|
||||
cmd:size = $portVersion compat >= 2.17
|
||||
cmd:strings = $portVersion compat >= 2.17
|
||||
cmd:strip = $portVersion compat >= 2.17
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:autoconf
|
||||
binutils
|
||||
gcc
|
||||
cmd:flex
|
||||
cmd:make
|
||||
cmd:sed
|
||||
cmd:tar
|
||||
texinfo
|
||||
"
|
||||
|
||||
SOURCE_DIR="$portVersionedName"
|
||||
BUILD_PACKAGE_ACTIVATION_PHASE=INSTALL
|
||||
|
||||
binutilsDir=$(pwd)/legacy/binutils
|
||||
relativeArchInstallDir="develop/tools/${portVersionedName}"
|
||||
archInstallDir="$prefix/$relativeArchInstallDir"
|
||||
objectsDir=$(pwd)/../${portVersionedName}-obj
|
||||
binutilsObjectsDir=$objectsDir/binutils
|
||||
|
||||
BUILD()
|
||||
{
|
||||
rm -rf $objectsDir
|
||||
|
||||
# Touch all *.info files, as newer texinfos don't like their format
|
||||
(cd $binutilsDir; find . -name \*.info | xargs touch)
|
||||
|
||||
# build binutils
|
||||
mkdir -p $binutilsObjectsDir
|
||||
cd $binutilsObjectsDir
|
||||
CFLAGS="-O2" CXXFLAGS="-O2" "$binutilsDir/configure" \
|
||||
--prefix=$prefix --exec-prefix=$archInstallDir \
|
||||
--bindir=$prefix/bin --libdir=$prefix/lib \
|
||||
--includedir=$prefix/develop/headers/binutils \
|
||||
--mandir=$prefix/documentation/man \
|
||||
--with-docdir=$prefix/documentation/binutils \
|
||||
--with-htmldir=$prefix/documentation/binutils \
|
||||
--disable-nls --enable-shared=yes
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd $binutilsObjectsDir
|
||||
archName=$(grep '^target_alias' Makefile | cut -d= -f2)
|
||||
|
||||
make install
|
||||
make install-html
|
||||
|
||||
base=$prefix
|
||||
|
||||
### HTML documentation ####################################
|
||||
|
||||
echo "Organizing HTML documentation..."
|
||||
html_base=$base/documentation/binutils/html
|
||||
mkdir -p $html_base
|
||||
cd $html_base
|
||||
|
||||
# libiberty
|
||||
makeinfo --html "$binutilsDir/libiberty/libiberty.texi"
|
||||
ln -sf libiberty/index.html $html_base/libiberty.html
|
||||
|
||||
# bfd
|
||||
mv $binutilsObjectsDir/bfd/doc/bfd.html $html_base/bfd
|
||||
ln -sf bfd/index.html $html_base/bfd.html
|
||||
|
||||
# binutils
|
||||
mv $binutilsObjectsDir/binutils/doc/binutils.html $html_base/binutils
|
||||
ln -sf binutils/index.html $html_base/binutils.html
|
||||
|
||||
# gas
|
||||
mv $binutilsObjectsDir/gas/doc/as.html $html_base/as
|
||||
ln -sf as/index.html $html_base/as.html
|
||||
|
||||
# gprof
|
||||
mv $binutilsObjectsDir/gprof/gprof.html $html_base/gprof
|
||||
ln -sf gprof/index.html $html_base/gprof.html
|
||||
|
||||
# ld
|
||||
mv $binutilsObjectsDir/ld/ld.html $html_base/ld
|
||||
ln -sf ld/index.html $html_base/ld.html
|
||||
|
||||
### Symlinks ##############################################
|
||||
|
||||
echo "Creating required symlinks"
|
||||
|
||||
# remove duplicate architecture-dependent binaries from $prefix/bin
|
||||
cd $prefix/bin
|
||||
rm ar as ld nm objdump ranlib strip
|
||||
|
||||
# make all tools available via default paths if these are
|
||||
# the system binutils
|
||||
if [ $architecture = 'x86_gcc2' ]; then
|
||||
echo "Symlinking binaries into default path"
|
||||
mkdir -p $prefix/bin
|
||||
ln -sfn ../$relativeArchInstallDir/$archName/bin/* .
|
||||
fi
|
||||
|
||||
### Strip #################################################
|
||||
|
||||
echo "Strip debug info"
|
||||
|
||||
cd $base
|
||||
strip --strip-debug i586-pc-haiku/bin/*
|
||||
|
||||
### Cleanup ###############################################
|
||||
|
||||
echo "Cleanup"
|
||||
|
||||
if [ -d $base/man -o -d $base/info -o -d $base/share ]; then
|
||||
rm -rf $base/man
|
||||
rm -rf $base/info
|
||||
rm -rf $base/share
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="
|
||||
The GNU Binutils are a collection of binary tools. The main ones are:
|
||||
|
||||
ld - the GNU linker.
|
||||
as - the GNU assembler.
|
||||
|
||||
But they also include:
|
||||
|
||||
addr2line - Converts addresses into filenames and line numbers.
|
||||
ar - A utility for creating, modifying and extracting from archives.
|
||||
c++filt - Filter to demangle encoded C++ symbols.
|
||||
dlltool - Creates files for building and using DLLs.
|
||||
gold - A new, faster, ELF only linker, still in beta test.
|
||||
gprof - Displays profiling information.
|
||||
nlmconv - Converts object code into an NLM.
|
||||
nm - Lists symbols from object files.
|
||||
objcopy - Copys and translates object files.
|
||||
objdump - Displays information from object files.
|
||||
ranlib - Generates an index to the contents of an archive.
|
||||
readelf - Displays information from any ELF format object file.
|
||||
size - Lists the section sizes of an object or archive file.
|
||||
strings - Lists printable strings from files.
|
||||
strip - Discards symbols.
|
||||
windmc - A Windows compatible message compiler.
|
||||
windres - A compiler for Windows resource files.
|
||||
|
||||
Most of these programs use BFD, the Binary File Descriptor library, to do low-level
|
||||
manipulation. Many of them also use the opcodes library to assemble and disassemble machine
|
||||
instructions.
|
||||
|
||||
The binutils have been ported to most major Unix variants as well as Wintel systems, and their
|
||||
main reason for existence is to give the GNU system (and GNU/Linux) the facility to compile
|
||||
and link programs.
|
||||
"
|
||||
@@ -12,7 +12,7 @@ DESCRIPTION="Bison is a general-purpose parser generator that converts an annota
|
||||
HOMEPAGE="http://www.gnu.org/software/bison/bison.html"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/bison/bison-2.4.3.tar.gz"
|
||||
CHECKSUM_MD5="ea45c778b36bdc7a720096819e292a73"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="bison = $portVersion compat >= 2.4
|
||||
@@ -20,7 +20,7 @@ PROVIDES="bison = $portVersion compat >= 2.4
|
||||
cmd:yacc
|
||||
lib:liby.a = $portVersion compat >= 2.4"
|
||||
REQUIRES="haiku >= $haikuVersion"
|
||||
BUILD_PREREQUIRES="haiku-devel >= $haikuVersion
|
||||
BUILD_PREREQUIRES="haiku_devel >= $haikuVersion
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:make"
|
||||
|
||||
@@ -6,7 +6,7 @@ DESCRIPTION="
|
||||
HOMEPAGE="http://flex.sourceforge.net/"
|
||||
SRC_URI="http://sourceforge.net/projects/flex/files/flex/flex-2.5.35/flex-2.5.35.tar.bz2/download"
|
||||
CHECKSUM_MD5="10714e50cea54dc7a227e3eddcd44d57"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
@@ -26,7 +26,7 @@ BUILD_REQUIRES="
|
||||
cmd:make
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku-devel >= $haikuVersion
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
"
|
||||
|
||||
@@ -1,63 +1,52 @@
|
||||
SUMMARY="C/C++ compiler"
|
||||
DESCRIPTION="
|
||||
Standard compiler for x86_gcc2 platform, ABI-compatible with BeOS R5.
|
||||
"
|
||||
DESCRIPTION="Standard compiler for x86_gcc2 platform, ABI-compatible with BeOS R5."
|
||||
HOMEPAGE="http://gcc.gnu.org"
|
||||
# TODO: Also: http://www.gnu.org/software/binutils
|
||||
SRC_URI="git+git://github.com/haiku/BuildtoolsPM.git#ba94fdf309096bd9bbf432ad53efba62bc47f98e"
|
||||
REVISION="4"
|
||||
LICENSE="
|
||||
GNU GPL v2
|
||||
GNU LGPL v2
|
||||
"
|
||||
COPYRIGHT="1988-2000 Free Software Foundation, Inc."
|
||||
SRC_URI="git+git://github.com/haiku/BuildtoolsPM.git#9f9e588ceb7baa6bc5ac0193fb90212fc7fd667c"
|
||||
REVISION="5"
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
gcc = $portVersion compat >= 2.95.3
|
||||
cmd:c++ = $portVersion compat >= 2.95.3
|
||||
cmd:cpp = $portVersion compat >= 2.95.3
|
||||
cmd:gcc = $portVersion compat >= 2.95.3
|
||||
cmd:g++ = $portVersion compat >= 2.95.3
|
||||
binutils = 2.17_110711 compat >= 2.17
|
||||
cmd:ar = 2.17_110711 compat >= 2.17
|
||||
cmd:as = 2.17_110711 compat >= 2.17
|
||||
cmd:c++filt = 2.17_110711 compat >= 2.17
|
||||
cmd:gcc = $portVersion compat >= 2.95.3
|
||||
cmd:gcov = 1.5 compat >= 1.5
|
||||
cmd:gprof = 2.17_110711 compat >= 2.17
|
||||
cmd:ld = 2.17_110711 compat >= 2.17
|
||||
cmd:nm = 2.17_110711 compat >= 2.17
|
||||
cmd:objcopy = 2.17_110711 compat >= 2.17
|
||||
cmd:objdump = 2.17_110711 compat >= 2.17
|
||||
cmd:protoize = 2.17_110711 compat >= 2.17
|
||||
cmd:ranlib = 2.17_110711 compat >= 2.17
|
||||
cmd:readelf = 2.17_110711 compat >= 2.17
|
||||
cmd:size = 2.17_110711 compat >= 2.17
|
||||
cmd:strings = 2.17_110711 compat >= 2.17
|
||||
cmd:strip = 2.17_110711 compat >= 2.17
|
||||
cmd:unprotoize = 2.17_110711 compat >= 2.17
|
||||
cmd:protoize = $portVersion compat >= 2.95.3
|
||||
cmd:unprotoize = $portVersion compat >= 2.95.3
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
binutils
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku-devel >= $haikuVersion
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:autoconf
|
||||
binutils
|
||||
gcc
|
||||
cmd:flex
|
||||
cmd:make
|
||||
cmd:sed
|
||||
cmd:tar
|
||||
texinfo
|
||||
cmd:makeinfo
|
||||
"
|
||||
|
||||
SOURCE_DIR="$portVersionedName"
|
||||
BUILD_PACKAGE_ACTIVATION_PHASE=INSTALL
|
||||
|
||||
gccDir=$(pwd)/legacy/gcc
|
||||
gccDate=110711
|
||||
relativeGccInstallDir="develop/tools/gcc-2.95.3-${gccDate}"
|
||||
gccInstallDir="$prefix/$relativeGccInstallDir"
|
||||
objectsDir=$(pwd)/../${portVersionedName}-obj
|
||||
binutilsObjectsDir=$objectsDir/binutils
|
||||
gccObjectsDir=$objectsDir/gcc
|
||||
buildtoolsDir=$(pwd)/legacy
|
||||
|
||||
BUILD()
|
||||
{
|
||||
@@ -66,27 +55,13 @@ BUILD()
|
||||
# Touch some files generated by bison, so that bison won't run to update
|
||||
# them. Fixes issues with newer bison versions.
|
||||
# And while at it, touch gperf target, too (as gperf may not be installed).
|
||||
(cd $buildtoolsDir/gcc/gcc; touch c-parse.c c-parse.h cexp.c cp/parse.c \
|
||||
(cd $gccDir/gcc; touch c-parse.c c-parse.h cexp.c cp/parse.c \
|
||||
cp/parse.h c-gperf.h)
|
||||
|
||||
# Touch all *.info files, as newer texinfos don't like their format
|
||||
(cd $buildtoolsDir; find . -name \*.info | xargs touch)
|
||||
|
||||
# build binutils
|
||||
mkdir -p $binutilsObjectsDir
|
||||
cd $binutilsObjectsDir
|
||||
CFLAGS="-O2" CXXFLAGS="-O2" "$buildtoolsDir/binutils/configure" \
|
||||
--prefix=$gccInstallDir \
|
||||
--disable-nls --enable-shared=yes
|
||||
make
|
||||
|
||||
# install binutils before building gcc
|
||||
make install
|
||||
|
||||
# build gcc
|
||||
mkdir $gccObjectsDir
|
||||
mkdir -p $gccObjectsDir
|
||||
cd $gccObjectsDir
|
||||
CFLAGS="-O2" CXXFLAGS="-O2" "$buildtoolsDir/gcc/configure" \
|
||||
CFLAGS="-O2" CXXFLAGS="-O2" "$gccDir/configure" \
|
||||
--prefix=$gccInstallDir \
|
||||
--disable-nls --enable-shared=yes --enable-languages=c,c++
|
||||
make bootstrap || true
|
||||
@@ -97,9 +72,6 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd $binutilsObjectsDir
|
||||
make install
|
||||
|
||||
cd $gccObjectsDir
|
||||
make install
|
||||
|
||||
@@ -107,54 +79,29 @@ INSTALL()
|
||||
|
||||
### HTML documentation ####################################
|
||||
|
||||
html_base=$base/html-docs
|
||||
html_base=$prefix/documentation/packages/$portVersionedName
|
||||
if [ ! -d "$html_base" ]; then
|
||||
echo "Building HTML documentation..."
|
||||
mkdir $html_base
|
||||
mkdir -p $html_base
|
||||
cd $html_base
|
||||
|
||||
makeinfo --html "$buildtoolsDir/gcc/gcc/cpp.texi"
|
||||
makeinfo --html "$buildtoolsDir/gcc/gcc/gcc.texi"
|
||||
makeinfo --html "$buildtoolsDir/binutils/libiberty/libiberty.texi"
|
||||
makeinfo --force --html "$buildtoolsDir/gcc/libio/iostream.texi" \
|
||||
makeinfo --html "$gccDir/gcc/cpp.texi"
|
||||
makeinfo --html "$gccDir/gcc/gcc.texi"
|
||||
makeinfo --force --html "$gccDir/libio/iostream.texi" \
|
||||
&& true
|
||||
# some errors
|
||||
|
||||
ln -sf cpp/index.html $html_base/cpp.html
|
||||
ln -sf gcc/index.html $html_base/gcc.html
|
||||
ln -sf libiberty/index.html $html_base/libiberty.html
|
||||
ln -sf iostream/index.html $html_base/iostream.html
|
||||
fi
|
||||
if [ -d "$base/share/doc" ]; then
|
||||
echo "Adding binutils HTML documentation..."
|
||||
|
||||
mv $base/share/doc/as.html $html_base/as
|
||||
mv $base/share/doc/binutils.html $html_base/binutils
|
||||
mv $base/share/doc/gprof.html $html_base/gprof
|
||||
mv $base/share/doc/ld.html $html_base/ld
|
||||
#mv $base/share/doc/configure.html $html_base/
|
||||
|
||||
ln -sf as/index.html $html_base/as.html
|
||||
ln -sf binutils/index.html $html_base/binutils.html
|
||||
ln -sf gprof/index.html $html_base/gprof.html
|
||||
ln -sf ld/index.html $html_base/ld.html
|
||||
fi
|
||||
if [ ! -e "$html_base/as.html" ]; then
|
||||
echo "binutils HTML documentation missing, see" \
|
||||
"INSTALL-gcc2-from-source-Haiku."
|
||||
fi
|
||||
|
||||
### Symlinks ##############################################
|
||||
|
||||
echo "Creating required symlinks"
|
||||
|
||||
# create symlinks to binutils binaries
|
||||
cd $base/bin
|
||||
for binary in ../i586-pc-haiku/bin/*; do
|
||||
ln -sfn $binary .
|
||||
done
|
||||
|
||||
# convert to absolute links to relative ones
|
||||
cd $base/bin
|
||||
ln -sfn g++ c++
|
||||
ln -sfn gcc i586-pc-haiku-gcc
|
||||
|
||||
@@ -199,7 +146,3 @@ INSTALL()
|
||||
ln -snf /boot/system/lib/libstdc++.r4.so $base/lib/
|
||||
ln -snf /boot/system/lib/libstdc++.so $base/lib/
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2
|
||||
GNU LGPL v2"
|
||||
COPYRIGHT="1988-2000 Free Software Foundation, Inc."
|
||||
|
||||
@@ -6,7 +6,7 @@ DESCRIPTION="
|
||||
HOMEPAGE="http://www.gnu.org/software/libtool"
|
||||
SRC_URI="ftp://ftp.gnu.org/gnu/libtool/libtool-2.4.tar.gz"
|
||||
CHECKSUM_MD5="b32b04148ecdd7344abc6fe8bd1bb021"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
@@ -30,7 +30,7 @@ BUILD_REQUIRES="
|
||||
cmd:sed
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku-devel >= $haikuVersion
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:make
|
||||
|
||||
@@ -19,7 +19,7 @@ DESCRIPTION="
|
||||
HOMEPAGE="http://www.gnu.org/software/m4/"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/m4/m4-1.4.16.tar.gz"
|
||||
CHECKSUM_MD5="a5dfb4f2b7370e9d34293d23fd09b280"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
@@ -33,7 +33,7 @@ BUILD_REQUIRES="
|
||||
cmd:sed
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku-devel >= $haikuVersion
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:make
|
||||
|
||||
@@ -12,7 +12,7 @@ DESCRIPTION="
|
||||
HOMEPAGE="http://www.gnu.org/software/make/"
|
||||
SRC_URI="http://ftp.gnu.org/pub/gnu/make/make-3.82.tar.bz2"
|
||||
CHECKSUM_MD5="1a11100f3c63fcf5753818e59d63088f"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
@@ -27,7 +27,7 @@ BUILD_REQUIRES="
|
||||
cmd:sed
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku-devel >= $haikuVersion
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user