
ok, i'll do that. i am not 100% on the ghc build system, but i'll copy and modify some of the other make files, they seems more or less understandable.
I'd like to strongly recommend copying the Makefiles in the X11 library in fptools/libraries/X11. The key files are: mk/*.mk - you'll want to customize mk/version.mk with the name and version of your package Makefile - where you set the package name mention any subdirectories that contain makefiles (SUBDIRS) mention any subdirectories that contain source code but no makefile (ALLDIRS) mention any package dependencies specify a few extra compilation flags package.conf.in - which you will need to customize very slightly (drop mention of X_CFLAGS) Once you've done that, you can: make boot make all sudo make install # installs in /usr/local/${PACKAGE}-${VERSION} -- Alastair Reid