* [gentoo-user] Polymake Ebuild and general questions
@ 2008-01-20 16:57 Thomas Kahle
2008-01-20 17:44 ` KH
2008-01-25 5:30 ` Bo Ørsted Andresen
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Kahle @ 2008-01-20 16:57 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 809 bytes --]
Hi all,
I've written an ebuild for a math-software called polymake
(www.math.tu-berlin.de/polymake).
You find it attached. You have to digest it yourself to use.
("ebuild polymake-2.3.ebuild digest")
Maybe some people could test it (on amd64 for instance...).
Now some questions:
1.) The Program uses non-autotools "self made" configuration via "make
configure". Currently the Ebuild will ask questions to the user, which I
want to prevent. How can i get around this?
Is there some Bash trick to answer all questions with "Enter" ?
2.) The program needs to be rebuild after an upgrade of dev-lang/perl.
How can i implement this in the ebuild ?
3.) Is there any chance that, after testing, this will land in the
portage tree ? How can I do this,
-email to dev-mailinglist?
-bugzilla ?
- ... ???
thanks
Tom
[-- Attachment #2: polymake-2.3.ebuild --]
[-- Type: text/plain, Size: 1116 bytes --]
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit eutils
IUSE="fullconfig"
DESCRIPTION="research tool for polyhedral geometry"
SRC_URI="http://www.math.tu-berlin.de/polymake/download/polymake-2.3.tar.bz2"
HOMEPAGE="http://www.math.tu-berlin.de/polymake"
SLOT="0"
LICENSE="GPL-3"
KEYWORDS="~x86"
DEPEND="dev-libs/gmp
>=sys-devel/gcc-4.1.2"
src_compile(){
# Interactive Configuration
if use fullconfig; then
emake configure || die "configuration failed"
fi
einfo "Due to heavy template usage by the package it requires"
einfo "up to 300MB of RAM per process. Use MAKEOPTS="-j1" if"
einfo "you run into trouble."
if ! use fullconfig; then
elog "Polymake will be built with -O3 which is considered safe"
elog "Set useflag fullconfig to change"
fi
emake || die "emake failed"
}
src_install(){
emake DESTDIR="${D}" install || die "install failed"
}
pkg_postinst(){
elog "You will need to set up your PATH to use Polymake"
elog "If you use bash add "
elog "PATH=\$PATH:/usr/local/polymake/bin;"
elog "to your .bashrc"
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Polymake Ebuild and general questions
2008-01-20 16:57 [gentoo-user] Polymake Ebuild and general questions Thomas Kahle
@ 2008-01-20 17:44 ` KH
2008-01-25 5:30 ` Bo Ørsted Andresen
1 sibling, 0 replies; 3+ messages in thread
From: KH @ 2008-01-20 17:44 UTC (permalink / raw
To: gentoo-user
Hi,
I think this will help you:
http://www.gentoo.org/doc/en/ebuild-submit.xml
You also might want to have a look to dev mailing list.
kh
Thomas Kahle wrote:
> Hi all,
>
> I've written an ebuild for a math-software called polymake
> (www.math.tu-berlin.de/polymake).
> You find it attached. You have to digest it yourself to use.
> ("ebuild polymake-2.3.ebuild digest")
> Maybe some people could test it (on amd64 for instance...).
>
> Now some questions:
>
> 1.) The Program uses non-autotools "self made" configuration via "make
> configure". Currently the Ebuild will ask questions to the user, which I
> want to prevent. How can i get around this?
> Is there some Bash trick to answer all questions with "Enter" ?
> 2.) The program needs to be rebuild after an upgrade of dev-lang/perl.
> How can i implement this in the ebuild ?
> 3.) Is there any chance that, after testing, this will land in the
> portage tree ? How can I do this,
> -email to dev-mailinglist?
> -bugzilla ?
> - ... ???
>
> thanks
> Tom
>
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Polymake Ebuild and general questions
2008-01-20 16:57 [gentoo-user] Polymake Ebuild and general questions Thomas Kahle
2008-01-20 17:44 ` KH
@ 2008-01-25 5:30 ` Bo Ørsted Andresen
1 sibling, 0 replies; 3+ messages in thread
From: Bo Ørsted Andresen @ 2008-01-25 5:30 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1207 bytes --]
On Sunday 20 January 2008 17:57:51 Thomas Kahle wrote:
> I've written an ebuild for a math-software called polymake
> (www.math.tu-berlin.de/polymake).
> You find it attached. You have to digest it yourself to use.
> ("ebuild polymake-2.3.ebuild digest")
> Maybe some people could test it (on amd64 for instance...).
>
> Now some questions:
>
> 1.) The Program uses non-autotools "self made" configuration via "make
> configure". Currently the Ebuild will ask questions to the user, which I
> want to prevent. How can i get around this?
> Is there some Bash trick to answer all questions with "Enter" ?
> 2.) The program needs to be rebuild after an upgrade of dev-lang/perl.
> How can i implement this in the ebuild ?
> 3.) Is there any chance that, after testing, this will land in the
> portage tree ? How can I do this,
> -email to dev-mailinglist?
> -bugzilla ?
> - ... ???
I know you've already gotten help on other mailing lists so I'm posting this
for the benefit of other gentoo-user readers. A gentoo-devhelp mailing list
was created last week. This is now the correct list for this kind of
questions. :)
http://www.gentoo.org/main/en/lists.xml
--
Bo Andresen
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-25 5:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-20 16:57 [gentoo-user] Polymake Ebuild and general questions Thomas Kahle
2008-01-20 17:44 ` KH
2008-01-25 5:30 ` Bo Ørsted Andresen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox