Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 40234 Details for
Bug 65114
eclass for kommander-based application?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
very basic eclass for kommander-based applications
kommanderapp.eclass (text/plain), 1.43 KB, created by
Jonas Bähr
on 2004-09-23 11:39:27 UTC
(
hide
)
Description:
very basic eclass for kommander-based applications
Filename:
MIME Type:
Creator:
Jonas Bähr
Created:
2004-09-23 11:39:27 UTC
Size:
1.43 KB
patch
obsolete
># Copyright 2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header: $ > >ECLASS=kommanderapp >INHERITED="$INHERITED $ECLASS" > ># this eclass provied every function needed to install a kommander-based application ># > >export KOMMANDERAPP_SCRIPTDIR="/usr/lib/kommander-apps" > >need-kommander() { > #todo: this should work a little like need-kde, which can take a > # number which version of kommander have to be installed at least. > > RDEPEND="${RDEPEND} kde-base/kdewebdev" > # kdewebdev provides kmdr-executor, but it's a large package. Therefore > # it makes sence to provide also the very small kmdr-executor only, > # which should be a dependency if kdewebdev is not installed. > # in future versions of KDE the executor may be included, so this > # case have to be handled here too.... >} > >need-kommander > >kommanderapp_src_install() { > # set this variables only is empty > [ -z $KOMMANDERAPP_SCRIPTNAME ] \ > && KOMMANDERAPP_SCRIPTNAME="${P}.kmdr" > # need to be set here, because the ebuild may change ${S} > [ -z $KOMMANDERAPP_SCRIPT ] \ > && KOMMANDERAPP_SCRIPT="${S}/${KOMMANDERAPP_SCRIPTNAME}" > > dodir ${KOMMANDERAPP_SCRIPTDIR} > > cp ${KOMMANDERAPP_SCRIPT} ${D}${KOMMANDERAPP_SCRIPTDIR} || die "copying script failed" > > dodir /usr/bin > cat << EOF > ${D}/usr/bin/${PN} >#! /bin/sh >kmdr-executor "${KOMMANDERAPP_SCRIPTDIR}/${KOMMANDERAPP_SCRIPTNAME}" >EOF > chmod a+x ${D}/usr/bin/${PN} >} > >EXPORT_FUNCTIONS src_install
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 65114
: 40234 |
40235
|
40236