Summary: | kommander-1.0_alpha7.ebuild (New Package) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Honermeyer <maze> |
Component: | New packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | maze |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://www.kde-apps.org/content/show.php?content=12865 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
kommander-1.0_alpha7.ebuild
kommander-1.0_beta1.ebuild kommander-1.0_beta1.ebuild |
Description
Martin Honermeyer
2004-07-21 17:36:00 UTC
Created attachment 35931 [details]
kommander-1.0_alpha7.ebuild
> # Package name is different from ebuild name! > PKGNAME="kommander-1.0alpha7" > SRC_URI="mirror://sourceforge/kommander/${PKGNAME}.tar.bz2" This should be: MY_P=${P/_/} SRC_URI="mirror://sourceforge/kommander/${MY_P}.tar.bz2" > IUSE="X kde" There is no _optional_ support for X or kde! > DEPEND=">=kde-base/kde-3.1" You should never depend on a metapackage: http://www.gentoo.org/doc/en/ebuild-mistakes.xml use the kde eclass (look at other kde-related ebuilds): inherit kde need-kde 3.1 > src_compile() { > econf || die > emake || die "emake failed" > } This is the default > src_install() { > make DESTDIR=${D} install || die > einstall || die > } Those two commands do the same thing. You should manually add documentation there too, or remove src_install and let the default from kde.eclass do the job. Created attachment 36215 [details]
kommander-1.0_beta1.ebuild
Thanks for your help! I fixed the ebuild and updated it to the new version!
Martin
It looks good now! Just don't set DEPEND="", it is generally not needed and in this particular case it is harmful as it throws away the dependencies set by 'need-kde' Created attachment 36709 [details]
kommander-1.0_beta1.ebuild
final ebuild for beta1..
kommander is part of the quanta respective kdewebdev package |