From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JGdUA-0006sz-GW for garchives@archives.gentoo.org; Sun, 20 Jan 2008 16:57:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0104BE084F; Sun, 20 Jan 2008 16:57:09 +0000 (UTC) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by pigeon.gentoo.org (Postfix) with SMTP id 22676E084B for ; Sun, 20 Jan 2008 16:57:08 +0000 (UTC) Received: (qmail invoked by alias); 20 Jan 2008 16:57:07 -0000 Received: from unknown (EHLO [192.168.0.2]) [91.67.218.205] by mail.gmx.net (mp038) with SMTP; 20 Jan 2008 17:57:07 +0100 X-Authenticated: #620707 X-Provags-ID: V01U2FsdGVkX1+3uy153oK3S+Pil18UTr4Cvo0LKAwJcSK4h1/hw2 p7b0wMwwgjiaUP Message-ID: <47937D8F.7050904@gmx.de> Date: Sun, 20 Jan 2008 17:57:51 +0100 From: Thomas Kahle User-Agent: Thunderbird 2.0.0.9 (X11/20071218) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Polymake Ebuild and general questions X-Enigmail-Version: 0.95.5 OpenPGP: id=19B2584D Content-Type: multipart/mixed; boundary="------------090200040908090907010709" X-Y-GMX-Trusted: 0 X-Archives-Salt: 33a00576-1266-4c10-89d2-475526e28bdf X-Archives-Hash: 879adb8f142a21991caf4a9dc7807e8b This is a multi-part message in MIME format. --------------090200040908090907010709 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit 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 --------------090200040908090907010709 Content-Type: text/plain; name="polymake-2.3.ebuild" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="polymake-2.3.ebuild" # 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" } --------------090200040908090907010709-- -- gentoo-user@lists.gentoo.org mailing list