On Friday 23 May 2008 14:29:27 Mark Wright wrote: > I was wondering how to build HAL for Solaris 10u5 AMD64? > I can see Stefan has ported it in Dude/HAL, which is > awesome. I was wondering if there should be a .pspc file > for it in Dude/SPECS?
The process goes something like this: 1- Stefan figures out how to build it 2- He drops it in dude with notes in Solaris/README and patches 3- Luc or I (more often Luc) go and read the README, create scripts in Solaris/ called patch.sh (which usually just invokes apply_patches) configure.sh (calls configure with the arguments Stefan has figured out) build.sh (usually just $MAKE $MAKE_CPUS) install.sh (usually $MAKE install DESTDIR=$PREFIX) 4- Luc or I (more often Luc) add a pspc file 4-1 Many iterations of build, fix packing list, fix compile, etc. For HAL, it's stopped at step (2). You can take a shot at (3) and (4); take a look at what other Solaris/*.sh scripts look like, modify them, then copy an existing pspc and see what happens. [ade]
