Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 65353 Details for
Bug 101680
mecat-1.0.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mecat-1.0.ebuild
mecat-1.0.ebuild (text/plain), 1.64 KB, created by
Stephan R. Palm
on 2005-08-07 15:12:22 UTC
(
hide
)
Description:
mecat-1.0.ebuild
Filename:
MIME Type:
Creator:
Stephan R. Palm
Created:
2005-08-07 15:12:22 UTC
Size:
1.64 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils fdo-mime flag-o-matic toolchain-funcs > >IUSE="java" > >INSTDIR="/opt/MeCat" >DESCRIPTION="MeCat - Media Catalog, catalog for dvd, cd, vhs, books,..." > >SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" > >HOMEPAGE="http://mecat.sourceforge.net/" > >LICENSE="|| ( GPL-2 )" >SLOT="0" >KEYWORDS="~x86" > >RDEPEND="java? (>=virtual/jre-1.5.0) > dev-java/xerces > virtual/tetex" > >DEPEND="java? ( >=virtual/jdk-1.5.0 ) > dev-java/ant" > >pkg_setup() { > if [ -z "${JDK_HOME}" ] || [ ! -d "${JDK_HOME}" ] > then > eerror "In order to compile java sources you have to set the" > eerror "\$JDK_HOME environment properly." > eerror "" > eerror "You can achieve this by using the java-config tool:" > eerror " emerge java-config" > die "Couldn't find a valid JDK home" > fi >} > >src_unpack() { > unpack ${A} > einfo "Use patch for MeCat to work with Gentoo and Java 5.0" > cd ${S} > epatch ${FILESDIR}/mecat-1.0-gentoo.patch >} > >src_compile() { > # MeCat needs Java 5.0, but it is not necessary to > # set the Java 5.0 through java-config. > einfo "Change to Java 5.0 for compiling MeCat" > for n in /etc/env.d/java/20sun-*-1.5*; do . $n; done > einfo "Change to directory ${S}" > cd ${S} > ant || die "Couldn't compile the source maybe wrong java version" >} > >src_install() { > einfo "Installing MeCat into ${INSTDIR}..." > dodir ${INSTDIR}; insinto ${INSTDIR}; exeinto ${INSTDIR} > doins dist/${P}.jar || die > doexe dist/MeCat || die > dodir /usr/bin > dosym ${D}${INSTDIR}/MeCat usr/bin/MeCat || die >} > >pkg_postinst() { > einfo " To start MeCat, run:" > einfo > einfo " $ MeCat" > einfo >} >
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 101680
: 65353 |
65355