[Slackbuilds-users] Slackbuild Directories
Bradley D. Thornton
Bradley at NorthTech.US
Wed Feb 27 16:47:40 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Apologies for the top-post.
FYI, David, Chris, I used tips from your comments in the thread below at:
http://www.linuxquestions.org/questions/showthread.php?p=4900906#post4900906
I would welcome any additional input or pointers you or anyone else has
there and in part because I'm gathering data for a series of articles
I'm writing on Slackware package management for a prominent Linux news site.
On 02/01/2013 04:39 PM, xgizzmo at slackbuilds.org wrote:
> On Friday 01 February 2013 13:58:31 Bradley D. Thornton wrote:
>>
>> 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,
>>
>>
>
> No reason to edit the Slackbuild at all add something like this to you profile:
>
> export OUTPUT="/usr/local/packages"
> export PKGTYPE="txz"
>
> or
>
> OUTPUT="/usr/local/packages" PKGTYPE="txz" <package_name>.SlackBuild
>
> --dsomero
I hope neither of you mind me quoting you there. I took the liberties
because the SBo list is publicly archived and I endeavored to attribute
accordingly :)
Thanks and 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
iQEcBAEBAwAGBQJRLjisAAoJEE1wgkIhr9j38A4IAJ6MQqIO4zW4YVc+vzuBpoeI
2PIHZDxgwjrx9mDoOYBwZ7Xoy44e3/MDVHvh30l6Rtv3tVlY49WN0Hux3wYRNPm4
A3WsnwgGkA8c8fOqSa/B25lmxEJ0CYTUZ416OgI6Ez4UTnwx4j7AZID7KSZU5ATc
KGsAyodKAHTfhFTdXcyHZdl54EkGsWoFnOnaLZZ4rw6eClQaB19/Ktkwqwz6iB8X
OomfFUJ4XlABb1JbTvq0K1+hOr1K+hbqvjk8k2FiRS9Fmmr734c1JwyWnPqRnJAP
36HHt9ctbpr3bs267XZuex1mDICxSthasPRuQ6lt4nyrpEr4hp1smJWr6jGtFhY=
=2RIh
-----END PGP SIGNATURE-----
More information about the SlackBuilds-users
mailing list