On Mon, Dec 15, 2003, Birger Kr�gelin wrote:
> On porting dracd-1.12 to OpenPKG I found this to be somewhat
> unusual software.
>
> 1. dracd lives in drac.tar.Z, which unpacks to current directory
>
> 2. no configure script
>
> 3. compiling for different OS needs editing of Makefile
>
> Question:
>
> What is the preferred way of handling this situation?
>
> fiddle with unpack commands in dracd.spec or repack to dracd-1.12.tar.gz?
Just add "-c" to your %setup. This will create an extra dir.
> write configure.in and Makefile.in or write edit commands in dracd.spec?
Use a "case/esac" over "%{l_platform}" and use "%{l_shtool} subst"
to edit the Makefile.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]