[Slackbuilds-users] Proof my SlackBuild

Antonio Hernández Blas hba.nihilismus at gmail.com
Wed Apr 23 22:54:04 UTC 2008

'#!/bin/bash' should be '#!/bin/sh'
'ARCH=${ARCH:-i686}' should be 'ARCH=${ARCH:-i486}'

And you can use something like this too(well, i think :)
find . -name Makefile -exec \
  sed -i \
    -e 's:-march=nocona -mtune=nocona::' \
    -e 's:-march=k8 -mtune=k8::' \
    -e 's:-march=pentium3 -mtune=pentium3::' {} \;

- Antonio Hernández Blas

2008/4/21, Alan Hicks <alan at lizella.net>:
> Keith Richie wrote:
> > Could someone take a look at my Slackbuild and point out any errors?
> It looks good to me.  I especially like that you discussed the problems you
> were having with cpu_info.sh on the mjpeg mailing list for ideas.  Granted,
> I have not tried it out, but I don't see any obvious pitfalls.
> --
> It is better to hear the rebuke of the wise,
> Than for a man to hear the song of fools.
> Ecclesiastes 7:5

More information about the Slackbuilds-users mailing list