# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ SRC_URI="http://downloads.sourceforge.net/areca/areca-4.1.7-linux.zip" HOMEPAGE="http://www.sourceforge.net/projects/areca/" DESCRIPTION="Areca Backup is a file backup tool written in java. It supports data compression & encryption, incremental backup, file history explorer." KEYWORDS="~x86" IUSE="" LICENSE="GPL2" SLOT="0" RDEPEND=">=virtual/jre-1.4.2" RDEPEND=">=virtual/jdk-1.4.2 app-arch/unzip" src_compile() { einfo "Nothing to do!" } src_install() { mkdir -p ${D}/opt/ cp -a ${WORKDIR}/* ${D}/opt/ cd ${D}/opt/ find -iname "*sh" -exec chmod +x {} \; mkdir -p ${D}/usr/bin/ echo -e '#!/bin/bash \ncd /opt/areca-4.1.7 \n ./areca.sh ' > ${D}/usr/bin/areca chmod +xr-w ${D}/usr/bin/areca }