# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="A java-based cross-platform Podcast receiver." HOMEPAGE="http://www.jpodder.com" SRC_URI="mirror://sourceforge/jpodder/jPodder-${PV}.zip" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=virtual/jdk-1.3.1 >=app-arch/unzip-5.52" S=${WORKDIR}/${P} src_unpack() { unzip ${DISTDIR}/jPodder-${PV}.zip || die "unpack failed!" } src_install() { mkdir ${D}/opt ${D}/opt/jpodder ${D}/usr ${D}/usr/bin || die "install failed!" cp -R ${WORKDIR}/install.jar ${D}/opt/jpodder/ || die "install failed!" cp ${FILESDIR}/${PV}/jpodder ${D}/usr/bin/ || die "install failed!" chmod 755 ${D}/usr/bin/jpodder || die "install failed!" } pkg_postinst() { einfo "jPodder installs itself in each user's home directory. So when the script /usr/bin/jpodder is executed for the first time it will launch the installer if needed." einfo "Users must install jPodder in the default installation directory." }