From 7475920db9f5f29555d334636407d94df185f660 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 17 Jan 2009 13:35:29 +0000 Subject: [PATCH] net-nds/novell-ndsimon: multilib support --- .../net-nds/novell-ndsimon/ChangeLog | 6 +- .../net-nds/novell-ndsimon/Manifest | 3 +- .../novell-ndsimon-8.7.3.10_p87-r1.ebuild | 78 +++++++++++++++++++ 3 files changed, 85 insertions(+), 2 deletions(-) create mode 100644 trunk/novell4gentoo/net-nds/novell-ndsimon/novell-ndsimon-8.7.3.10_p87-r1.ebuild diff --git a/trunk/novell4gentoo/net-nds/novell-ndsimon/ChangeLog b/trunk/novell4gentoo/net-nds/novell-ndsimon/ChangeLog index 7f0ce4c1..a5389071 100644 --- a/trunk/novell4gentoo/net-nds/novell-ndsimon/ChangeLog +++ b/trunk/novell4gentoo/net-nds/novell-ndsimon/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for net-nds/novell-ndsimon -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 17 Jan 2009; Mario Fetka + +novell-ndsimon-8.7.3.10_p87-r1.ebuild: + multilib support + 03 Nov 2008; Mario Fetka novell-ndsimon-8.7.3.10_p87.ebuild: correct blocking slot's diff --git a/trunk/novell4gentoo/net-nds/novell-ndsimon/Manifest b/trunk/novell4gentoo/net-nds/novell-ndsimon/Manifest index 90990b04..5584658a 100644 --- a/trunk/novell4gentoo/net-nds/novell-ndsimon/Manifest +++ b/trunk/novell4gentoo/net-nds/novell-ndsimon/Manifest @@ -2,6 +2,7 @@ AUX 80novell-edir 303 RMD160 64062683170df6b99c1a4c42045a6f912ac5b6c6 SHA1 b3771 DIST edir87310_ftf1.tar.gz 254793819 RMD160 7631a2e782207848c8e76facb2d20f34e0477a40 SHA1 0d5109f3b110edf68385abe7d45adb9405566df9 SHA256 81bc6bf3abab9edd4792cf0ab5ea523dfca6f44b2627e20538db2977bb884c14 DIST edir87310b.tar.gz 254792877 RMD160 0b75eb50013f7c87c815a37d45786650d2f42bef SHA1 d976b29d6900a3ee9506e08abe783e4a9bf07b16 SHA256 e01297b4929c666ef2c5969b8a3098182ce96575ddf0a816a27451ece612aba6 EBUILD novell-ndsimon-8.7.3.10_p75.ebuild 2429 RMD160 9aa24850f0216bb5730f59bad5a5af1be0793a01 SHA1 34b765b68d4d0ab810ed142ffde2f60c51c14343 SHA256 9480266ea9c0e0be2a1adc8ba7fce773f709d01c5d3776c3ad6eaa195fd82323 +EBUILD novell-ndsimon-8.7.3.10_p87-r1.ebuild 2575 RMD160 9767bb2bb2069e3540df6a94d9e0c684dc735791 SHA1 681e39e34425911d2894c239dae36538779807ed SHA256 c68c71f95ff9e8c080a1551e7aca1ef6ce751e69f5cce4ea23392307881d821a EBUILD novell-ndsimon-8.7.3.10_p87.ebuild 2463 RMD160 79b8f4d57243729be2f5756a78ed5380a88d8ef9 SHA1 84ec2de65abca1964019ad30efec0c388bc79226 SHA256 a917504718edd23dcbef98b3f5071690e5e94160a3e559593dd44ceed714468a -MISC ChangeLog 1717 RMD160 77b71ba028f42a671f3a3641fc6c2166bf59db7c SHA1 28d76b1f13d8dfd522847438adfebd6bf58f1f98 SHA256 175d72173c04f20eab1ddb1aba3057452d92012fd5374ed5047ebae4e244c7d5 +MISC ChangeLog 1830 RMD160 ba00606a282c259172554564fb42fa0e33a2bbe6 SHA1 b1fb1329fc780b138bde251d8d46016c1ff6f8d7 SHA256 c68f95faa2625cc708cdadd2015b8cdc92b35cfbfca2f8132480ac82c50d799e MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/net-nds/novell-ndsimon/novell-ndsimon-8.7.3.10_p87-r1.ebuild b/trunk/novell4gentoo/net-nds/novell-ndsimon/novell-ndsimon-8.7.3.10_p87-r1.ebuild new file mode 100644 index 00000000..08f88249 --- /dev/null +++ b/trunk/novell4gentoo/net-nds/novell-ndsimon/novell-ndsimon-8.7.3.10_p87-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="1" + +NOVELL_BUILDID="vPAcSRN8t6o~" +NOVELL_FILE32="patchfiles/edir87310_ftf1.tar.gz" +RESTRICT="mirror strip" + +inherit novell eutils rpm multilib + +MY_PV="${PV/_p/-}" + +DESCRIPTION="Novell iMonitor Utility" +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="8.7" +KEYWORDS="~x86 ~amd64" +IUSE="linguas_fr" + +DEPEND="!net-nds/novell-ndsimon:0 + !net-nds/novell-ndsimon:8.8" + +RDEPEND="virtual/libc + >=app-crypt/novell-nici-2.6.4_p005 + net-nds/novell-ndsbase:8.7 + net-nds/novell-novllmgnt:8.7 + net-nds/novell-novlxis:8.7 + net-nds/novell-ndsserv:8.7" + +src_unpack() { + unpack ${A} + mkdir -p "${WORKDIR}"/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack "${WORKDIR}"/edir87310_ftf1/Linux/NDSimon.i386.rpm +} + +src_compile() { :; } + +src_install() { + has_multilib_profile && ABI="x86" + + insinto /etc + doins "${WORKDIR}"/${PN}-${MY_PV}/etc/*.conf + into /usr + dobin "${WORKDIR}"/${PN}-${MY_PV}/usr/bin/* + dosym . /usr/$(get_libdir)/nds-modules/$(get_libdir) + into /usr/$(get_libdir)/nds-modules + dolib.so "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/nds-modules/*.so* + rm "${D}"/usr/$(get_libdir)/nds-modules/$(get_libdir) + insinto /usr/lib/ndsimon/public/css + doins "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/ndsimon/public/css/*.css + insinto /usr/lib/ndsimon/public/images + doins "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/ndsimon/public/images/*.gif + insinto /usr/lib/ndsimon/public/javascript + doins "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/ndsimon/public/javascript/*.js + insinto /usr/$(get_libdir)/nds-modules/lang + doins -r "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/nds-modules/lang/* + doman "${WORKDIR}"/${PN}-${MY_PV}/usr/man/*/*.gz + use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/usr/man/fr/*/*.gz +} + +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" +}