[Slackbuilds-users] schedtool SlackBuild
Robby Workman
rworkman at slackbuilds.org
Mon Nov 2 04:16:50 UTC 2009
On Sat, 24 Oct 2009 09:17:04 -0400
Dave Margell <dmargell at gmail.com> wrote:
> I've been using Con Kolivas' BFS (Brain F**k Scheduler) patch version
> 304, and my desktop seems stable and very responsive with this patch.
> (2.6.31-sched-bfs-304.patch)
> http://ck.kolivas.org/patches/bfs/
>
> Con mentions using schedtool in his "bfs-faq",
> and it sounds like it could be a useful tool even on a vanilla kernel.
> So I thought I'd take a crack at writing a schedtool.SlackBuild.
>
> Problem is schedtool doesn't have a configure script,
> and I can't find a way to pass custom CFLAGS to "make"
> without directly editing the Makefile.
>
> The author sets the CFLAGS to:
> CFLAGS=-Os -fomit-frame-pointer -s -pipe
>
> I've used sed to replace the CFLAGS, and I wonder if this is
> acceptable, or if there's another way to accomplish this.
> Or should I just leave the authors CFLAGS alone?
>
> I've temporarily included the slack-desc, url and md5sum
> within the attached script.
> Do you think it could meet SBo standards?
>
> Any advice would be appreciated.
Apply the attached patch and then do this in the build script:
make install \
OPT="$SLKCFLAGS" \
PREFIX=/usr \
MANDIR=/usr/man \
DOCDIR=/usr/doc/$PRGNAM-$VERSION \
DESTDIR=$PKG
(no need for a separate "make" invocation)
Feel free to send the patch upstream if you'd like.
-RW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: schedtool-Makefile.diff
Type: text/x-patch
Size: 1514 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20091101/08835d05/attachment.bin>
More information about the SlackBuilds-users
mailing list