# HG changeset patch # User Christophe Lincoln # Date 1239796926 -7200 # Node ID 9019db02cde3a4b19f190b4f1dffd7dfd30e837a # Parent 5ac7c3f3e0eb1dff2a1d000189930eb922bcef08 Remove get-texlive (Not stable at all) diff -r 5ac7c3f3e0eb -r 9019db02cde3 get-texlive/receipt --- a/get-texlive/receipt Wed Apr 15 12:25:03 2009 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="get-texlive" -VERSION="2008" -CATEGORY="office" -WEB_SITE="http://www.tug.org/texlive/" -SHORT_DESC="get texlive distribution for tex, latex..." -MAINTAINER="sygne@ombres.eu" - - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp stuff/$PACKAGE $fs/usr/bin -} - - -post_install() -{ - echo -e " -To get texlive, run \033[1mget-texlive\033[0m as root. -This will install about 31 Mo of tools in /usr/local/texlive -" -} - diff -r 5ac7c3f3e0eb -r 9019db02cde3 get-texlive/stuff/get-texlive --- a/get-texlive/stuff/get-texlive Wed Apr 15 12:25:03 2009 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,140 +0,0 @@ -#!/bin/sh -# download, pack and install a minimal texlive scheme. - -PACKAGE="texlive" -VERSION="2008" -CATEGORY="office" -SHORT_DESC="latex text processor" -MAINTAINER="sygne@ombres.eu" -DEPENDS="wget perl openssl" -SOURCE="install-tl" -TARBALL="$SOURCE-unx.tar.gz" -WEB_SITE="http://www.tug.org/$PACKAGE/" -WGET_URL="http://mirror.ctan.org/systems/$PACKAGE/tlnet/$VERSION/$TARBALL" -ROOT="$1" - -# Check if we are root -if test $(id -u) != 0 ; then - echo -e "\nYou must be root to run `basename $0`." - echo -e "Please use 'su' and root password to become super-user.\n" - exit 0 -fi - -# Avoid reinstall -if [ -d $ROOT/var/lib/tazpkg/installed/$PACKAGE ]; then - echo -e "\n$PKG package is already installed.\n" - exit 0 -fi - -# We need softwares. -for pkg in $DEPENDS -do - if [ ! -d /var/lib/tazpkg/installed/$pkg ]; then - tazpkg get-install $pkg - fi -done - - -# Make working directory -TMP=/tmp/$(basename $0)$$ -mkdir -p $TMP -TOP=$PWD -cd $TMP - -# Get files -echo -e "\033[1;33m Getting $PACKAGE install script\033[0m" -wget $WGET_URL -tar -xzf $TARBALL - - -# launch texlive install script -echo -e "\033[1;33m Launching $PACKAGE install script\033[0m" -cd $SOURCE -PREFIX="$PACKAGE-$VERSION/fs/usr/local/$PACKAGE" -mkdir -p $PREFIX - -cat > slitaz.profile < $PACKAGE-$VERSION/receipt <> profile - mv profile /etc/profile - fi - - echo -e " - -\033[1;33m - A texlive minimal scheme is now installed - \033[0m - -Verify that \033[1mPATH\033[0m is well formatted in /etc/profile, -and contain \033[1m/usr/local/\$PACKAGE/\$VERSION/bin/i386-linux/\033[0m - -To improve texlive, run \033[1mtlmgr\033[0m as root. -If you prefer graphicals interfaces, install perl-tk, -and run\033[1m tlmgr gui\033[0m. - -The tlmgr man page can be found here: -http://tug.org/texlive/doc/tlmgr.html -" -} -EOT - - -# Pack -tazpkg pack $PACKAGE-$VERSION - - -CONFIRM="y" -if [ -z "$ROOT" ]; then - echo -n "\nPlease confirm installation of $PACKAGE-$VERSION (y/N): " - read CONFIRM -fi -if [ $CONFIRM = "y" ] - then - # Install pseudo package - tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT -fi - -# Clean -cd $TOP -rm -rf $TMP - -exit 0