Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-22-2010, 06:38 AM   #1
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,235

Rep: Reputation: 302Reputation: 302Reputation: 302Reputation: 302
mkslack 3.5

Now has a man page. Various improvements over previous versions (see changelog for details).

This slackbuild generator uses templates stored in /usr/share/mkslack/templates
and a config file /etc/mkslack/mkslack.conf which you must edit for name,
email, copyright etc.

Idea for use:

The initial slackbuild and info file are built by this script, and when
a test build/install is done and working, the files should be tweaked by
hand. Especially don't forget to fill in the rest of the details in the
.info. One thing to point out is that mkslack will overwrite these files
if run again unless you set KEEPBACKUPS="YES" in the conf (default).

This is only a starter kit! You ARE expected to edit the created files
by hand afterwards to remove unnecesary parts!


mkslack [options] <archive>

-h --help Usage.
-b --build Run SlackBuild after creation. Got root?
-i --install Install the package after running.
-l --list Pipe archive contents to /usr/bin/most and exit.
-v --version Version of mkslack.
-V --ckver Check for new version.

Config options:

NAME, EMAIL as they should appear in .SlackBuild and .info
TAG should be your custom tag and defaults to _SBo
KEEPBACKUPS="YES|NO" up to 5 backups of .SlackBuild and other files are
kept. The higher the number, the older they are.
ERRORACTION="PROMPT|AUTO|EXIT" what to do on build errors. Using AUTO or
answering 'y' to the prompt will have the slackbuild adjusted for man and
info pages and then rebuilt.

CLI Options:

The documents list in top level of source tree can be adjusted by command:
DOCS="SomeFile" mkslack <archive>
This will add 'SomeFile' to the list. You can also edit the DOCS list in
this script. Any that it doesn't find will be removed from the list.

Build can be specified by:
BUILD=2 mkslack <archive>
Otherwise it defaults to 1.

ARCH can be specified by:
ARCH=xxx mkslack <archive>
It defaults to i486 the same as a regular SlackBuild.

TAG can also be specified.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Mkslack Release dive Slackware 21 09-08-2010 04:00 PM
mkslack 1.6 dive Slackware 0 06-10-2010 07:24 PM
mkslack 1.3 released dive Slackware 5 06-10-2010 07:21 PM
mkslack 0.7 release dive Slackware 4 04-13-2010 04:05 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration