Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 10053 Details for
Bug 18513
[NEW] tonto-1.421 ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
tonto-1.421.ebuild
tonto-1.421.ebuild (text/plain), 1.39 KB, created by
Frank Aune
on 2003-03-30 23:45:02 UTC
(
hide
)
Description:
tonto-1.421.ebuild
Filename:
MIME Type:
Creator:
Frank Aune
Created:
2003-03-30 23:45:02 UTC
Size:
1.39 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ >DESCRIPTION="Java tools for the Philips Pronto (and others) remote controls" >HOMEPAGE="http://giantlaser.com/tonto/" >SRC_URI="http://giantlaser.com/tonto/dload/${P}.tar.gz" >LICENSE="Artistic License" >SLOT="0" >KEYWORDS="~x86 ~ppc ~sparc64 ~alpha" >IUSE="X" >DEPEND=">=sun-jdk-1.4.1.02" ># Works with either sun's jdk or ibm's jre. ># How does OR work for the DEPEND flag? ># >=ibm-jre-1.3.1-r1" >S=${WORKDIR}/tonto > >src_compile() { > einfo "No files to compile" >} > >src_install() { > local dirs="bin doc lib" > dodir /opt/${P} > > for i in $dirs ; do > cp -a $i ${D}/opt/${P}/ > done >} > >pkg_postinst() { > echo "Setting correct paths..."; > sed -e "s/usr\/share\/tonto/opt\/${P}/g" /opt/${P}/bin/tonto.sh > /opt/${P}/bin/tonto_tmp.sh; > mv /opt/${P}/bin/tonto_tmp.sh /opt/${P}/bin/tonto.sh > > #FIXME!! > # > #OK, there is a "bug" in the /opt/tonto-XX/bin/tonto.sh file, it checks for `which java` and then strips > #the answer with dirname and later add /jre/bin to that variable. But `which java` for > #gentoo returns a string which should be stripped twice with dirname. Probably much more > #elegant ways of doing this, than replacing dirname blabla with dirname blabla;dirname blabla > #sed -e "s/JHOME=\`dirname $JHOME\`/JHOME=\`dirname $JHOME\`;JHOME=\`dirname $JHOME\`/g" >}
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 18513
: 10053