|
|
@ -1,36 +1,36 @@ |
|
|
|
# The Pale Moon team recommends building with GCC 4.9. While other versions like 5.x are known to work, they're unsupported. |
|
|
|
|
|
|
|
name=Pale-Moon |
|
|
|
version=27.5.1 |
|
|
|
version=27.6.1 |
|
|
|
version_gcc=4.9.4 |
|
|
|
version_autoconf=2.13 |
|
|
|
update_url="https://github.com/MoonchildProductions/$name/releases" |
|
|
|
update_names="/archive/${version}_Release.tar.gz" |
|
|
|
|
|
|
|
dlextract "https://github.com/MoonchildProductions/$name/archive/${version}_Release/$name-${version}_Release.tar.gz" \ |
|
|
|
'5c18e5f60fcc94580571f0db5c00a8a5' |
|
|
|
'07d249e88ad8b26541001070081033ba' |
|
|
|
extrafile 'palemoon.desktop' |
|
|
|
|
|
|
|
#( name=gcc version="$version_gcc" |
|
|
|
# dlextract "https://ftp.gnu.org/gnu/$name/$name-$version/$name-$version.tar.bz2" \ |
|
|
|
# '87c24a4090c1577ba817ec6882602491' |
|
|
|
#) |
|
|
|
( name=gcc version="$version_gcc" |
|
|
|
dlextract "https://ftp.gnu.org/gnu/$name/$name-$version/$name-$version.tar.bz2" \ |
|
|
|
'87c24a4090c1577ba817ec6882602491' |
|
|
|
) |
|
|
|
( name=autoconf version="$version_autoconf" |
|
|
|
dlextract "https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz" \ |
|
|
|
'9de56d4a161a723228220b0f425dc711' |
|
|
|
) |
|
|
|
_ |
|
|
|
|
|
|
|
#( cd "gcc-$version_gcc" |
|
|
|
# sed -i -e 's/\.\/fixinc\.sh/-c true/' gcc/Makefile.in |
|
|
|
# mkdir build; cd build |
|
|
|
# ../configure \ |
|
|
|
# --prefix="$PWD/../install" \ |
|
|
|
# --disable-bootstrap \ |
|
|
|
# --enable-languages=c++ |
|
|
|
# make |
|
|
|
# make install |
|
|
|
#) |
|
|
|
( cd "gcc-$version_gcc" |
|
|
|
sed -i -e 's/\.\/fixinc\.sh/-c true/' gcc/Makefile.in |
|
|
|
mkdir build; cd build |
|
|
|
../configure \ |
|
|
|
--prefix="$PWD/../install" \ |
|
|
|
--disable-bootstrap \ |
|
|
|
--enable-languages=c++ |
|
|
|
make |
|
|
|
make install |
|
|
|
) |
|
|
|
|
|
|
|
( cd "autoconf-$version_autoconf" |
|
|
|
./configure --prefix="$PWD/install" --program-suffix=-$version_autoconf |
|
|
@ -91,8 +91,8 @@ EOF |
|
|
|
|
|
|
|
# This program is about as picky about compiler flags as it is about the compiler version. |
|
|
|
# Sigh... |
|
|
|
#export MOZ_MAKE_FLAGS="$MAKEFLAGS" |
|
|
|
#unset CFLAGS CXXFLAGS LDFLAGS MAKEFLAGS |
|
|
|
export MOZ_MAKE_FLAGS="$MAKEFLAGS" |
|
|
|
unset CFLAGS CXXFLAGS LDFLAGS MAKEFLAGS |
|
|
|
|
|
|
|
# Build |
|
|
|
PATH="$PWD/../gcc-$version_gcc/install/bin:$PWD/../autoconf-$version_autoconf/install/bin:$PATH" \ |
|
|
|