From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18698 invoked by uid 1002); 20 Nov 2002 00:32:36 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 18689 invoked from network); 20 Nov 2002 00:32:36 -0000 Content-Type: text/plain; charset="iso-8859-15" From: Johannes =?iso-8859-15?q?Ball=E9?= To: gentoo-dev@gentoo.org Date: Wed, 20 Nov 2002 01:32:40 +0100 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211200132.40258.joba123@arcor.de> Subject: [gentoo-dev] Ebuild programming question X-Archives-Salt: 955be2a5-cb1d-4492-a2e7-4c5d8a6b9443 X-Archives-Hash: 34bc837e2bc9a9b45d99dd8a0695c31a Hello developers, I am new to ebuild programming, please excuse me asking (maybe trivial)=20 questions here I couldn't find answers for elsewhere. The basic problem of ebuild programming seems to be that you need to map = "USE"=20 options from the portage system to the "configure" options of the package= =20 source. Many packages come with the ability to auto-detect certain features, thou= gh. One example: the em8300-libraries package provides a library and several = tools=20 to run an MPEG-decoder PCI card. Some of these tools need gtk, others onl= y=20 need a text console. A user may wish to omit installation of the gtk tool= s=20 (on X-less boxes, for example). Would it be considered bad practice to put a dependency like "gtk? ( gtk.= =2E. )"=20 into the ebuild, but leave it to the configure script to sort out whether= gtk=20 is installed or not (hence, whether to compile the gtk tools or not)? --=20 Johannes Ball=E9 -- gentoo-dev@gentoo.org mailing list