sm-grimoire AT lists.ibiblio.org
Subject: Discussion of Spells and Grimoire items
List archive
- From: Mads Laursen <dossen+sgl AT daimi.au.dk>
- To: Grimoire <sm-grimoire AT lists.ibiblio.org>
- Subject: Re: [SM-Grimoire]Local grimoire and source
- Date: Wed, 25 Dec 2002 01:42:33 +0100
On 24/12/02 11.12, Pierre Abbat wrote:
> For programs I develop, how can I set up a local grimoire and tell it to
> build from a directory on disk? For instance, the Abiword spell looks like
> this:
>
> SPELL=abiword
> VERSION=1.0.3
> SOURCE=$SPELL-$VERSION.tar.gz
> SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
> SOURCE_URL[0]=$SOURCEFORGE_URL/abiword/$SOURCE
>
> I'd like to do something like this:
>
> SPELL=abiword
> VERSION=`date`
> SOURCE=/home/phma/abi/
> SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
> SOURCE_URL[0]=file:/home/phma/abi/
>
> where /home/phma/abi is the directory where I have the AbiWord source (with
> subdirs /home/phma/abi/abi, /home/phma/abi/unixfonts, etc.).
>
> Can this be made to work?
How about adding a PRE_BUILD script to the spell?
Just have it do
cp -r $SOURCE/* $SOURCE_DIRECTORY
I haven't tested it, but that should do the trick.
/dossen
-
[SM-Grimoire]Local grimoire and source,
Pierre Abbat, 12/24/2002
- Re: [SM-Grimoire]Local grimoire and source, Mads Laursen, 12/24/2002
Archive powered by MHonArc 2.6.24.