Wednesday, September 9, 2009

clips Gentoo ebuild

I needed the CLIPS platform for one of my AI classes, and of course it doesn't appear to exist in Portage. (Even trying to find the correct Linux source code is a nightmare with the way they have it organized on Sourceforge.)

So I found someone else's ebuild, made a small modification, and voila! It's now in my local repository:

> su
> mkdir -p /usr/local/portage/sci-misc/clips
> cd /usr/local/portage/sci-misc/clips
> wget
> ebuild clips-2.64.ebuild manifest
> emerge -a clips

This will build two executables, clips and xclips. And, it even builds on ~amd64 with no problem!

No comments: