how to rewrite Ubuntu .sh script for Puppy?

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
tatamata
Posts: 63
Joined: Sun 02 May 2010, 09:09

how to rewrite Ubuntu .sh script for Puppy?

#1 Post by tatamata »

Hello.
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

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: how to rewrite Ubuntu .sh script for Puppy?

#2 Post by L18L »

tatamata wrote:Hello.
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:
# =============================================================
# CodeTyphon Project
# Copyright (c) PilotLogic Software House.
# All rights reserved.
#
...
sleep 5
No :wink:

Post Reply