public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] $confopt variable for ebuild
@ 2001-11-16 15:03 Geert Bevin
  2001-11-16 15:12 ` Dan Armak
  2001-11-16 15:13 ` Mikael Hallendal
  0 siblings, 2 replies; 3+ messages in thread
From: Geert Bevin @ 2001-11-16 15:03 UTC (permalink / raw
  To: gentoo-dev

Hi,

coming from rocklinux I noticed a minor little thing missing. Since the
options given to configure are mostly always the same, wouldn't it be
good to provide ebuild scripts with a $confopt variable that contains
"--host=${CHOST} --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info". This would make it easier to write new
packages without having to write these options over and over again.

Just a little idea,

Geert Bevin

-- 
Geert Bevin
the Leaf sprl/bvba
"Use what you need"           Pierre Theunisstraat 1/47
http://www.theleaf.be         1030 Brussels
gbevin@theleaf.be             Tel & Fax +32 2 241 19 98



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] $confopt variable for ebuild
  2001-11-16 15:03 [gentoo-dev] $confopt variable for ebuild Geert Bevin
@ 2001-11-16 15:12 ` Dan Armak
  2001-11-16 15:13 ` Mikael Hallendal
  1 sibling, 0 replies; 3+ messages in thread
From: Dan Armak @ 2001-11-16 15:12 UTC (permalink / raw
  To: gentoo-dev

On Friday 16 November 2001 17:03, you wrote:
> Hi,
>
> coming from rocklinux I noticed a minor little thing missing. Since the
> options given to configure are mostly always the same, wouldn't it be
> good to provide ebuild scripts with a $confopt variable that contains
> "--host=${CHOST} --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info". This would make it easier to write new
> packages without having to write these options over and over again.
Hi, 

This is easily achievable through eclasses. (Read 
/usr/portage/eclass/doc/eclass-howto.*). Now that the KDE eclasses have 
stabilized and are more or less complete, I'm thinking about maybe writing a 
gnu.eclass for standard configure/make/make install-cycle ebuilds that will 
inherit base.eclass and add things like std. configure options.

-- 

Dan Armak
Gentoo Linux Developer, Desktop Team
Matan, Israel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] $confopt variable for ebuild
  2001-11-16 15:03 [gentoo-dev] $confopt variable for ebuild Geert Bevin
  2001-11-16 15:12 ` Dan Armak
@ 2001-11-16 15:13 ` Mikael Hallendal
  1 sibling, 0 replies; 3+ messages in thread
From: Mikael Hallendal @ 2001-11-16 15:13 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 853 bytes --]

fre 2001-11-16 klockan 16.03 skrev Geert Bevin:
> Hi,
> 
> coming from rocklinux I noticed a minor little thing missing. Since the
> options given to configure are mostly always the same, wouldn't it be
> good to provide ebuild scripts with a $confopt variable that contains
> "--host=${CHOST} --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info". This would make it easier to write new
> packages without having to write these options over and over again.

Hi!

I've been thinking about this too. This way most packages won't have to
give these and in cases they are installing somewhere else they just
override this option.

I would say go-go-go :)
What do you think drobbins?

Regards,
  Mikael Hallendal
 
-- 

Mikael Hallendal
Gentoo Linux Developer, Desktop Team Leader
CodeFactory AB, Stockholm, Sweden


[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-16 15:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-16 15:03 [gentoo-dev] $confopt variable for ebuild Geert Bevin
2001-11-16 15:12 ` Dan Armak
2001-11-16 15:13 ` Mikael Hallendal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox