Sponsored Content
Top Forums UNIX for Advanced & Expert Users Simple (un-)installation of scripts using YASSI Post 302951707 by sea on Monday 10th of August 2015 12:02:17 AM
Old 08-10-2015
Simple (un-)installation of scripts using YASSI

Heyas

Recently i've been 'fighting' with the GNU Autotools (autoconf, automake) to distribute one of my script based projects.
Figured that these tools are very powerfull, and therefor can be very hard to learn/master.

This said, a new personal project was started, inspired by the GNU Autotools, but focus' only on copying files to predefined places.
For this reason, it only requires a single configuration file.

If your target audience is a GNU/FHS compatible environment, you might want to try YASSI - Yet another simple script installer.

What is it all about?
Once called:
Code:
./configure [--prefix=/usr]

It creates:
  • make-install
  • make-uninstall
  • make-distclean
I let you guess what they do... Smilie

On first use, i recomend to use ./configure --sample-full for the comments in the view, where as advanced users will probably prefer ./configure --sample > configure.cfg

To simplify the the installation task, it copies directories recursivly, preserving permissions set (cp -ar).

Preview: Screenshot

TODO:
There is one thing i'll add as soon i 'fully' (as in 'enough') understand it.
The automization for placing the *po (and sub-related stuff) files.

BUGS:
This said, for basic instructions, please read the README.
If you have bugs or suggestions and have a github account, please raise an ISSUE or drop a line here otherwise.

Hope this helps and have fun Smilie

Last edited by sea; 08-10-2015 at 01:08 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

two simple question on shell scripts....

:D my first question is how can envoke filename expansion from within a shell script.. forinstance if i execute the script and it asks for a specific directory that i would like to cd to, how can i get the script to use the same file name expension as the command line.. my second question is how... (3 Replies)
Discussion started by: moxxx68
3 Replies

2. Solaris

installation of Solaris: installation bypasses network config.

hello solaris friends, I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url: http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies

3. Shell Programming and Scripting

simple shell scripts

hi everyone... i'm new to this shell programming and i want help with the following question... i hope someone can help me ...pls plsssssssssss ========================================================== the question ========================================================== A number of... (1 Reply)
Discussion started by: moon14
1 Replies

4. Shell Programming and Scripting

Need a simple file based utilty for shell scripts

Hello, I'm wondering if you may know of a simple file based UNIX utility that can be used to store and retrieve values on a flat file, let's say i have a file called "kru", i'd like to be able to specify a request like: while(....) if ; then kru.fld2 = $rec_cnt kru.fld3 =... (4 Replies)
Discussion started by: bobk544
4 Replies

5. Shell Programming and Scripting

Changing the Bash Scripts to Bourne Scripts:URGENT

Hi, I have to write a program to compute the checksums of files ./script.sh I wrote the program using bash and it took me forever since I am a beginner but it works very well. I'm getting so close to the deadline and I realised today that actually I have to use normal Bourne shell... (3 Replies)
Discussion started by: pgarg1989
3 Replies

6. Shell Programming and Scripting

KSH - How to call different scripts from master scripts based on a column in an Oracle table

Dear Members, I have a table REQUESTS in Oracle which has an attribute REQUEST_ACTION. The entries in REQUEST_ACTION are like, ME, MD, ND, NE etc. I would like to create a script which will will call other scripts based on the request action. Can we directly read from the REQUEST_ACTION... (2 Replies)
Discussion started by: Yoodit
2 Replies

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

8. UNIX for Dummies Questions & Answers

Create a simple web portal/GUI to execute scripts?

Very new to this..... What I would like to do: Create a simple GUI/Web portal with 3 buttons and 1 text field The three buttons need to take the input into the text field and use that as the variable to execute scripts located on a server Problem: How can i get the buttons on the... (3 Replies)
Discussion started by: poops
3 Replies

9. Red Hat

Syslog.conf: looking for a simple answer on a simple question

Cheers! In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not? To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies

10. 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
AUTOCONF(1)							   User Commands						       AUTOCONF(1)

NAME
autoconf - Generate configuration scripts SYNOPSIS
autoconf [OPTION]... [TEMPLATE-FILE] DESCRIPTION
Generate a configuration script from a TEMPLATE-FILE if given, or `configure.ac' if present, or else `configure.in'. Output is sent to the standard output if TEMPLATE-FILE is given, else into `configure'. Operation modes: -h, --help print this help, then exit -V, --version print version number, then exit -v, --verbose verbosely report processing -d, --debug don't remove temporary files -f, --force consider all files obsolete -o, --output=FILE save output in FILE (stdout is the default) -W, --warnings=CATEGORY report the warnings falling in CATEGORY [syntax] Warning categories include: `cross' cross compilation issues `obsolete' obsolete constructs `syntax' dubious syntactic constructs `all' all the warnings `no-CATEGORY' turn off the warnings on CATEGORY `none' turn off all the warnings `error' warnings are error The environment variables `M4' and `WARNINGS' are honored. Library directories: -B, --prepend-include=DIR prepend directory DIR to search path -I, --include=DIR append directory DIR to search path Tracing: -t, --trace=MACRO[:FORMAT] report the list of calls to MACRO -i, --initialization also trace Autoconf's initialization process In tracing mode, no configuration script is created. FORMAT defaults to `$f:$l:$n:$%'; see `autom4te --help' for information about FORMAT. AUTHOR
Written by David J. MacKenzie and Akim Demaille. REPORTING BUGS
Report bugs to <bug-autoconf@gnu.org>. GNU Autoconf home page: <http://www.gnu.org/software/autoconf/>. General help using GNU software: <http://www.gnu.org/gethelp/>. COPYRIGHT
Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
autoconf(1), automake(1), autoreconf(1), autoupdate(1), autoheader(1), autoscan(1), config.guess(1), config.sub(1), ifnames(1), libtool(1). The full documentation for autoconf is maintained as a Texinfo manual. If the info and autoconf programs are properly installed at your site, the command info autoconf should give you access to the complete manual. GNU Autoconf 2.69 August 2017 AUTOCONF(1)
All times are GMT -4. The time now is 04:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy