LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-16-2014, 10:28 AM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 293Reputation: 293Reputation: 293
[ANN] mkslack 4.5b2


mkslack - a SlackBuild generator script.

* Added a waf template and waf configure error detection.

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, tag and a few options.

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 and add extra options.

http://www.dawoodfall.net/files/slac...rsion/mkslack/
 
Old 04-16-2014, 02:28 PM   #2
StevenXL
Member
 
Registered: Jan 2014
Posts: 69

Rep: Reputation: Disabled
Sweet! Thanks for this.
 
Old 04-17-2014, 10:50 AM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,110

Rep: Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810
OK, I'm being really, really stupid: how do I install it?
 
Old 04-17-2014, 11:04 AM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Original Poster
Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by tronayne View Post
OK, I'm being really, really stupid: how do I install it?
Pretty much the same as any slackware package:

1)
Grab the prebuilt package - mkslack-4.5-noarch-2daw.txz
installpkg mkslack-4.5-noarch-2daw.txz as root
Later you can upgrade it in a similar way using upgradepkg.

or

2 )
Grab the slackbuild tarball (mkslack.tar.gz) and the source (mkslack-4.5-tar.gz).
Untar the slackbuild and copy the source tarball into the folder it creates (mkslack)
cd mkslack
chmod +x mkslack.SlackBuild
As root: ./mkslack.SlackBuild
That will create the package which you can then install using installpkg as in 1) above.

More info on running slackbuilds can be found here:
http://www.slackbuilds.org/howto/
http://www.slackbuilds.org/faq/

Hope this helps.
 
1 members found this post helpful.
Old 04-17-2014, 11:38 AM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,110

Rep: Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810
Well, duh! I grabbed the source tarball, looked at it, went... uh...

All is well that ends, thank you.
 
Old 04-17-2014, 06:00 PM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Original Poster
Rep: Reputation: 293Reputation: 293Reputation: 293
Small update. 4.5b3 is now available.

I fixed a bug where using -b would end up in an endless loop.

Regarding loops in general:

If the slackbuild errors out with an exit code of 1 then all is fine. Sometimes though the error doesn't and exits on 0, which does not get picked up as an error.

In these cases you need to ctrl-c and run the slackbuild manually to see what the error is.
 
  


Reply

Tags
bashs script, mkslack, slackbuilds, slackware


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
[ANN] mkslack 4.3 dive Slackware 3 12-30-2013 12:14 PM
[ANN] Mkslack 4.2 released dive Slackware 0 10-29-2011 07:56 PM
[ANN] Mkslack 4.1 Released dive Slackware 1 10-26-2011 10:46 PM
[ANN] mkslack 4.0 released dive Slackware 1 04-24-2011 04:08 PM
[ANN] mkslack 3.8 released dive Slackware 2 02-09-2011 06:49 PM


All times are GMT -5. The time now is 09:55 AM.

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