Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Dec 2014, 04:32
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
how to rewrite Ubuntu .sh script for Puppy?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
tatamata

Joined: 02 May 2010
Posts: 63

PostPosted: Mon 21 Jan 2013, 13:59    Post subject:  how to rewrite Ubuntu .sh script for Puppy?  

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:
# =============================================================
#               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
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2619
Location: www.eussenheim.de/

PostPosted: Mon 21 Jan 2013, 16:42    Post subject: Re: how to rewrite Ubuntu .sh script for Puppy?  

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:
Quote:
# =============================================================
# CodeTyphon Project
# Copyright (c) PilotLogic Software House.
# All rights reserved.
#
...
sleep 5
No Wink
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0471s ][ Queries: 12 (0.0067s) ][ GZIP on ]