net-print/novell-iprint-xclient-sh: add new download system

This commit is contained in:
geos_one 2007-11-03 18:39:02 +00:00
parent 074579062e
commit a63b4a1cab
3 changed files with 35 additions and 17 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
03 Nov 2007; Mario Fetka <mario-fetka@gmx.at>
novell-iprint-xclient-sh-6.500.20070105_p04.ebuild:
add new download system
23 Apr 2007; Mario Fetka <mario-fetka@gmx.at>
+novell-iprint-xclient-sh-6.500.20070105_p04.ebuild:
Update to 6.500

View File

@ -8,14 +8,14 @@ EBUILD novell-iprint-xclient-sh-1.0.20050722_p1-r1.ebuild 2426 RMD160 59d9c8ad74
MD5 2ee29192fe5a37f20622282acf8797a7 novell-iprint-xclient-sh-1.0.20050722_p1-r1.ebuild 2426
RMD160 59d9c8ad74d9caf8fcaef153fc1eec32034e3ea3 novell-iprint-xclient-sh-1.0.20050722_p1-r1.ebuild 2426
SHA256 434e2207424583b18877517ad6dae84445f21a0b9815a211ae9587be73ea2c33 novell-iprint-xclient-sh-1.0.20050722_p1-r1.ebuild 2426
EBUILD novell-iprint-xclient-sh-6.500.20070105_p04.ebuild 2436 RMD160 d3ce0022e0f69bc22dd97edc81c4a92fabbd0c9f SHA1 c8df91efedd34cfad59252f4cb127b5de9b538c8 SHA256 98770d357807bf53ddb04fd876af17bdd317453a6e77b38feef5a3f30977f998
MD5 717e481a80217474ea521690b8865419 novell-iprint-xclient-sh-6.500.20070105_p04.ebuild 2436
RMD160 d3ce0022e0f69bc22dd97edc81c4a92fabbd0c9f novell-iprint-xclient-sh-6.500.20070105_p04.ebuild 2436
SHA256 98770d357807bf53ddb04fd876af17bdd317453a6e77b38feef5a3f30977f998 novell-iprint-xclient-sh-6.500.20070105_p04.ebuild 2436
MISC ChangeLog 902 RMD160 716d2deb4d5144e3d8734dd5de18058f8fb7432f SHA1 4f2064653b93c82a1a3424c4699b03800707bddf SHA256 ef1c11917a5a0df575793be5b421d4dbcc6d250d49775479b3b20b8557ec8843
MD5 96e2d8010fea34d31c71132891e895c4 ChangeLog 902
RMD160 716d2deb4d5144e3d8734dd5de18058f8fb7432f ChangeLog 902
SHA256 ef1c11917a5a0df575793be5b421d4dbcc6d250d49775479b3b20b8557ec8843 ChangeLog 902
EBUILD novell-iprint-xclient-sh-6.500.20070105_p04.ebuild 3058 RMD160 4b2694887c5590425a7899386e431f361dcba5d2 SHA1 a03c2a037aeb5b7ddac4bc37cc38aad3a901a74c SHA256 77956a3c3e5839842bed5f910dcc0ce5bd6316a34ffb79b11d24e52047e06009
MD5 4aff5d159ae95ce49820c4b0dadf55ac novell-iprint-xclient-sh-6.500.20070105_p04.ebuild 3058
RMD160 4b2694887c5590425a7899386e431f361dcba5d2 novell-iprint-xclient-sh-6.500.20070105_p04.ebuild 3058
SHA256 77956a3c3e5839842bed5f910dcc0ce5bd6316a34ffb79b11d24e52047e06009 novell-iprint-xclient-sh-6.500.20070105_p04.ebuild 3058
MISC ChangeLog 1031 RMD160 57b07627dd7a015d0caf079429b62a8c14b6f0c1 SHA1 fe12c44e89b433d46dc6f0586cd0b96b9f262174 SHA256 8f034e3439140ff0156919f967fa8dc0216239ec028774d43796e75a1ef80ba9
MD5 6b0509c2cae1191307d3a8023f360d94 ChangeLog 1031
RMD160 57b07627dd7a015d0caf079429b62a8c14b6f0c1 ChangeLog 1031
SHA256 8f034e3439140ff0156919f967fa8dc0216239ec028774d43796e75a1ef80ba9 ChangeLog 1031
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170

View File

@ -2,13 +2,17 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm nsplugins
NOVELL_BUILDID="66J_3zP_SVk~"
NOVELL_FILE32="iprntlinuxclient426.tar.gz"
RESTRICT="mirror strip"
inherit novell eutils rpm nsplugins
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell iPrint Client for Linux Low Security"
DESCRIPTION="Novell iPrint Client for Linux High Security"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/66J_3zP_SVk~/iprntlinuxclient426.tar.gz"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32}"
LICENSE="Novell-NCL"
SLOT="0"
@ -25,10 +29,7 @@ RDEPEND="virtual/libc
x11-libs/pango
sys-libs/zlib
www-client/mozilla-firefox
!net-misc/novell-iprint-xclient-sl
!net-print/novell-iprint-xclient-sh"
RESTRICT="nomirror nostrip"
!net-print/novell-iprint-xclient-sl"
src_unpack() {
unpack ${A}
@ -67,8 +68,21 @@ src_install() {
into /opt/novell
dolib ${WORKDIR}/${PN}-${MY_PV}/opt/novell/lib/*
doman ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/*/*
newicon ${WORKDIR}/${PN}-${MY_PV}/opt/novell/iprint/share/icons/iprint_16.gif iprint.gif
newicon ${WORKDIR}/${PN}-${MY_PV}/opt/novell/iprint/share/icons/iprint_32.gif iprint.gif
doenvd "${FILESDIR}"/80novell-iprint
}
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"
}