You are not logged in.

#1 2015-09-21 09:01:58

esa
Member
Registered: 2011-12-29
Posts: 143
Website

YASSI - Yet Another Simple Script Installer

Heya everyone

Why?
So, you have a cool script project and want to distribute/share it, but missed to write an (un-)installer or dont get along with autoconf/automake?
YASSI is there for you!

Preview
https://raw.githubusercontent.com/sri-a … review.jpg

What?
It works with a single configuration file, of which it updates the helpscreen and creates:

  • make-install

  • make-uninstall

  • make-distclean

  • $APP_dirs.conf (which is optionaly copied to: $SYSCONFDIR/$APP.conf)

Other features:

  • Check for dependencies (app & cfg)

  • Make a cleaned-up and preconfigured tarball

  • Install to a mounted (but not 'chrooted') chroot partition

How?
Simply copy the configure file into your project dir and run either:

./configure --sample > configure.cfg
./configure --sample-full > configure.cfg

Then edit the configure.cfg according to your needs.
Please know that the samples are using my preferences to illustrate and provide samples of what can be achieved.

Help:
For a quick start, you could read: https://github.com/sri-arjuna/yassi/blo … s/USAGE.md

Or you can install YASSI,

./configure --prefix=$HOME/.local
./make-install

to get the full manual like:

info yassi

Get:
Bug Reports: https://github.com/sri-arjuna/yassi/issues
Final Release: https://github.com/sri-arjuna/yassi/releases/tag/v1.1.2

Hope this helps and have fun! smile

Last edited by esa (2015-10-06 14:36:03)


Author of: TUI (Text User Interface for scripts), VHS (Video Handler Script, using ffmpeg) and YASSI (Yet Another Simple Script Installer)

Offline

#2 2015-10-06 14:35:47

esa
Member
Registered: 2011-12-29
Posts: 143
Website

Re: YASSI - Yet Another Simple Script Installer

Why this sucks less?

  • No need to write an installer, uninstaller or 'distclean' script

  • Behaves 'like' GNU Autotools but it is a single file to maintain all of the installation

  • Works well with AUR (and other package types, like RPM): -> Example

  • No need to write code for the installation (for basic file placement, see code example), still can - for more complex installations

This is all you need: --> https://github.com/sri-arjuna/yassi/blo … /configure
By now with 1.1.2, for my needs, it is perfect and i consider it done.

Small configuration (there is an advanced one):

APP=myproject
BINDIR=bin
DATADIR="./samples ./theme"

For "./configure -h" and during "./configure --prefix=/" it will refer to 'myproject'.
DATADIR will expand to: /share/myproject, and contain the folders "samples" and "theme".
Obviously, alll of the files within the dir "bin" will be copied to /bin.
If prefix is set to "$HOME/local", that would be "$HOME/local/share/myproject" and "$HOME/local/bin"

Eventhough one only needs the file 'configure', i would also work when installed, looking for a 'configure.cfg' within the PWD, and if found, create make-install/uninstall/distclean there according to it.
But me not going to make an AUR package if noone (else) is using it.

Thoughts, impression and feedbacks are welcome! smile
Thank you and hope you like it!


Author of: TUI (Text User Interface for scripts), VHS (Video Handler Script, using ffmpeg) and YASSI (Yet Another Simple Script Installer)

Offline

Board footer

Powered by FluxBB