wok rev 25658

Fix get-texlive for 2008 version, add collection-latex, fix for build on x86_64 (2008 don't support it)
author Stanislas Leduc <shann@slitaz.org>
date Fri Feb 16 19:48:00 2024 +0100 (2 months ago)
parents c98e9c622218
children d80275dcc2c7
files get-texlive/stuff/get-texlive
line diff
     1.1 --- a/get-texlive/stuff/get-texlive	Fri Feb 09 11:15:32 2024 +0000
     1.2 +++ b/get-texlive/stuff/get-texlive	Fri Feb 16 19:48:00 2024 +0100
     1.3 @@ -9,7 +9,7 @@
     1.4  SOURCE="install-tl"
     1.5  TARBALL="$SOURCE-unx.tar.gz"
     1.6  WEB_SITE="http://www.tug.org/$PACKAGE/"
     1.7 -WGET_URL="http://mirror.ctan.org/systems/$PACKAGE/tlnet/$TARBALL"
     1.8 +WGET_URL="ftp://ftp.math.utah.edu/pub/tex/historic/systems/$PACKAGE/2008/tlnet/$TARBALL"
     1.9  ROOT="$1"
    1.10  
    1.11  # Check if we are root
    1.12 @@ -51,7 +51,7 @@
    1.13  fi
    1.14  
    1.15  tar -xzf $TARBALL
    1.16 -VERSION="$(ls -d $SOURCE*/ | sed 's|/*$||' | tr -cd '0-9')"
    1.17 +VERSION="$(grep 'texlive-' $SOURCE*/release-texlive.txt | tr -cd '0-9')"
    1.18  
    1.19  # extracted pkg can be removed: Save RAM before packing
    1.20  rm -rf $TARBALL
    1.21 @@ -74,6 +74,7 @@
    1.22  TEXMFSYSCONFIG $PREFIX/$VERSION/texmf-config
    1.23  TEXMFSYSVAR $PREFIX/$VERSION/texmf-var
    1.24  collection-basic 1
    1.25 +collection-latex 1
    1.26  option_doc 0
    1.27  option_fmt 1
    1.28  option_letter 0
    1.29 @@ -83,7 +84,7 @@
    1.30  
    1.31  # some mirrors are too slow, if so, add this option:
    1.32  # 	-location ftp://ftp.inria.fr/pub/TeX/CTAN/systems/texlive/tlnet/2008/
    1.33 -./install-tl -profile slitaz.profile
    1.34 +setarch linux32 ./install-tl -profile slitaz.profile -location ftp://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2008/tlnet/tlpkg/
    1.35  
    1.36  cd "$TMP/$SOURCE"
    1.37