|
From: Friedrich L. <fl...@fl...> - 2003-04-30 21:24:09
|
Bruce Smith wrote: >>For those who want to add a new software package to devil linux >>and who are not shure which files are needed. >> >>This is the minimum list of files you need to add, eg. for >>netacct-mysql: >> scripts/netacct-mysql >> This is the main file you need to write. Here you >> essentially call the configure and/or makefile stuff of the >> software you want to add. When the build system calls this >> script your current work directory is the source directory >> of the software in question, eg. tmp/netacct-mysql-0.75/ > First, may I suggest that you start your development with the current 0.6 because it's easier for us to support you and it's also the more advanced system. > > OK, looking at some scripts I see variables used, like: > $SOFTWAREFILE $PACKAGEDIR $WORKDIR etc... > Where do they get set / what are they set to / what variables are > available for use in the script ? > Take a look at the script used in my example: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/devil-linux/build/scripts/netacct-mysql?rev=HEAD&only_with_tag=HEAD&content-type=text/vnd.viewcvs-markup > In the "install" section, WHERE do I install the binaries? > If I do a normal "make install", wouldn't that install it under the > lfssystem directory? Do they go there or under some other directory? The script should us # source functions and config source $MYDIR/settings source $MYDIR/functions to include all the mentioned variables and definitions. See http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/devil-linux/build/scripts/settings?rev=1.26&content-type=text/vnd.viewcvs-markup for the variables defined. -- MfG / Regards Friedrich Lobenstock ____________________________________________________________________ Friedrich Lobenstock Linux Services Lobenstock URL: http://www.lsl.at/ Email: fl...@fl... ____________________________________________________________________ |