Add Mike's extended ebuilds

This commit is contained in:
geos_one 2007-03-08 10:03:24 +00:00
parent 6d3993dbe9
commit a7395e5b26
9 changed files with 259 additions and 4 deletions

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<catmetadata>
<longdescription lang="en">
The net-mail category contains various email-related utilities.
</longdescription>
<longdescription lang="de">
Die Kategorie net-mail enthält verschiede Werkzeuge zum Thema Email.
</longdescription>
<longdescription lang="es">
La categoría net-mail contiene varias utilidades relacionadas con el
correo electrónico.
</longdescription>
<longdescription lang="ja">
net-mailカテゴリーには様々なメール関連のユーティリティが含まれています。
</longdescription>
<longdescription lang="nl">
De net-mail categorie bevat verschillende email-gerelateerde applicaties.
</longdescription>
<longdescription lang="sk">
Kategória net-mail obsahuje rôzne nástroje pre prácu s elektronickou poštou.
</longdescription>
<longdescription lang="vi">
Nhóm net-mail chứa các tiện ích email khác nhau.
</longdescription>
<longdescription lang="it">
La categoria net-mail contiene varie utilità per la posta elettronica.
</longdescription>
<longdescription lang="pt">
A categoria net-mail contém vários utilitários relacionados com
correio eletrônico.
</longdescription>
<longdescription lang="pl">
Kategoria net-mail zawiera narzędzia związane z pocztą elektroniczną.
</longdescription>
</catmetadata>

View File

@ -0,0 +1,40 @@
# ChangeLog for net-mail/novell-groupwise-gwclient
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
08 Mar 2007; Mario Fetka <mario-fetka@gmx.at>
+novell-groupwise-gwclient-7.0.2_p20070228.ebuild, +metadata.xml:
Remove old ebuilds
*novell-groupwise-gwclient-7.0.2_p20070228 (06 Mar 2007)
06 Mar 2007; Michael Dwyer <mdwyer@tamu.edu>
+novell-groupwise-gwclient-7.0.2_p20070228.ebuild : Added new ebuild for
current beta version of the Groupwise client. This ebuild is based off of
novell-groupwise-gwclient-7.0.1_p20060613-r1.build, and the same improvements
apply.
*novell-groupwise-gwclient-7.0.1_p20060613-r1 (06 Mar 2007)
06 Mar 2007; Michael Dwyer <mdwyer@tamu.edu>
+novell-groupwise-gwclient-7.0.1_p20060613-r1.ebuild : Added new ebuild for
current stable version of the Groupwise client. This is based off of the
existing ebuilds, however the download URL has been corrected and the JRE
that comes with the download is used by default. The original behavior of
removing the Novell JRE and using the system JRE is available via the
system-jre USE flag. I personally get better performance with the Novell-
tuned JRE, YMMV. Dependecies have been changed to reflect the new option as
well as checking for any JRE (not just the Sun JDK). Finally, $JAVA_HOME has
been replaced with `java-config --jre-home`.
17 Nov 2006; Mario Fetka <mario-fetka@gmx.at>
+novell-groupwise-gwclient-7.0.1_p20061107.ebuild:
Bump Client to 7.0.1 ir1
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at>
novell-groupwise-gwclient-7.0.1_p20060613.ebuild, +metadata.xml:
Correct Typo
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at> ChangeLog:
Initial groupwise-gwclient ChangeLog

View File

@ -0,0 +1,31 @@
DIST bgwlnx701ir1.tar.gz 410401712 RMD160 59b6d57d5ce7b5a7f25f494f2e1b7a06deb844d4 SHA1 2ff5312b7547fa85704de07a8e79d9e99eb20e20 SHA256 d4cf88ef243e958e228200e06e64775def063bbeebebe963f3879b18bc61c0f6
DIST gw701clnxm.tgz 136052194 RMD160 66405fd635960c0186f579cfe29ecc2712998b52 SHA1 d426dd1e4833be705dbfbde4395bf9e75a4107bf SHA256 d669411ab4df6d5655f55bd766b28fc66ebb181d36d865fe5930b5cfed58f5d2
EBUILD novell-groupwise-gwclient-7.0.1_p20060613-r1.ebuild 1731 RMD160 eec494c09e24aee746a13fff1190351bdcb474d1 SHA1 53503d9c55c5cf420029a760f936cb98909d0357 SHA256 0b1ab7c6f1284ffd55e6805c62b0b3e236f1296a26c39252a914e16c3f29f5f2
MD5 129a270db12ca031b5e504d9e5bd3b5b novell-groupwise-gwclient-7.0.1_p20060613-r1.ebuild 1731
RMD160 eec494c09e24aee746a13fff1190351bdcb474d1 novell-groupwise-gwclient-7.0.1_p20060613-r1.ebuild 1731
SHA256 0b1ab7c6f1284ffd55e6805c62b0b3e236f1296a26c39252a914e16c3f29f5f2 novell-groupwise-gwclient-7.0.1_p20060613-r1.ebuild 1731
EBUILD novell-groupwise-gwclient-7.0.1_p20060613.ebuild 1345 RMD160 db23efe94c6335a7682ffafc855313ea4633dac1 SHA1 2064d30107538ce0fbf7df9d63cebe7092cb48e8 SHA256 960f99575a4dc75cc59662214ac2cd7fca079b5827d7f6f3b3eb280b3f58d02e
MD5 368dcfb4700ae0aa7c92f392907dcde3 novell-groupwise-gwclient-7.0.1_p20060613.ebuild 1345
RMD160 db23efe94c6335a7682ffafc855313ea4633dac1 novell-groupwise-gwclient-7.0.1_p20060613.ebuild 1345
SHA256 960f99575a4dc75cc59662214ac2cd7fca079b5827d7f6f3b3eb280b3f58d02e novell-groupwise-gwclient-7.0.1_p20060613.ebuild 1345
EBUILD novell-groupwise-gwclient-7.0.1_p20061107.ebuild 1329 RMD160 15b7201ebee2ed225cc3f25efcc32398d550c5e1 SHA1 1b131c691eaf2f671904e711fc8d590d8dc97169 SHA256 498d4b272abf3931ef9a05289b7714280b690930de6b0359553873e1995d29c3
MD5 e74aafd7bf6d91fb4674233ad9ce8b6b novell-groupwise-gwclient-7.0.1_p20061107.ebuild 1329
RMD160 15b7201ebee2ed225cc3f25efcc32398d550c5e1 novell-groupwise-gwclient-7.0.1_p20061107.ebuild 1329
SHA256 498d4b272abf3931ef9a05289b7714280b690930de6b0359553873e1995d29c3 novell-groupwise-gwclient-7.0.1_p20061107.ebuild 1329
MISC ChangeLog 1612 RMD160 a18d89e0d0227e44813c7e31e45ef908a3a69429 SHA1 fe5b8dbc2425b9de14f39b4f55b4367da9d0d902 SHA256 e00b65fea61d1e09bcb985c68ccfad7d4726edff057103e200c9af4d69ec3bdf
MD5 154c6a6c53185bde32686ea4d1f00d6a ChangeLog 1612
RMD160 a18d89e0d0227e44813c7e31e45ef908a3a69429 ChangeLog 1612
SHA256 e00b65fea61d1e09bcb985c68ccfad7d4726edff057103e200c9af4d69ec3bdf ChangeLog 1612
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
MD5 1ab2965eb43ba094b9bb1be19c75dfcd files/digest-novell-groupwise-gwclient-7.0.1_p20060613 232
RMD160 72254d6780cc742e73d23b0216d622b220e80d99 files/digest-novell-groupwise-gwclient-7.0.1_p20060613 232
SHA256 719367451f8d7bb6772577529dd3684a9ef905484ea892e3e57085473e1d49dd files/digest-novell-groupwise-gwclient-7.0.1_p20060613 232
MD5 1ab2965eb43ba094b9bb1be19c75dfcd files/digest-novell-groupwise-gwclient-7.0.1_p20060613-r1 232
RMD160 72254d6780cc742e73d23b0216d622b220e80d99 files/digest-novell-groupwise-gwclient-7.0.1_p20060613-r1 232
SHA256 719367451f8d7bb6772577529dd3684a9ef905484ea892e3e57085473e1d49dd files/digest-novell-groupwise-gwclient-7.0.1_p20060613-r1 232
MD5 32b145eb534f3a2fd86faab3336d5a82 files/digest-novell-groupwise-gwclient-7.0.1_p20061107 247
RMD160 bc258bdca7865530581bd5a3d13bf71e95cfd59d files/digest-novell-groupwise-gwclient-7.0.1_p20061107 247
SHA256 4952ac479a82f9275eddfcf04445ef67589788f994a558cff823c014a8809531 files/digest-novell-groupwise-gwclient-7.0.1_p20061107 247

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>maintainer-wanted</herd>
</pkgmetadata>

View File

@ -0,0 +1,60 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
MY_P="${P/_p/-}"
DESCRIPTION="Novell Groupwise 7 Client for Linux"
HOMEPAGE="http://www.novell.com/en/gropwise/"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/eJ7O90rukzA~/patchfiles/gw702betaclnxe.tar.gz"
LICENSE="Novell-GW-7"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="java system-jre"
DEPEND="!net-misc/novell-groupwise-gwclient"
RDEPEND="sys-libs/glibc
sys-libs/libstdc++-v3
sys-devel/gcc
system-jre? (
|| (virtual/jdk
virtual/jre)
amd64? (app-emulation/emul-linux-x86-java)
)
amd64? (app-emulation/emul-linux-x86-compat)"
RESTRICT="nostrip nomirror"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${MY_P}
cd ${MY_P}
rpm_unpack ${WORKDIR}/${MY_P}.i386.rpm
}
src_compile() { :; }
src_install() {
JRE_DIR="${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/jre;
if ! use system-jre; then
# Undo Novell funny-business with packed .jar's
for i in $JRE_DIR/lib/*.pack; do
i_b=`echo $i | sed 's/\.pack$//'`;
einfo "Unpacking `basename $i` -> `basename $i_b.jar`";
$JRE_DIR/bin/unpack200 $i $i_b.jar || die "Unpack failed";
done;
else
rm -rf "${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/jre
sed -i 's%/opt/novell/groupwise/client/jre%`java-config --jre-home`%' "${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/bin/groupwise
fi
insinto /usr/share/applications
doins "${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/gwclient.desktop
mv "${WORKDIR}"/${MY_P}/opt "${D}"/ || die "mv opt"
dodir /usr/bin
dosym /opt/novell/groupwise/client/bin/groupwise /usr/bin/groupwise
}

View File

@ -2,6 +2,19 @@
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
*novell-groupwise-gwclient-7.0.1_p20060613-r1 (06 Mar 2007)
06 Mar 2007; Michael Dwyer <mdwyer@tamu.edu>
+novell-groupwise-gwclient-7.0.1_p20060613-r1.ebuild : Added new ebuild for
current stable version of the Groupwise client. This is based off of the
existing ebuilds, however the download URL has been corrected and the JRE
that comes with the download is used by default. The original behavior of
removing the Novell JRE and using the system JRE is available via the
system-jre USE flag. I personally get better performance with the Novell-
tuned JRE, YMMV. Dependecies have been changed to reflect the new option as
well as checking for any JRE (not just the Sun JDK). Finally, $JAVA_HOME has
been replaced with `java-config --jre-home`.
17 Nov 2006; Mario Fetka <mario-fetka@gmx.at> 17 Nov 2006; Mario Fetka <mario-fetka@gmx.at>
+novell-groupwise-gwclient-7.0.1_p20061107.ebuild: +novell-groupwise-gwclient-7.0.1_p20061107.ebuild:
Bump Client to 7.0.1 ir1 Bump Client to 7.0.1 ir1

View File

@ -1,5 +1,9 @@
DIST bgwlnx701ir1.tar.gz 410401712 RMD160 59b6d57d5ce7b5a7f25f494f2e1b7a06deb844d4 SHA1 2ff5312b7547fa85704de07a8e79d9e99eb20e20 SHA256 d4cf88ef243e958e228200e06e64775def063bbeebebe963f3879b18bc61c0f6 DIST bgwlnx701ir1.tar.gz 410401712 RMD160 59b6d57d5ce7b5a7f25f494f2e1b7a06deb844d4 SHA1 2ff5312b7547fa85704de07a8e79d9e99eb20e20 SHA256 d4cf88ef243e958e228200e06e64775def063bbeebebe963f3879b18bc61c0f6
DIST gw701clnxm.tgz 136052194 RMD160 66405fd635960c0186f579cfe29ecc2712998b52 SHA1 d426dd1e4833be705dbfbde4395bf9e75a4107bf SHA256 d669411ab4df6d5655f55bd766b28fc66ebb181d36d865fe5930b5cfed58f5d2 DIST gw701clnxm.tgz 136052194 RMD160 66405fd635960c0186f579cfe29ecc2712998b52 SHA1 d426dd1e4833be705dbfbde4395bf9e75a4107bf SHA256 d669411ab4df6d5655f55bd766b28fc66ebb181d36d865fe5930b5cfed58f5d2
EBUILD novell-groupwise-gwclient-7.0.1_p20060613-r1.ebuild 1731 RMD160 eec494c09e24aee746a13fff1190351bdcb474d1 SHA1 53503d9c55c5cf420029a760f936cb98909d0357 SHA256 0b1ab7c6f1284ffd55e6805c62b0b3e236f1296a26c39252a914e16c3f29f5f2
MD5 129a270db12ca031b5e504d9e5bd3b5b novell-groupwise-gwclient-7.0.1_p20060613-r1.ebuild 1731
RMD160 eec494c09e24aee746a13fff1190351bdcb474d1 novell-groupwise-gwclient-7.0.1_p20060613-r1.ebuild 1731
SHA256 0b1ab7c6f1284ffd55e6805c62b0b3e236f1296a26c39252a914e16c3f29f5f2 novell-groupwise-gwclient-7.0.1_p20060613-r1.ebuild 1731
EBUILD novell-groupwise-gwclient-7.0.1_p20060613.ebuild 1345 RMD160 db23efe94c6335a7682ffafc855313ea4633dac1 SHA1 2064d30107538ce0fbf7df9d63cebe7092cb48e8 SHA256 960f99575a4dc75cc59662214ac2cd7fca079b5827d7f6f3b3eb280b3f58d02e EBUILD novell-groupwise-gwclient-7.0.1_p20060613.ebuild 1345 RMD160 db23efe94c6335a7682ffafc855313ea4633dac1 SHA1 2064d30107538ce0fbf7df9d63cebe7092cb48e8 SHA256 960f99575a4dc75cc59662214ac2cd7fca079b5827d7f6f3b3eb280b3f58d02e
MD5 368dcfb4700ae0aa7c92f392907dcde3 novell-groupwise-gwclient-7.0.1_p20060613.ebuild 1345 MD5 368dcfb4700ae0aa7c92f392907dcde3 novell-groupwise-gwclient-7.0.1_p20060613.ebuild 1345
RMD160 db23efe94c6335a7682ffafc855313ea4633dac1 novell-groupwise-gwclient-7.0.1_p20060613.ebuild 1345 RMD160 db23efe94c6335a7682ffafc855313ea4633dac1 novell-groupwise-gwclient-7.0.1_p20060613.ebuild 1345
@ -8,10 +12,10 @@ EBUILD novell-groupwise-gwclient-7.0.1_p20061107.ebuild 1329 RMD160 15b7201ebee2
MD5 e74aafd7bf6d91fb4674233ad9ce8b6b novell-groupwise-gwclient-7.0.1_p20061107.ebuild 1329 MD5 e74aafd7bf6d91fb4674233ad9ce8b6b novell-groupwise-gwclient-7.0.1_p20061107.ebuild 1329
RMD160 15b7201ebee2ed225cc3f25efcc32398d550c5e1 novell-groupwise-gwclient-7.0.1_p20061107.ebuild 1329 RMD160 15b7201ebee2ed225cc3f25efcc32398d550c5e1 novell-groupwise-gwclient-7.0.1_p20061107.ebuild 1329
SHA256 498d4b272abf3931ef9a05289b7714280b690930de6b0359553873e1995d29c3 novell-groupwise-gwclient-7.0.1_p20061107.ebuild 1329 SHA256 498d4b272abf3931ef9a05289b7714280b690930de6b0359553873e1995d29c3 novell-groupwise-gwclient-7.0.1_p20061107.ebuild 1329
MISC ChangeLog 494 RMD160 3fb85e1bb56530dc6a4da5f630848d02fbb8c52c SHA1 6b54620756a3740d30e9dc8515b141c2b7722d27 SHA256 828b5f08aa3f965078fc74ff499f3f80adcab9d047854d87eca1a04f0220f6a5 MISC ChangeLog 1612 RMD160 a18d89e0d0227e44813c7e31e45ef908a3a69429 SHA1 fe5b8dbc2425b9de14f39b4f55b4367da9d0d902 SHA256 e00b65fea61d1e09bcb985c68ccfad7d4726edff057103e200c9af4d69ec3bdf
MD5 4d48cadea5ad26fada5f6d4b3cc60099 ChangeLog 494 MD5 154c6a6c53185bde32686ea4d1f00d6a ChangeLog 1612
RMD160 3fb85e1bb56530dc6a4da5f630848d02fbb8c52c ChangeLog 494 RMD160 a18d89e0d0227e44813c7e31e45ef908a3a69429 ChangeLog 1612
SHA256 828b5f08aa3f965078fc74ff499f3f80adcab9d047854d87eca1a04f0220f6a5 ChangeLog 494 SHA256 e00b65fea61d1e09bcb985c68ccfad7d4726edff057103e200c9af4d69ec3bdf ChangeLog 1612
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
@ -19,6 +23,9 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata
MD5 1ab2965eb43ba094b9bb1be19c75dfcd files/digest-novell-groupwise-gwclient-7.0.1_p20060613 232 MD5 1ab2965eb43ba094b9bb1be19c75dfcd files/digest-novell-groupwise-gwclient-7.0.1_p20060613 232
RMD160 72254d6780cc742e73d23b0216d622b220e80d99 files/digest-novell-groupwise-gwclient-7.0.1_p20060613 232 RMD160 72254d6780cc742e73d23b0216d622b220e80d99 files/digest-novell-groupwise-gwclient-7.0.1_p20060613 232
SHA256 719367451f8d7bb6772577529dd3684a9ef905484ea892e3e57085473e1d49dd files/digest-novell-groupwise-gwclient-7.0.1_p20060613 232 SHA256 719367451f8d7bb6772577529dd3684a9ef905484ea892e3e57085473e1d49dd files/digest-novell-groupwise-gwclient-7.0.1_p20060613 232
MD5 1ab2965eb43ba094b9bb1be19c75dfcd files/digest-novell-groupwise-gwclient-7.0.1_p20060613-r1 232
RMD160 72254d6780cc742e73d23b0216d622b220e80d99 files/digest-novell-groupwise-gwclient-7.0.1_p20060613-r1 232
SHA256 719367451f8d7bb6772577529dd3684a9ef905484ea892e3e57085473e1d49dd files/digest-novell-groupwise-gwclient-7.0.1_p20060613-r1 232
MD5 32b145eb534f3a2fd86faab3336d5a82 files/digest-novell-groupwise-gwclient-7.0.1_p20061107 247 MD5 32b145eb534f3a2fd86faab3336d5a82 files/digest-novell-groupwise-gwclient-7.0.1_p20061107 247
RMD160 bc258bdca7865530581bd5a3d13bf71e95cfd59d files/digest-novell-groupwise-gwclient-7.0.1_p20061107 247 RMD160 bc258bdca7865530581bd5a3d13bf71e95cfd59d files/digest-novell-groupwise-gwclient-7.0.1_p20061107 247
SHA256 4952ac479a82f9275eddfcf04445ef67589788f994a558cff823c014a8809531 files/digest-novell-groupwise-gwclient-7.0.1_p20061107 247 SHA256 4952ac479a82f9275eddfcf04445ef67589788f994a558cff823c014a8809531 files/digest-novell-groupwise-gwclient-7.0.1_p20061107 247

View File

@ -0,0 +1,3 @@
MD5 0c3635339e3f864fe791a71354cb8551 gw701clnxm.tgz 136052194
RMD160 66405fd635960c0186f579cfe29ecc2712998b52 gw701clnxm.tgz 136052194
SHA256 d669411ab4df6d5655f55bd766b28fc66ebb181d36d865fe5930b5cfed58f5d2 gw701clnxm.tgz 136052194

View File

@ -0,0 +1,60 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
MY_P="${P/_p/-}"
DESCRIPTION="Novell Groupwise 7 Client for Linux"
HOMEPAGE="http://www.novell.com/en/gropwise/"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/4mcyJ_tKJqQ~/gw701clnxm.tgz"
LICENSE="Novell-GW-7"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="java system-jre"
DEPEND="!net-misc/novell-groupwise-gwclient"
RDEPEND="sys-libs/glibc
sys-libs/libstdc++-v3
sys-devel/gcc
system-jre? (
|| (virtual/jdk
virtual/jre)
amd64? (app-emulation/emul-linux-x86-java)
)
amd64? (app-emulation/emul-linux-x86-compat)"
RESTRICT="nostrip nomirror"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${MY_P}
cd ${MY_P}
rpm_unpack ${WORKDIR}/root/image/2006.06.13/client/linux/${MY_P}.i386.rpm
}
src_compile() { :; }
src_install() {
JRE_DIR="${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/jre;
if ! use system-jre; then
# Undo Novell funny-business with packed .jar's
for i in $JRE_DIR/lib/*.pack; do
i_b=`echo $i | sed 's/\.pack$//'`;
einfo "Unpacking `basename $i` -> `basename $i_b.jar`";
$JRE_DIR/bin/unpack200 $i $i_b.jar || die "Unpack failed";
done;
else
rm -rf "${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/jre
sed -i 's%/opt/novell/groupwise/client/jre%`java-config --jre-home`%' "${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/bin/groupwise
fi
insinto /usr/share/applications
doins "${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/gwclient.desktop
mv "${WORKDIR}"/${MY_P}/opt "${D}"/ || die "mv opt"
dodir /usr/bin
dosym /opt/novell/groupwise/client/bin/groupwise /usr/bin/groupwise
}