Yet another simple script installer


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Yet another simple script installer
# 1  
Old 08-04-2015
Yet another simple script installer

Heyas

Just recently i tried to apply the GNU Autotools to my project, while it was possible, it took forever to know where to create which files and what to place in each of them.
Dare you making a space rather than a tab!

Inspired by GNU Autotools, and overhelmed by its functionality and complexety, i wanted something simpler, smaller, quicker for my smaller projects - that do no require compiling.

While i do respect and honor their work, for a 'simple script project' the Autotools are somewhat overpowered and hard to handle.
While i consider myselft a fast adapter/learner, and thinking about how much trouble i had, i could imagine others having more trouble with the GNU Autotools.

So, YASSI was born.
  • It creates 3 make-* files, and a 'reference' file - doRef=true will install it to /etc/$APP.conf
  • make-distclean, would remove the just created files, cleaning up your project dir
  • make-install, well does the installation
  • make-uninstall, removes the installed files

Code:
https://github.com/sri-arjuna/yassi

Example config:
Code:
APP="dev-scripts"
BINDIR=bin
DOCDIR=docs
MAN1DIR=man
DATADIR="./incl ./menu ./templates"
COMPLDIR=${APP}_compl.bash
BUGS="erat.simon@gmail.com"
ISSUE="https://github.com/sri-arjuna/dev-scripts/issues"
doRef=true

Video:
https://www.youtube.com/watch?v=KhuariqAL2k

Since this tool/google+ post has had more shares and likes in less time than any of my other posts (on G+) i thought i'd share it here for those without G+.

Hope you like it.
Have fun!

Last edited by sea; 08-04-2015 at 04:07 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

YASSI - Yet Another Simple Script Installer (2020 edition)

Heyas As someone said he'd like to see some more projects posts on the forum, so, here's one I hope is ready. Not so much fun-fun, but practical ;) I hope... So, you have that small non-arch project you would like to install, but get the feeling that GNU Autoconf is a bit too 'massive' for... (2 Replies)
Discussion started by: sea
2 Replies

2. Shell Programming and Scripting

Installer is shell script not working

Hi Guys, I have one installer shell script which normally get from the dev team to install the app and it works fine for years (in IAX) the same installer/script iam trying to run in Linux 7.2 but it stuck somewhere which I cannot debug, can you help me to point out where it stuck . here is the... (9 Replies)
Discussion started by: Riverstone
9 Replies

3. OS X (Apple)

Installer issue

Hi, I have a little problem with an Installer. In my script I have a section that place a keyboard shortcut: #!/usr/bin/perl ################################################################################ # # Create Desktop shortcut for Swedish Menu Commands Document #... (1 Reply)
Discussion started by: peli
1 Replies

4. Shell Programming and Scripting

Xfce installer script

Xfce desktop installer script on Ubuntu for home, office or server computers. This script installs Xfce desktop and a set of programs according to user needs starting from an Ubuntu Server base system. It's valid for netbooks, notebooks, desktop computers and servers. For more information... (1 Reply)
Discussion started by: cesar-rgon
1 Replies

5. Linux

How to execute a simple select script using a shell script?

Hi team, I have two select statements and need to run them using SYSDBA user select * from temp_temp_seg_usage; select segment_name, tablespace_name, bytes/ (1024*1024) UsedMb from dba_segments where segment_name='TEMP_TEMP_SEG_USAGE'; Need to run this using a shell script say named... (1 Reply)
Discussion started by: pamsy78
1 Replies

6. Shell Programming and Scripting

Help making simple perl or bash script to create a simple matrix

Hello all! This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician. Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix: ... (16 Replies)
Discussion started by: torchij
16 Replies

7. UNIX for Advanced & Expert Users

Create an installer

I have a software bundle for which I want to create an installer. One of the things I am also looking at, is to be able to install this straight from a CD or any external storage device. How do I go about creating one? This is for Linux. Any advice is welcome !! -- garric (3 Replies)
Discussion started by: garric
3 Replies

8. UNIX for Dummies Questions & Answers

Installer script needs to determine own location...

My n00b question: I am trying to write a script that I can place on a flash drive and then move from computer to computer and install a file, which is bundled with the script. (ie the script is at /Volumes/FlashDrive/Folder/Script, the file is at /Volumes/FlashDrive/Folder/File) So far I have... (1 Reply)
Discussion started by: madmacs
1 Replies

9. Gentoo

Unix OS Installer

Hey Guys, Can somebody help me get a unix OS installer (preferably no charge)? Can I install it on intel pc? I got a copy of unix installer a year ago and tried installing it on an intel pc but I can't get it done although I was already following instructions. Slick (42 Replies)
Discussion started by: Slick
42 Replies

10. Shell Programming and Scripting

Installer script -- function not found error

I am writing an installation script on AIX. This involves typical checks of some pre requisites like java, oracle, some version checks, disk space etc. It is a long script. I am facing a strange problem. There are a no of functions used in the script. What I see is that the installer complains of... (1 Reply)
Discussion started by: asutoshch
1 Replies
Login or Register to Ask a Question