[gobolinux-users] Recipe-fu

Benjamin Bruheim grolgh at gmail.com
Fri Jan 26 21:39:09 UTC 2007


Hi,

I'm trying to create some recipes. However I have no clue where to
start. First for j2re, which is a bit complicated since the setup is
entirely non standard. Secondly for wxpython which is multistep.

First, j2re install is like this:

PrepareProgram JRE 1.5.0_10
cd to the created dir, execute the binary download.
create symlinks (bin, man, lib)
SymlinkProgram JRE

.... however how would I create a recipe for this?

And second, wxPython which was REALLY A CHORE. Geez. But it works. The
steps follows (for CVS-build, but any >= 2.6 is the same anyway):

"""
mkdir bld
cd bld
../configure --prefix=/Programs/WxPython/CVS \
             --with-gtk \
             --with-gnomeprint \
             --with-opengl \
             --enable-debug \
             --enable-geometry \
             --enable-graphics_ctx \
             --enable-sound --with-sdl \
             --enable-mediactrl \
             --enable-display \
             --disable-debugreport \
--with-libjpeg=builtin \
--with-libpng=builtin \
--with-libtiff=builtin \
--with-zlib=builtin \
--enable-unicode

make \
    && make -C contrib/src/gizmos \
    && make -C contrib/src/stc


make install \
    && make -C contrib/src/gizmos install \
    && make -C contrib/src/stc install

SymlinkProgram WxPython CVS

cd ../wxPython

python setup.py install --prefix /Programs/WxPython/CVS
"""

But I'm confused on how I would create such a recipe since it
obviously breaks the design principle of Scripts.

Sincerely,
Benjamin


More information about the gobolinux-users mailing list