sbotools

 

sbotools provides a ports-like interface to slackbuilds.org. It consists of several commands, and a configuration file. It is written entirely in Perl and makes use of the following none-core Perl module:

Sort::Versions

This can be installed via the CPAN:
# cpan Sort::Versions

And it is also available as SlackBuilds.org:
perl-Sort-Versions

For Slackware 14.0, you need the latest release in the 1.x branch, which is available at SlackBuilds.org:
sbotools on SlackBuilds.org

The source code for the 1.x branch is available on the downloads page.

For Slackware 13.37, you need the latest release in the 0.x branch, which is available as a combined slackbuild and source package here:

sbotools-0.10.tar – md5sum: efb92fc318dabf9a0e4b43a9476e86c6

Beyond providing a ports-like interface, sbotools provides several additional features:

  • For Slackware 14.0, handling of requirements from a slackbuild’s .info file, or for Slackware 13.37, parsing requirement lists from a slackbuild’s README, and asking the user if s/he wishes to install them. Note this is not at all automatic; user input and intelligence is required.
  • The ability to compile 32-bit only slackbuilds on multilib x86_64 systems.
  • The ability to create -compat32 packages from slackbuilds on multilib x86_64 systems.
  • The ability to specify a number for the -j parameter to make, to speed up compiles by utilizing multiple cores.
  • Probably a few others I’m not thinking of at present.

sbotools has been developed on Slackware64 14.0 and Slackware 13.37. For any older versions, Perl would need to be upgraded, and the Lib.pm would need to modified to support that version. Please send me an email (j_[at]_dawnrazor_[dot]_net) or comment if you find any bugs. There’s also a #sbotools channel on freenode, come talk to us.

There is also some documentation available.
If you’d like to understand why I would do this, read the rationale
If you’re wondering what the future of sbotools might look like, read the roadmap.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>