[Slackbuilds-users] SlackBuild Ettiquette

Ivan Zaigralin melikamp at melikamp.com
Thu Nov 13 03:25:25 UTC 2014

Agreed. For example, I did this in R SlackBuild:

if [ "${R_SHLIB:-yes}" = "yes" ]; then
if [ "${BLAS_SHLIB:-yes}" = "yes" ]; then

and then passed these to configure. I opted to enable them by default
after I spoke with R devs and was told that literally nothing can go
wrong, and the performance impact is negligible for most practical
purposes. How to set the default values is entirely up to you as a
maintainer, but I would pay attention to what your users want, as well
as KISS.

On 11/12/2014 07:16 PM, King Beowulf wrote:
> On Wednesday, November 12, 2014, Barry Grundy <bgrundy at gmail.com
> <mailto: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
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20141112/29a9fce3/attachment.asc>

More information about the SlackBuilds-users mailing list