Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Paludis hook: call ebuild function? check for use?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
MalleRIM
Guru
Guru


Joined: 23 Jul 2007
Posts: 563
Location: China

PostPosted: Thu May 29, 2008 4:36 pm    Post subject: Paludis hook: call ebuild function? check for use? Reply with quote

Hey,
I want to write a hook that provides multilib support, similar to this one: http://dev.gentoo.org/~kanaka/auto-multilib/
I won't be able to provide the full functionality of it but I'll try to implement some of it.
Before the actual src_compile, I want to call src_compile with a different ABI. How would I do that?
This action of course has to depend on a use flag (i.e multilib_abis_x86). If the use flag is not met, the hook does nothing. Can I just use "if use multilibs_abis_x86 ; then" for that?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum