Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Writing Ebuild question...
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
ragefan
n00b
n00b


Joined: 01 Jun 2002
Posts: 63
Location: Roanoke, Virginia, USA

PostPosted: Mon Jan 30, 2006 9:31 pm    Post subject: Writing Ebuild question... Reply with quote

I am trying to clean up/update an ebuild for AMP (web front end for asterisk). In the install docs, it has some packages listed that are also requirements for asterisk itself. Since asterisk is a dependency, should these also be included in the DEPENDS, or left out since asterisk will get them?

Also, how does one check for use flags of other packages? (Only compile support for X if pkg Y has the use flag for X)
_________________
Registered linux user #256555
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 6609

PostPosted: Mon Jan 30, 2006 10:16 pm    Post subject: Reply with quote

If your ebuild depends on asterix to work, then this is a convenient cascading of dependencies. Just depend on asterix.

built_with_use is provided by the eutils eclass: /usr/portage/eclass/eutils.eclass - an example is /usr/portage/app-admin/webalizer/webalizer-2.01.10-r12.ebuild
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