Dont' lin, just get the modules source.

Auke Kok sofar at lunar-linux.org
Tue Mar 30 15:36:11 GMT 2004


Dennis Veatch wrote:

>Ok that's what I thought. Trying to use that inside another module. Which 
>works. But I don't know how to use that without setting it as a depends. 
>Here's what I mean;
>
>DEPENDS
>optional_depends "postgis" "" "" "for cartography support"
>
>I then have a PRE_BUILD that contains;
>
>if optional_depends postgis; then
>lget postgis fi
>
>tar zxvf /var/spool/lunar/postgis-0.8.1.tar.gz      \
>-C /usr/src/postgresql-7.4.2/contrib &&
>cd /usr/src/postgresql-7.4.2/contrib/postgis-0.8.1
>  
>

that's an interesting solution and one that hasn't been integrated yet 
into lunar at all, take php for instance, imap is just listed as an 
extra SOURCEX. you can and may call lget inside of a module any time, 
it's not nice but the hack works (actually there is another module that 
has that ;^))

sofar



More information about the Lunar-dev mailing list