Bump & Cleanup
This commit is contained in:
parent
e9214084db
commit
80dda91c04
@ -1,11 +1,5 @@
|
|||||||
AUX nmclient-2.0-pre 359 RMD160 4665e1b4d0ae117f0f3b9724e535f9a58c971f5f SHA1 73a19bf051dd1670efa859a1b877ad593094c19c SHA256 8a8a7d5b2a7600a0485af2e70ec9459bb32e666ca67e075a9e57e57192980a18
|
AUX nmclient-2.0-pre 359 RMD160 4665e1b4d0ae117f0f3b9724e535f9a58c971f5f SHA1 73a19bf051dd1670efa859a1b877ad593094c19c SHA256 8a8a7d5b2a7600a0485af2e70ec9459bb32e666ca67e075a9e57e57192980a18
|
||||||
DIST GWM202HP1CLNX.TGZ 19896002 RMD160 a89d18ea11453a9bb78a4ef1cfd73a696bdaaa8e SHA1 74ef0a8cfbcea2295d94cc57f1e0c23f6aeca23d SHA256 f51a8d1494e55a473d32de885b9a4ffbac7034c40eb1a38bebd9da9d507c823b
|
DIST nm221_full_linux_multi.tar.gz 132557667 RMD160 fe32f0f85321bdaade4d4b58f69f1198e616c65e SHA1 2639f3436ecf3421cbfc90937466c549a68f1ca2 SHA256 5b3e1a52154a0ee3b4165d10d7606cc45fe183f82da4a9d83367f3740069ec18
|
||||||
DIST gvm204_client_linux_multi.tar.gz 19494141 RMD160 83e4d726a324a6abffc2bee5b74bbab56a90e564 SHA1 7a250b5d7f858f77c1dd8038f38c6ee5ea15786a SHA256 bbf605bd71de2e77ca824d3f55c2887c5adc74569b9c32bbecc0ad6220bd20c9
|
EBUILD novell-messenger-client-2.2.1.20111007.ebuild 3353 RMD160 1a3868c7665b3ba50b7a38f614e576a88d572d01 SHA1 462c4ac0c75e7b9459e7872dc8c6c594c48fa82f SHA256 d4878538b2a2500e4e06f03d10d2bfdeee7b581758e4f72a8290cd0a788e0aaa
|
||||||
DIST nm210_client_linux_multi.tar.gz 19894937 RMD160 b4f4d407284e2b114653022abce9a30f2d6f53b4 SHA1 2c10b8820a11e70b41406568d7f9034ed58bee19 SHA256 c79d948f9534e1e76d6f8658f23ebe34665f01ec12283e3984ee9773c2333ac2
|
|
||||||
DIST nm220_client_linux_multi.tar.gz 23702607 RMD160 a0503938ccd1e1a7cd89e6e67240baa74bf41d22 SHA1 ba5186577351248ee0b6001dfa095334ba6324b7 SHA256 b1efb1489d48cf0d449d85ff005992a687eafe087d8d32c3bb948d0430861b1b
|
|
||||||
EBUILD novell-messenger-client-2.0.2_p20070608.ebuild 3164 RMD160 964a241e2a0a1216231dba3545520d4aa218ccb4 SHA1 3f714f098110ec5b67b340b36b76ee5b110ee493 SHA256 78582cede523abdb1eee78d70a2c185233ff961261c830c1cd91b851c474f9c3
|
|
||||||
EBUILD novell-messenger-client-2.0.4_p20080930.ebuild 3240 RMD160 19115382ddebbd149ff1664bbbfecaeb00c7a873 SHA1 35097ea807049532cc7be06c3986f9998523ccab SHA256 036ee1aead8b534665849b3d821f995bc625d145df3da1a3024efc36332e7c39
|
|
||||||
EBUILD novell-messenger-client-2.1.0.20100514.ebuild 3386 RMD160 2e96bf11276e08517c942dd4f5eab8bacc81b1e0 SHA1 3da37d8d24c0639c95a541454503af3584e858a2 SHA256 2bf7ebf7424a6d6bfd84eb2de15c1cb227d3f85d146b275ab4824a4983d902a4
|
|
||||||
EBUILD novell-messenger-client-2.2.0.20101203.ebuild 3409 RMD160 a0a51bcb0933f65845d0ee2853e2fc2bd5aaac6b SHA1 e88e43128b2955d588ecaeb644fd849cfd70d5d1 SHA256 47bc54d896e6e117f72454284739542255e779be0a87b858ca606ad791ae4bf3
|
|
||||||
MISC ChangeLog 1430 RMD160 75d491499add270ac74e6ba120ce0ef2efe6bf8f SHA1 4b4714f23e4704e486cd3d390a12b1835b5c20c7 SHA256 779f21d460a6d666d64ac240024ea86323472dafc89ee333882fcd7cb0700d56
|
MISC ChangeLog 1430 RMD160 75d491499add270ac74e6ba120ce0ef2efe6bf8f SHA1 4b4714f23e4704e486cd3d390a12b1835b5c20c7 SHA256 779f21d460a6d666d64ac240024ea86323472dafc89ee333882fcd7cb0700d56
|
||||||
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2
|
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2
|
||||||
|
@ -1,88 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
NOVELL_BUILDID="qAcGecdScA8~"
|
|
||||||
NOVELL_FILE="patchfiles/GWM202HP1CLNX.TGZ"
|
|
||||||
RESTRICT="mirror strip"
|
|
||||||
|
|
||||||
inherit novell rpm java-pkg-2 eutils
|
|
||||||
|
|
||||||
MY_P="${P/_p/-}"
|
|
||||||
DESCRIPTION="Novell Groupwise Messenger"
|
|
||||||
HOMEPAGE="http://www.novell.com"
|
|
||||||
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE}"
|
|
||||||
|
|
||||||
LICENSE="Novell-Messenger-20"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~x86"
|
|
||||||
|
|
||||||
IUSE="linguas_en linguas_hu linguas_ar
|
|
||||||
linguas_cs linguas_da linguas_de linguas_es linguas_fi
|
|
||||||
linguas_fr linguas_he linguas_it linguas_ja linguas_ko
|
|
||||||
linguas_nl linguas_no linguas_pl linguas_pt linguas_ru
|
|
||||||
linguas_sv linguas_zh_CN linguas_zh_TW"
|
|
||||||
|
|
||||||
DEPEND=">=virtual/jre-1.4"
|
|
||||||
|
|
||||||
|
|
||||||
S=${WORKDIR}/nmclient
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
cp ${DISTDIR}/GWM202HP1CLNX.TGZ ${WORKDIR}/${P}.tar.gz
|
|
||||||
DISTDIR=${WORKDIR}
|
|
||||||
unpack ${P}.tar.gz || die
|
|
||||||
unpack_makeself nvlmsgr.bin 36 tail || die
|
|
||||||
mkdir -p ${WORKDIR}/${MY_P}
|
|
||||||
cd ${MY_P}
|
|
||||||
rpm_unpack ../work/nmclient/${MY_P}.i586.rpm || die "rpm unpack failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
for x in en hu ar cs da de es fi fr he it ja ko nl no pl pt ru sv zh_CN zh_TW ; do
|
|
||||||
if use linguas_${x}
|
|
||||||
then
|
|
||||||
[[ ${x} == "zh_CN" ]] && x="zhcn"
|
|
||||||
[[ ${x} == "zh_TW" ]] && x="zhtw"
|
|
||||||
docinto ${x}
|
|
||||||
dodoc ${WORKDIR}/${MY_P}/opt/novell/messenger/client/docs/${x}/*.htm
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
java-pkg_jarinto /opt/novell/messenger/client/$(get_libdir)
|
|
||||||
for x in jh.jar nmclhlp.jar nmclient.jar; do
|
|
||||||
java-pkg_dojar ${WORKDIR}/${MY_P}/opt/novell/messenger/client/${x}
|
|
||||||
done
|
|
||||||
|
|
||||||
java-pkg_sointo /opt/novell/messenger/client/$(get_libdir)
|
|
||||||
for x in libeggtray.so libidlex.so; do
|
|
||||||
java-pkg_doso ${WORKDIR}/${MY_P}/opt/novell/messenger/client/${x}
|
|
||||||
done
|
|
||||||
insinto ${JAVA_PKG_JARDEST}
|
|
||||||
doins ${WORKDIR}/${MY_P}/opt/novell/messenger/client/*.wav
|
|
||||||
insinto ${JAVA_PKG_JARDEST}/icons
|
|
||||||
doins ${WORKDIR}/${MY_P}/opt/novell/messenger/client/icons/*
|
|
||||||
doicon ${WORKDIR}/${MY_P}/opt/novell/messenger/client/nmclient.png
|
|
||||||
# insinto ${JAVA_PKG_JARDEST}/docs
|
|
||||||
into /opt/novell/messenger/client
|
|
||||||
java-pkg_dolauncher nmclient --main com.novell.messenger.client.Messenger \
|
|
||||||
-pre ${FILESDIR}/nmclient-2.0-pre \
|
|
||||||
--java_args "-Xms5M -Dawt.toolkit=sun.awt.motif.MToolkit"
|
|
||||||
make_desktop_entry /opt/novell/messenger/client/bin/nmclient "GroupWise Messenger" nmclient.png Network
|
|
||||||
dosym /opt/novell/messenger/client/bin/nmclient /usr/bin/nmclient
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_nofetch() {
|
|
||||||
einfo "This files require you to register at ${HOMEPAGE} (free account)"
|
|
||||||
einfo "Please download following file:"
|
|
||||||
einfo " - ${NOVELL_FILE}"
|
|
||||||
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 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"
|
|
||||||
}
|
|
@ -1,93 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
|
|
||||||
NOVELL_BUILDID="iTGfb2Ug1mU~"
|
|
||||||
NOVELL_FILE="patchfiles/gvm204_client_linux_multi.tar.gz"
|
|
||||||
RESTRICT="mirror strip"
|
|
||||||
|
|
||||||
inherit novell rpm java-pkg-2 eutils
|
|
||||||
|
|
||||||
MY_P="${P/_p/-}"
|
|
||||||
DESCRIPTION="Novell Groupwise Messenger"
|
|
||||||
HOMEPAGE="http://www.novell.com"
|
|
||||||
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE}"
|
|
||||||
|
|
||||||
LICENSE="Novell-Messenger-20"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~x86 ~amd64"
|
|
||||||
|
|
||||||
IUSE="linguas_en linguas_hu linguas_ar
|
|
||||||
linguas_cs linguas_da linguas_de linguas_es linguas_fi
|
|
||||||
linguas_fr linguas_he linguas_it linguas_ja linguas_ko
|
|
||||||
linguas_nl linguas_no linguas_pl linguas_pt linguas_ru
|
|
||||||
linguas_sv linguas_zh_CN linguas_zh_TW"
|
|
||||||
|
|
||||||
DEPEND=">=virtual/jre-1.4
|
|
||||||
media-libs/jpeg:62
|
|
||||||
amd64? ( >=virtual/jdk-1.4
|
|
||||||
=app-emulation/emul-linux-x86-java-1.6* )"
|
|
||||||
|
|
||||||
|
|
||||||
S=${WORKDIR}/nmclient
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A} || die
|
|
||||||
unpack_makeself nvlmsgr.bin 36 tail || die
|
|
||||||
mkdir -p ${WORKDIR}/${MY_P}
|
|
||||||
cd ${MY_P}
|
|
||||||
rpm_unpack ../work/nmclient/${MY_P}.i586.rpm || die "rpm unpack failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
has_multilib_profile && ABI="x86"
|
|
||||||
|
|
||||||
for x in en hu ar cs da de es fi fr he it ja ko nl no pl pt ru sv zh_CN zh_TW ; do
|
|
||||||
if use linguas_${x}
|
|
||||||
then
|
|
||||||
[[ ${x} == "zh_CN" ]] && x="zhcn"
|
|
||||||
[[ ${x} == "zh_TW" ]] && x="zhtw"
|
|
||||||
docinto ${x}
|
|
||||||
dodoc ${WORKDIR}/${MY_P}/opt/novell/messenger/client/docs/${x}/*.htm
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
java-pkg_jarinto /opt/novell/messenger/client/$(get_libdir)
|
|
||||||
for x in jh.jar nmclhlp.jar nmclient.jar; do
|
|
||||||
java-pkg_dojar ${WORKDIR}/${MY_P}/opt/novell/messenger/client/${x}
|
|
||||||
done
|
|
||||||
|
|
||||||
java-pkg_sointo /opt/novell/messenger/client/$(get_libdir)
|
|
||||||
for x in libeggtray.so libidlex.so; do
|
|
||||||
java-pkg_doso ${WORKDIR}/${MY_P}/opt/novell/messenger/client/${x}
|
|
||||||
done
|
|
||||||
insinto ${JAVA_PKG_JARDEST}
|
|
||||||
doins ${WORKDIR}/${MY_P}/opt/novell/messenger/client/*.wav
|
|
||||||
insinto ${JAVA_PKG_JARDEST}/icons
|
|
||||||
doins ${WORKDIR}/${MY_P}/opt/novell/messenger/client/icons/*
|
|
||||||
doicon ${WORKDIR}/${MY_P}/opt/novell/messenger/client/nmclient.png
|
|
||||||
# insinto ${JAVA_PKG_JARDEST}/docs
|
|
||||||
into /opt/novell/messenger/client
|
|
||||||
java-pkg_dolauncher nmclient --main com.novell.messenger.client.Messenger \
|
|
||||||
-pre ${FILESDIR}/nmclient-2.0-pre \
|
|
||||||
--java_args "-Xms5M -Dawt.toolkit=sun.awt.motif.MToolkit"
|
|
||||||
make_desktop_entry /opt/novell/messenger/client/bin/nmclient "GroupWise Messenger" nmclient.png Network
|
|
||||||
dosym /opt/novell/messenger/client/bin/nmclient /usr/bin/nmclient
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_nofetch() {
|
|
||||||
einfo "This files require you to register at ${HOMEPAGE} (free account)"
|
|
||||||
einfo "Please download following file:"
|
|
||||||
einfo " - ${NOVELL_FILE}"
|
|
||||||
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 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"
|
|
||||||
}
|
|
@ -1,95 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
|
|
||||||
NOVELL_BUILDID="4UP5dT99Bh4~"
|
|
||||||
NOVELL_FILE="patchfiles/nm210_client_linux_multi.tar.gz"
|
|
||||||
RESTRICT="mirror strip"
|
|
||||||
|
|
||||||
inherit novell rpm java-pkg-2 eutils versionator
|
|
||||||
|
|
||||||
MY_PV=$(replace_version_separator 3 '-')
|
|
||||||
MY_PV="${MY_PV/_p/-}"
|
|
||||||
|
|
||||||
DESCRIPTION="Novell Groupwise Messenger"
|
|
||||||
HOMEPAGE="http://www.novell.com"
|
|
||||||
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE}"
|
|
||||||
|
|
||||||
LICENSE="Novell-Messenger-21"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~x86 ~amd64"
|
|
||||||
|
|
||||||
IUSE="linguas_en linguas_hu linguas_ar
|
|
||||||
linguas_cs linguas_da linguas_de linguas_es linguas_fi
|
|
||||||
linguas_fr linguas_he linguas_it linguas_ja linguas_ko
|
|
||||||
linguas_nl linguas_no linguas_pl linguas_pt linguas_ru
|
|
||||||
linguas_sv linguas_zh_CN linguas_zh_TW"
|
|
||||||
|
|
||||||
DEPEND=">=virtual/jre-1.4
|
|
||||||
media-libs/jpeg:62
|
|
||||||
amd64? ( >=virtual/jdk-1.4
|
|
||||||
=app-emulation/emul-linux-x86-java-1.6* )"
|
|
||||||
|
|
||||||
|
|
||||||
S=${WORKDIR}/nmclient
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A} || die
|
|
||||||
unpack_makeself nm210_client_linux_multi/nvlmsgr.bin 36 tail || die
|
|
||||||
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
|
|
||||||
cd ${PN}-${MY_PV}
|
|
||||||
rpm_unpack ../work/nmclient/${PN}-${MY_PV}.i586.rpm || die "rpm unpack failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
has_multilib_profile && ABI="x86"
|
|
||||||
|
|
||||||
for x in en hu ar cs da de es fi fr he it ja ko nl no pl pt ru sv zh_CN zh_TW ; do
|
|
||||||
if use linguas_${x}
|
|
||||||
then
|
|
||||||
[[ ${x} == "zh_CN" ]] && x="zhcn"
|
|
||||||
[[ ${x} == "zh_TW" ]] && x="zhtw"
|
|
||||||
docinto ${x}
|
|
||||||
dodoc ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/docs/${x}/*.htm
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
java-pkg_jarinto /opt/novell/messenger/client/$(get_libdir)
|
|
||||||
for x in jh.jar nmclhlp.jar nmclient.jar; do
|
|
||||||
java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/${x}
|
|
||||||
done
|
|
||||||
|
|
||||||
java-pkg_sointo /opt/novell/messenger/client/$(get_libdir)
|
|
||||||
for x in libeggtray.so libidlex.so; do
|
|
||||||
java-pkg_doso ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/${x}
|
|
||||||
done
|
|
||||||
insinto ${JAVA_PKG_JARDEST}
|
|
||||||
doins ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/*.wav
|
|
||||||
insinto ${JAVA_PKG_JARDEST}/icons
|
|
||||||
doins ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/icons/*
|
|
||||||
doicon ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/nmclient.png
|
|
||||||
# insinto ${JAVA_PKG_JARDEST}/docs
|
|
||||||
into /opt/novell/messenger/client
|
|
||||||
java-pkg_dolauncher nmclient --main com.novell.messenger.client.Messenger \
|
|
||||||
-pre ${FILESDIR}/nmclient-2.0-pre \
|
|
||||||
--java_args "-Xms5M -Dawt.toolkit=sun.awt.motif.MToolkit"
|
|
||||||
make_desktop_entry /opt/novell/messenger/client/bin/nmclient "GroupWise Messenger" nmclient.png Network
|
|
||||||
dosym /opt/novell/messenger/client/bin/nmclient /usr/bin/nmclient
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_nofetch() {
|
|
||||||
einfo "This files require you to register at ${HOMEPAGE} (free account)"
|
|
||||||
einfo "Please download following file:"
|
|
||||||
einfo " - ${NOVELL_FILE}"
|
|
||||||
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 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"
|
|
||||||
}
|
|
@ -1,96 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
|
|
||||||
NOVELL_BUILDID="ZO4XHHpkCD0~"
|
|
||||||
NOVELL_FILE="nm220_client_linux_multi.tar.gz"
|
|
||||||
RESTRICT="mirror strip"
|
|
||||||
|
|
||||||
inherit novell rpm java-pkg-2 eutils versionator
|
|
||||||
|
|
||||||
MY_PV=$(replace_version_separator 3 '-')
|
|
||||||
MY_PV="${MY_PV/_p/-}"
|
|
||||||
|
|
||||||
DESCRIPTION="Novell Groupwise Messenger"
|
|
||||||
HOMEPAGE="http://www.novell.com"
|
|
||||||
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE}"
|
|
||||||
|
|
||||||
LICENSE="Novell-Messenger-22"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~x86 ~amd64"
|
|
||||||
|
|
||||||
IUSE="linguas_en linguas_hu linguas_ar
|
|
||||||
linguas_cs linguas_da linguas_de linguas_es linguas_fi
|
|
||||||
linguas_fr linguas_he linguas_it linguas_ja linguas_ko
|
|
||||||
linguas_nl linguas_no linguas_pl linguas_pt linguas_ru
|
|
||||||
linguas_sv linguas_zh_CN linguas_zh_TW"
|
|
||||||
|
|
||||||
DEPEND=">=virtual/jre-1.4
|
|
||||||
media-libs/jpeg:62
|
|
||||||
amd64? ( >=virtual/jdk-1.4
|
|
||||||
=app-emulation/emul-linux-x86-java-1.6* )"
|
|
||||||
|
|
||||||
|
|
||||||
S=${WORKDIR}/nmclient
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A} || die
|
|
||||||
unpack_makeself nm220_client_linux_multi/nvlmsgr.bin 36 tail || die
|
|
||||||
# die "devel die for uncompress"
|
|
||||||
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
|
|
||||||
cd ${PN}-${MY_PV}
|
|
||||||
rpm_unpack ../work/nmclient/${PN}-${MY_PV}.i586.rpm || die "rpm unpack failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
has_multilib_profile && ABI="x86"
|
|
||||||
|
|
||||||
for x in en hu ar cs da de es fi fr he it ja ko nl no pl pt ru sv zh_CN zh_TW ; do
|
|
||||||
if use linguas_${x}
|
|
||||||
then
|
|
||||||
[[ ${x} == "zh_CN" ]] && x="zhcn"
|
|
||||||
[[ ${x} == "zh_TW" ]] && x="zhtw"
|
|
||||||
docinto ${x}
|
|
||||||
dodoc ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/docs/${x}/*.htm
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
java-pkg_jarinto /opt/novell/messenger/client/$(get_libdir)
|
|
||||||
for x in jh.jar nmclhlp.jar nmclient.jar; do
|
|
||||||
java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/${x}
|
|
||||||
done
|
|
||||||
|
|
||||||
java-pkg_sointo /opt/novell/messenger/client/$(get_libdir)
|
|
||||||
for x in libeggtray.so libidlex.so; do
|
|
||||||
java-pkg_doso ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/${x}
|
|
||||||
done
|
|
||||||
insinto ${JAVA_PKG_JARDEST}
|
|
||||||
doins ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/*.wav
|
|
||||||
insinto ${JAVA_PKG_JARDEST}/icons
|
|
||||||
doins ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/icons/*
|
|
||||||
doicon ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/nmclient.png
|
|
||||||
# insinto ${JAVA_PKG_JARDEST}/docs
|
|
||||||
into /opt/novell/messenger/client
|
|
||||||
java-pkg_dolauncher nmclient --main com.novell.messenger.client.Messenger \
|
|
||||||
-pre ${FILESDIR}/nmclient-2.0-pre \
|
|
||||||
--java_args "-Xms5M -Dawt.toolkit=sun.awt.motif.MToolkit"
|
|
||||||
make_desktop_entry /opt/novell/messenger/client/bin/nmclient "GroupWise Messenger" nmclient.png Network
|
|
||||||
dosym /opt/novell/messenger/client/bin/nmclient /usr/bin/nmclient
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_nofetch() {
|
|
||||||
einfo "This files require you to register at ${HOMEPAGE} (free account)"
|
|
||||||
einfo "Please download following file:"
|
|
||||||
einfo " - ${NOVELL_FILE}"
|
|
||||||
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 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"
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user