1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils versionator
7 MY_PVL
=$
(replace_version_separator
2 'u')
8 MY_PVU
=$
(replace_version_separator
2 'U')
9 FRD_ZIP_FILE
="FreeRapid-${MY_PVL}-b566.zip"
10 FRD_INSTALL_DIR
="/opt/FreeRapid"
12 DESCRIPTION
="Downloader with support for downloading from Rapidshare and other share file archives."
13 SRC_URI
="${FRD_ZIP_FILE}"
14 HOMEPAGE
="http://wordrider.net/freerapid"
15 RESTRICT
="mirror fetch"
17 KEYWORDS
="~amd64 ~x86"
22 DEPEND
="app-arch/unzip"
23 RDEPEND
=">=virtual/jre-1.6.0"
25 S
="${WORKDIR}/FreeRapid-0.85u1-build566"
28 unpack
$FRD_ZIP_FILE || die
33 rm -rf tools
/gocr tools
/nircmd
35 sed -i -e "s!frd.jar!${FRD_INSTALL_DIR}/frd.jar!" frd.sh
40 insinto
${FRD_INSTALL_DIR}
41 doins
-r doc lib lookandfeel plugins tools search frd.jar frd.sh frd.png
*.properties License copyright
43 chmod +x
${D}/${FRD_INSTALL_DIR}/frd.sh
45 dosym
"${FRD_INSTALL_DIR}/frd.sh" /opt
/bin
/frd
47 #dodoc License copyright doc/*.txt