[Slackbuilds-users] SlackBuild Ettiquette

King Beowulf kingbeowulf at gmail.com
Thu Nov 13 03:16:09 UTC 2014


On Wednesday, November 12, 2014, Barry Grundy <bgrundy at gmail.com> wrote:

> I maintain a particular package, and it's due for an upgrade.  I've been
> playing with one of the options to the package and Iv'e determined that for
> my use I would rarely run without that particular option.
>
> Is it bad practice to have the SlackBuild enable an option by default?
> Obviously the README would cover the subject.  Basically I'm asking to turn
> an option into a "requirement".
>
> The package in question is bulk_extractor (already in SBo), and the option
> is liblightgrep (I'll be submitting the new SlackBuild concurrently).
>
> The .info would reflect the requirement, and the bulk_extractor README
> would indicate that the requirement could be disabled by removing
> "--enable-liblightgrep" from the SlackBuild.
>
> Is this kosher(ish)?
>

Why not set up a switch, on/off by default, say, so that the option can be
run/not run without editing the script:

LLG=yes ./blah.SlackBuild

This is done in a number of scripts (JDK, qemu, nvidia, ...)




-- 
You! What PLANET is this!
    -- McCoy, "The City on the Edge of Forever", stardate 3134.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20141112/872ac4a5/attachment.html>


More information about the SlackBuilds-users mailing list