| View previous topic :: View next topic |
| Author |
Message |
ragefan n00b


Joined: 01 Jun 2002 Posts: 63 Location: Roanoke, Virginia, USA
|
Posted: Mon Jan 30, 2006 9:31 pm Post subject: Writing Ebuild question... |
|
|
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 |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 6609
|
Posted: Mon Jan 30, 2006 10:16 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|
|