# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Arkeia data protection software is designed to ease the life of system administrators while improving efficiency. Arkeia offers established backup solutions for departments and mid-size businesses utilizing Linux." HOMEPAGE="http://www.arkeia.com/arkeialight.html" SRC_URI="ftp://ftp.arkeia.com/pub/arkeia5.2/linux/ia32/TARGZ/glibc2.3/${P}.tar.gz" LICENSE="" SLOT="0" KEYWORDS="~x86" IUSE="" RESTRICT="nostrip" DEPEND=">=sys-libs/glibc-2.3" src_unpack() { unpack ${P}.tar.gz cd ${S} uncompress < arktar.z | tar -xvf - } src_install() { dodir /opt/arkeia/ cp -ar opt/arkeia/* ${D}/opt/arkeia/ hostname > ${D}/opt/arkeia/arkeiad/admin.cfg dodir /etc/opt/arkeia/ cp -a etc/opt/arkeia/* ${D}/etc/opt/arkeia/ dodir /etc/init.d/ cp -a ${FILESDIR}/arkeia ${D}/etc/init.d/ dodir /usr/bin/ cp -a ${FILESDIR}/arkc ${D}/usr/bin/ cp -a ${FILESDIR}/xarkeia ${D}/usr/bin/ }