- run with
- haikuporter -F --no-dependencies --no-source-packages texlive_x86
- SUMMARY="A complete TeX distribution"
- DESCRIPTION="TeX Live is a free software distribution for the TeX typesetting system that includes major TeX-related programs, macro packages, and fonts (wikipedia)."
- HOMEPAGE="http://www.tug.org/texlive/"
- SRC_URI="svn://tug.org/texlive/trunk/"
- REVISION="1"
- LICENSE="TeXLive"
- COPYRIGHT="2015, The TeX Users Group (TUG) http://tug.org"
- ARCHITECTURES="x86 ?x86_64"
- if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
- # x86_gcc2 is fine as primary target architecture as long as we are building
- # for a different secondary architecture.
- ARCHITECTURES="$ARCHITECTURES x86_gcc2"
- else
- ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
- fi
- SECONDARY_ARCHITECTURES="x86 ?x86_64"
- PROVIDES="
- texlive$secondaryArchSuffix = $portVersion
- "
- REQUIRES="
- haiku${secondaryArchSuffix} >= $haikuVersion
- "
- BUILD_REQUIRES="
- haiku${secondaryArchSuffix}_devel >= $haikuVersion
- "
- BUILD_PREREQUIRES="
- cmd:autoconf
- cmd:bison
- cmd:find
- cmd:flex
- cmd:gcc$secondaryArchSuffix
- cmd:ld$secondaryArchSuffix
- cmd:make
- cmd:makeinfo
- cmd:wget
- cmd:xz
- cmd:xzdec
- devel:libicuuc
- "
- PATCHES="texlive_x86-0.0.2.patchset"
- BUILD()
- {
- export LC_ALL=C
- rm -rf Build/source/doc
- rm -f Build/source/configure
- rm -f Build/source/texk/web2c/configure
- cd Build/source
- autoconf
- cd ../../Build/source/texk/web2c/
- autoconf
- rm -f Build/source/texk/dvipdfm-x/configure
- cd ../../../../Build/source/texk/dvipdfm-x/
- autoconf
- cd ../../../../Build/source
- ./Build -g -C --with-banner-add='/Haiku' --without-x --disable-xetex --disable-lcdf-typetools --disable-xpdf --without-texinfo --with-system-icu --disable-native-texlive-build --build=i586-pc-haiku;
- mkdir -p bin/i386-haiku/
- cp -p -L -R inst/bin/* -t bin/i386-haiku/
- cp /boot/system/bin/wget ../../Master/tlpkg/installer/wget
- cp /boot/system/bin/xz ../../Master/tlpkg/installer/xz
- cp /boot/system/bin/xzdec ../../Master/tlpkg/installer/xzdec
- }
- INSTALL()
- {
- cp -p -L -R Build/source/bin/i386-haiku/ Master/bin/
- cd Master
- export PATH=./bin/i386-haiku:$PATH
- TEXLIVE_INSTALL_TEXMFVAR=/boot/home/config/settings/texlive/`date +%Y`/texmf-var
- TEXLIVE_INSTALL_TEXMFCONFIG=/boot/home/config/settings/texlive/`date +%Y`/texmf-config
- TEXLIVE_INSTALL_PREFIX=$dataDir/texlive install-tl <<< $'S\ne\nR\nI\n'
- mkdir -p $binDir
- cp -p -L -R bin/i386-haiku/ $binDir
- }
SHARE
TWEET
haiku texlive recipe
a guest
May 23rd, 2015
10
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.
