/[gentoo-x86]/net-p2p/vuze-coreplugins/vuze-coreplugins-4.7.0.2.ebuild
Gentoo

Contents of /net-p2p/vuze-coreplugins/vuze-coreplugins-4.7.0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Feb 14 04:42:55 2013 UTC (22 months ago) by dirtyepic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump (bug #456880). Remove old.

(Portage version: 2.2.0_alpha162/cvs/Linux x86_64, signed Manifest commit with key 957A8463)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-p2p/vuze-coreplugins/vuze-coreplugins-4.7.0.2.ebuild,v 1.1 2012/03/10 05:59:46 dirtyepic Exp $
4
5 # eventually this should be built from source...
6
7 EAPI=2
8
9 inherit eutils
10
11 PLUGINS_N=azplugins
12 RATING_N=azrating
13 UPDATER_N=azupdater
14 UPNPAV_N=azupnpav
15 PLUGINS_V=2.1.6
16 RATING_V=1.3.1
17 UPDATER_V=1.8.17
18 UPNPAV_V=0.3.9
19 PLUGINS_DIST=${PLUGINS_N}_${PLUGINS_V}.jar
20 RATING_DIST=${RATING_N}_${RATING_V}.jar
21 UPDATER_DIST=${UPDATER_N}_${UPDATER_V}.zip
22 UPNPAV_DIST=${UPNPAV_N}_${UPNPAV_V}.zip
23
24 ALLPLUGINS_URL="http://azureus.sourceforge.net/plugins"
25
26 DESCRIPTION="Core plugins for Vuze that are included in upstream distribution"
27 HOMEPAGE="http://www.vuze.com/"
28 SRC_URI="
29 ${ALLPLUGINS_URL}/${PLUGINS_DIST}
30 ${ALLPLUGINS_URL}/${RATING_DIST}
31 ${ALLPLUGINS_URL}/${UPDATER_DIST}
32 ${ALLPLUGINS_URL}/${UPNPAV_DIST}"
33 LICENSE="GPL-2 BSD"
34
35 SLOT="0"
36 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
37 IUSE=""
38
39 RDEPEND="~net-p2p/vuze-${PV}"
40 DEPEND="${RDEPEND}
41 app-arch/unzip"
42
43 S="${WORKDIR}"
44
45 src_unpack() {
46 mkdir -p plugins/{${PLUGINS_N},${RATING_N},${UPDATER_N},${UPNPAV_N}} || die
47 cp "${DISTDIR}/${PLUGINS_DIST}" plugins/${PLUGINS_N} || die
48 cp "${DISTDIR}/${RATING_DIST}" plugins/${RATING_N} || die
49 cd "${WORKDIR}/plugins/${UPDATER_N}" && unpack ${UPDATER_DIST} || die
50 cd "${WORKDIR}/plugins/${UPNPAV_N}" && unpack ${UPNPAV_DIST} || die
51 }
52
53 src_compile() { :; }
54
55 src_install() {
56 insinto /usr/share/vuze/
57 doins -r "${WORKDIR}/plugins"
58 }
59
60 pkg_postinst() {
61 elog "Since version 4.0.0.2, plugins that are normally bundled by upstream"
62 elog "(and auto-installed in each user's ~/.azureus if not bundled)"
63 elog "are now installed into shared plugin directory by the ebuild."
64 elog "Vuze may warn that shared plugin dir is not writable, that's fine."
65 elog "Users are recommended to delete the following plugin copies:"
66 elog "~/.azureus/plugins/{${PLUGINS_N},${RATING_N},${UPDATER_N},${UPNPAV_N}}"
67 }

  ViewVC Help
Powered by ViewVC 1.1.20