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 bundles a copy of the Sort::Versions module with itself for its own usage; this will not interfere with copies installed via the CPAN or slackbuilds.org.

For Slackware 14.0 or 14.1, 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 or 14.1, 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.1, 14.0, and 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.

  2 Responses to “sbotools”

  1. […] very bad. There are a few tools that do dependency resolution for you though, like d4wnr4z0r's sbotools, which pulls from slackbuilds.org (the main source of third party slackbuilds) and resolves the […]

  2. […] I queried the SlackBuilds database to see if there was a build script but nothing turned up for sbopkg. What I did turn up was a program called sbotools. […]