diff --git a/trunk/novell4gentoo/app-admin/novell-groupwise-admin/novell-groupwise-admin-7.0.2_p20070606.ebuild b/trunk/novell4gentoo/app-admin/novell-groupwise-admin/novell-groupwise-admin-7.0.2_p20070606.ebuild new file mode 100644 index 00000000..3433fa72 --- /dev/null +++ b/trunk/novell4gentoo/app-admin/novell-groupwise-admin/novell-groupwise-admin-7.0.2_p20070606.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NOVELL_BUILDID="dWjaKNZ0B-0~" +NOVELL_FILE32="patchfiles/gw702HP1alnxmulti.tar.gz" +RESTRICT="mirror strip" + +inherit novell eutils rpm java-utils-2 + +MY_PV="${PV/_p/-}" + +DESCRIPTION="Novell Groupwise Administration ConsoleOne Snapins" +HOMEPAGE="http://www.novell.com" +SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32}" + +LICENSE="Novell-eDir-87" +SLOT="0" +KEYWORDS="~x86" +IUSE="linguas_da linguas_de linguas_es linguas_fi linguas_fr linguas_it linguas_nl linguas_no linguas_pt linguas_sv" + +DEPEND="" + +RDEPEND="virtual/libc + >=virtual/jdk-1.4 + >=app-admin/novell-novlc1-1.3.6_p1" + +src_unpack() { + unpack ${A} + mkdir -p ${WORKDIR}/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ${WORKDIR}/admin/${PN}-${MY_PV}.i386.rpm +} + +src_compile() { :; } + +src_install() { + java-pkg_jarinto /usr/ConsoleOne/ConsoleOneExt + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/ConsoleOneExt/*.jar + java-pkg_jarinto /usr/ConsoleOne/snapins/GroupWise + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/GroupWise/*.jar + java-pkg_jarinto /usr/ConsoleOne/lib/GroupWise + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/lib/GroupWise/*.jar + insinto /usr/ConsoleOne/help + doins -r ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/help/* + into /usr/ConsoleOne + dolib.so ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/bin/*.so* + into /usr/ConsoleOne + dobin ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/bin/gwcheck* + insinto /usr/ConsoleOne/lib + doins ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/bin/*.fil + doins ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/bin/*.xml + doman ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/man*/*.* + use linguas_da && doman -i18n=da ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/da/*/*.* + use linguas_de && doman -i18n=de ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/de/*/*.* + use linguas_es && doman -i18n=es ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/es/*/*.* + use linguas_fi && doman -i18n=fi ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/fi/*/*.* + use linguas_fr && doman -i18n=fr ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/fr/*/*.* + use linguas_it && doman -i18n=it ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/it/*/*.* + use linguas_nl && doman -i18n=nl ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/nl/*/*.* + use linguas_no && doman -i18n=no ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/no/*/*.* + use linguas_pt && doman -i18n=pt ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/pt/*/*.* + use linguas_sv && doman -i18n=sv ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/sv/*/*.* +} + +pkg_nofetch() { + einfo "This files require you to register at ${HOMEPAGE} (free account)" + einfo "Please download following file:" + einfo " - ${NOVELL_FILE32}" + einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID}" + einfo "and place it in ${DISTDIR}" + einfo "" + einfo "To get rid of downloading files from ${HOMEPAGE}" + einfo "you can create a file /etc/portage/novell.acc" + einfo "containing the novell account infos with following commands" + einfo "# echo \"NOVELL_ACCOUNT_USERNAME=\\\"balduin\\\"\" >> /etc/portage/novell.acc" + einfo "# echo \"NOVELL_ACCOUNT_PASSWORD=\\\"derfisch\\\"\" >> /etc/portage/novell.acc" +}