| Summary: | ebuild for kaffeine-mozilla-0.2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
| Component: | New packages | Assignee: | Mozilla Gentoo Team <mozilla> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | enhancement | CC: | ziga.boehm |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
packed ebuild
playin text ebuild for kaffeine-mozilla ebuild without dependency for mozilla/mozilla-firefox |
||
|
Description
Lars Wendler (Polynomial-C) (RETIRED)
2004-08-02 17:34:09 UTC
Created attachment 36676 [details]
packed ebuild
This is my first ebuild written from scratch and thus might have some errors.
I also think that src_compile() could be done much more cleaner so maybe
someone has a better solution for that.
err... src_install() is ugly, not src_compile() Poly you should also put in >=net-www/mozilla-firefox-bin-0.8 as another option that can satisfy dependency of this package on mozilla... or better yet leave it as optional as some users might be using only kde and konqueror? anyhow - many thx for the ebuild! Polynomial-C, please attach only in plain text. *** This bug has been marked as a duplicate of 53874 *** Created attachment 36825 [details]
playin text ebuild for kaffeine-mozilla
Hi,
alright here comes the text :)
I added some comments so that one can see my problems with this ebuild.
Poly
i would leave out mozilla dependency altogether as plugin's compilation process doesn't depend on it. but then i am not a gentoo developer, am i? just a regular user! ;-) Comment on attachment 36825 [details] playin text ebuild for kaffeine-mozilla # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit nsplugins DESCRIPTION="kaffeines starter plugin for mozilla" HOMEPAGE="http://kaffeine.sourceforge.net/" SRC_URI="mirror://sourceforge/kaffeine/${P}.tar.bz2" LICENSE="GPL-2" RESTRICT="nomirror" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc ~amd64"> IUSE="" # I don't know if the dependency for mozilla/firefox is necessary DEPEND="~media-video/kaffeine-0.4.3b" src_compile() { ./configure \ --prefix=/usr/lib/${PLUGINS_DIR} || die "configure failed" emake || die "emake failed" } src_install() { # Well this is a little bit ugly but I don't know where # "/usr/lib/nsplugins/plugins/plugins" comes from make \ prefix=${D}/usr/lib/${PLUGINS_DIR/\/plugins} \ install || die "failed to install files" dodoc AUTHORS COPYING ChangeLog INSTALL README || die "docs failed" } Hi,, removed dep for mozilla/mozilla-firefox man I didn't know that editing an attachment will post it as comment. stupid me :-/ Created attachment 36905 [details]
ebuild without dependency for mozilla/mozilla-firefox
great! thx again! |