Jeremy Erwin <[EMAIL PROTECTED]> wrote: > I'm trying to build HDF-EOS via fink. However it has a very strange > build process. > To begin with: the tarball actually contains three different tar files, > only one of which is germane: HDF-EOS5.1.2.tar (which unpacks, > naturally, as "hdfeos5") > > Anyway, I can abuse the PatchScript, like so: > PatchScript: tar -xvf HDF-EOS5.1.2.tar > > Unfortunately, the installation script (which actually compiles the > program-- the makefile is for suckers who enjoy debugging ksh), wants > to be run from inside %b/hdfeos5-- and it's not entirely clear to me > how one changes the working directory from %b to %b/hdfeos5 > > Jeremy >
There are two ways: you can either use the SourceDirectory field to indicate where the Compile and Install phases should be run from, or you can do something like cd hdfeos5; ./install.sh in your Compile and/or Install phase. The commands there are executed one line at a time, so you need the cd command on the same line as the script execution. -- Dave ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
