[prev in list] [next in list] [prev in thread] [next in thread]
List: gobolinux-recipes
Subject: Re: [Gobolinux-recipes] [recipes-commits] r11632 - in trunk/Amaya:
From: "Jonas Karlsson" <cj.karlsson () gmail ! com>
Date: 2008-12-18 8:35:00
Message-ID: 76a336670812180035l4aea9edfn45be96919db8ab8b () mail ! gmail ! com
[Download RAW message or body]
2008/12/14 <recipebot@svn.gobolinux.org>:
> Author: recipebot
> Date: 2008-12-13 23:44:25 -0800 (Sat, 13 Dec 2008)
> New Revision: 11632
>
> Added:
> trunk/Amaya/10.0.1/
> trunk/Amaya/10.0.1/Recipe
> trunk/Amaya/10.0.1/Resources/
> trunk/Amaya/10.0.1/Resources/Dependencies
> trunk/Amaya/10.0.1/Resources/Description
> Log:
> Recipe for Amaya 10.0.1 submitted by Kevin Quick reviewed by Michael Homer in the recipe review panel
>
> Added: trunk/Amaya/10.0.1/Recipe
> ===================================================================
> --- trunk/Amaya/10.0.1/Recipe (rev 0)
> +++ trunk/Amaya/10.0.1/Recipe 2008-12-14 07:44:25 UTC (rev 11632)
> @@ -0,0 +1,18 @@
> +# Recipe (MakeRecipe) for Amaya by Kevin Quick <quick@sparq.org>, on Tue Oct 14 22:52:04 MST 2008
> +# Recipe for version 10.0.1 by Kevin Quick <quick@sparq.org>, on Tue Oct 14 22:52:04 MST 2008
> +compile_version=1.11.2
> +url="http://www.w3.org/Amaya/Distribution/amaya-sources-10.0.1.tgz"
> +file_size=28620304
> +file_md5=0a32af56cf81c13b6efc5c65c2137859
> +#dir=`[ -d Amaya10.0/Amaya/Gobobld ] && echo 'Amaya10.0/Amaya/Gobobld' || echo 'Amaya10.0/Amaya'`
> +dir=Amaya10.0/Amaya
> +recipe_type=manifest
> +
> +# Must be built in a subdir
> +pre_install() {
> + [ -d Gobobld ] || mkdir Gobobld
> + cd Gobobld
> + ../configure --prefix=$target --sysconfdir=$settings_target --localstatedir=$goboVariable
> + make
> + make install
> +}
>
Why is it done like this? If a separate build directory is needed one
should just add "needs_build_directory=yes" in the recipe and Compile
takes care of everything. By doing everything in a hook, especially
install, none of the functionallity of Compile (f.e. sandbox) is used.
There must be a very good reason for this.
--
/Jonas
_______________________________________________
gobolinux-recipes mailing list
gobolinux-recipes@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-recipes
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic