[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | talk:howtos:slackware_admin:creating_a_package_using_a_slackbuild_script [2012/09/25 02:55 (UTC)] (current) – moved from the general howtos namespace mfillpot | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | > If you’re running an x86_64 version of Slackware, you’ll need to preface the above command like this: | ||
+ | > < | ||
+ | |||
+ | No, you can do it but not need. pysolfc.SlackBuild (and others on slackbuilds.org) has some code for this: | ||
+ | < | ||
+ | if [ -z " | ||
+ | case "$( uname -m )" in | ||
+ | i?86) ARCH=i486 ;; | ||
+ | arm*) ARCH=arm ;; | ||
+ | *) ARCH=$( uname -m ) ;; | ||
+ | esac | ||
+ | fi | ||
+ | </ | ||
+ | "$( uname -m )" returns " | ||
+ | \\ --- //bormant// | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | You are correct, bormant. I remember when Slackware first came out with a 64 bit version and we had to do this for all the SlackBuilds initially. This tutorial was originally written a few years back. That's why that method is still in there. It does no harm, though. I may remove it, eventually. Thank you! ~vtel | ||
+ | ------ | ||
+ | |||
+ | I think you should remove the comment because the ARCH detection block has been part of Slackware scripts and those in 3rd party repositories for quite a while. \\ What you could do is make a suggestion that the user checks the script for the presence of an ARCH block if she wants to be absolutely sure of the outcome. \\ --- // | ||
+ | |||
+ | ---- | ||
+ | I just removed it completely (on the original source, also). The fact is that a user would probably have a hard time finding an old SlackBuild script without the ARCH detection at this point. Thanks, bormant and Eric. --- // | ||
+ | ---- | ||
+ | |||
+ | Looking through the HOWTOs I found this article again, and the title " | ||
+ | |||
+ | ---- | ||
+ | >Being new to Slackware, I interpreted it as " | ||
+ | |||
+ | Bad title. I agree. Fixed now. :-) --- // | ||