Coudl you show me how to rewrite an ubuntu .sh script, which is using apt-get to install some libraries, to be usable for Puppy?
I mean, how to replace apt-get with ppm, etc...?
is this feasible at all?
The script is here:
Code: Select all
# =============================================================
# CodeTyphon Project
# Copyright (c) PilotLogic Software House.
# All rights reserved.
#
# This Script Install to Ubuntu Linux
# base libraries to Build and Run CodeTyphon
# =============================================================
ciplatiform=$1
cicpu=$2
echo "----------------------------------------------------"
echo " CodeTyphon OS Libraries Installation for"
echo " Ubuntu Linux"
echo "----------------------------------------------------"
echo "."
sudo apt-get update
sudo apt-get install -y xterm zip unzip alien
sudo apt-get install -y make gcc gcc-c++ build-essential
sudo apt-get install -y binutils binutils-devel
sudo apt-get install -y gdb devscripts
sudo apt-get install -y libgtk2.0-dev libgpmg1-dev
sudo apt-get install -y libsdl-dev libXxf86vm-dev
sudo apt-get install -y libgtkglext1 libgtkglext1-dev
sudo apt-get install -y libXxf86vm-dev libx11-dev
sudo apt-get install -y libgl1-mesa-dev libglu1-mesa-dev mesa-utils
sudo apt-get install -y libncurses5-dev libgtk2.0-dev libXp-dev
sudo apt-get install -y gtk2-engines-pixbuf
sudo apt-get install -y gtkgl-dev libgtkgl2.0-dev
sudo apt-get install -y libgtkglextmm-x11-1.2-0 libcairomm-1.0-dev
sudo apt-get install -y freeglut3-dev libxtst-dev
# sudo apt-get install gtkglext-devel gtkglext-doc
# Install Courier fonts
sudo apt-get install -y xfonts-scalable
# sudo apt-get install -y ttf-mscorefonts-installer
# Install libraries for QT
if [ $ciplatiform = 1 ] ;
then
echo "."
echo "Install libraries for QT"
echo "."
sudo apt-get install -y libqt4-dev qt4-qmake
fi
echo "----------------------------------------------------"
echo "CodeTyphon OS Libraries Installation"
echo "Finish !!!"
sleep 5