|
@ -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. |
|
|
# 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 |
|
|
name=Pale-Moon |
|
|
version=27.5.1 |
|
|
version=27.6.1 |
|
|
version_gcc=4.9.4 |
|
|
version_gcc=4.9.4 |
|
|
version_autoconf=2.13 |
|
|
version_autoconf=2.13 |
|
|
update_url="https://github.com/MoonchildProductions/$name/releases" |
|
|
update_url="https://github.com/MoonchildProductions/$name/releases" |
|
|
update_names="/archive/${version}_Release.tar.gz" |
|
|
update_names="/archive/${version}_Release.tar.gz" |
|
|
|
|
|
|
|
|
dlextract "https://github.com/MoonchildProductions/$name/archive/${version}_Release/$name-${version}_Release.tar.gz" \ |
|
|
dlextract "https://github.com/MoonchildProductions/$name/archive/${version}_Release/$name-${version}_Release.tar.gz" \ |
|
|
'5c18e5f60fcc94580571f0db5c00a8a5' |
|
|
'07d249e88ad8b26541001070081033ba' |
|
|
extrafile 'palemoon.desktop' |
|
|
extrafile 'palemoon.desktop' |
|
|
|
|
|
|
|
|
#( name=gcc version="$version_gcc" |
|
|
( name=gcc version="$version_gcc" |
|
|
# dlextract "https://ftp.gnu.org/gnu/$name/$name-$version/$name-$version.tar.bz2" \ |
|
|
dlextract "https://ftp.gnu.org/gnu/$name/$name-$version/$name-$version.tar.bz2" \ |
|
|
# '87c24a4090c1577ba817ec6882602491' |
|
|
'87c24a4090c1577ba817ec6882602491' |
|
|
#) |
|
|
) |
|
|
( name=autoconf version="$version_autoconf" |
|
|
( name=autoconf version="$version_autoconf" |
|
|
dlextract "https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz" \ |
|
|
dlextract "https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz" \ |
|
|
'9de56d4a161a723228220b0f425dc711' |
|
|
'9de56d4a161a723228220b0f425dc711' |
|
|
) |
|
|
) |
|
|
_ |
|
|
_ |
|
|
|
|
|
|
|
|
#( cd "gcc-$version_gcc" |
|
|
( cd "gcc-$version_gcc" |
|
|
# sed -i -e 's/\.\/fixinc\.sh/-c true/' gcc/Makefile.in |
|
|
sed -i -e 's/\.\/fixinc\.sh/-c true/' gcc/Makefile.in |
|
|
# mkdir build; cd build |
|
|
mkdir build; cd build |
|
|
# ../configure \ |
|
|
../configure \ |
|
|
# --prefix="$PWD/../install" \ |
|
|
--prefix="$PWD/../install" \ |
|
|
# --disable-bootstrap \ |
|
|
--disable-bootstrap \ |
|
|
# --enable-languages=c++ |
|
|
--enable-languages=c++ |
|
|
# make |
|
|
make |
|
|
# make install |
|
|
make install |
|
|
#) |
|
|
) |
|
|
|
|
|
|
|
|
( cd "autoconf-$version_autoconf" |
|
|
( cd "autoconf-$version_autoconf" |
|
|
./configure --prefix="$PWD/install" --program-suffix=-$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. |
|
|
# This program is about as picky about compiler flags as it is about the compiler version. |
|
|
# Sigh... |
|
|
# Sigh... |
|
|
#export MOZ_MAKE_FLAGS="$MAKEFLAGS" |
|
|
export MOZ_MAKE_FLAGS="$MAKEFLAGS" |
|
|
#unset CFLAGS CXXFLAGS LDFLAGS MAKEFLAGS |
|
|
unset CFLAGS CXXFLAGS LDFLAGS MAKEFLAGS |
|
|
|
|
|
|
|
|
# Build |
|
|
# Build |
|
|
PATH="$PWD/../gcc-$version_gcc/install/bin:$PWD/../autoconf-$version_autoconf/install/bin:$PATH" \ |
|
|
PATH="$PWD/../gcc-$version_gcc/install/bin:$PWD/../autoconf-$version_autoconf/install/bin:$PATH" \ |
|
|