[Slackbuilds-users] Slackbuild Directories

Bradley D. Thornton Bradley at NorthTech.US
Fri Feb 1 18:58:31 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160



On 01/31/2013 07:03 PM, John C. Gage wrote:
> Has there ever been a thought to modify the slackbuild script to configure,
> make and create the TXZ file in the same directory in which the SlackBuild
> script was run? Can the mod also automatically call installpkg and install
> the package all in one script?

I tend to keep my SBo's in /usr/local/slackbuilds. Then when I untar
them, they reside, along with the source which I download, in
/usr/local/slackbuilds/<package_name>.

I like to keep all of my packages in /usr/local/packages, and create a
symlink there so I can get any package via HTTP. It's convenient, much
less messy than /tmp, which I like to keep cleaned out, and makes for
easy re-distribution, rollbacks, and use of packages later.

Change the output line in <package_name>.SlackBuild from /tmp to:

OUTPUT=${OUTPUT:-/usr/local/packages}

I also change this to be the default in sbopkg too. Of course, you'll
need to:

# mkdir -p /usr/local/packages

I hope that helps!

Kindest regards,


- -- 
Bradley D. Thornton
Manager Network Services
NorthTech Computer
TEL: +1.310.388.9469  (US)
TEL: +44.203.318.2755 (UK)
TEL: +41.43.508.05.10 (CH)
http://NorthTech.US

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Find this cert at x-hkp://pool.sks-keyservers.net

iQEcBAEBAwAGBQJRDBBXAAoJEE1wgkIhr9j3NkwH/02Jtos3Hl1f7U86LRwxHG3D
JDd3o1iKESm2t+MUWXn839CviHqBNvMVbimkIOM5X9oJwbzHWuRzO821gTxVUxyi
4jYuASodNVJjPSZgzwSrFGHxL7tI1klbh/AxjuMNkRweUIc7b0uvztUGTVZ+a1Qm
QtMpaZdHyG6PGzX8kr8gDhk6gxd5F+yIrGeRytHIjMGlIK4DzUcr90XPflGkf984
BMyTkInzPxIv/n/uCDeMJRnNaFDe5PlQDFDMf07ZAPINjmhq9pAqmJ1E+l1w48PY
RbBfBvSBKFJSyVw7TsHO/NgqZyNaPrG75howfOAs/eXp8NvcKO4slEUd3eA2NrU=
=epis
-----END PGP SIGNATURE-----


More information about the SlackBuilds-users mailing list