# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit versionator MY_PV=$(replace_version_separator 2 '-' ) DESCRIPTION="FirstClass Client for Linux" HOMEPAGE="http://www.firstclass.com/index.shtml" SRC_URI="http://www3.firstclass.com/ClientDownloads/FC81ClientDownloadFiles/fcc-${MY_PV}-Linux.i686.tar.bz2" LICENSE="" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND="" # Dependencies from http://www.firstclass.com/products/SysReq RDEPEND=">=x11-libs/qt-3.3.3 x11-libs/libX11 sys-libs/glibc" src_unpack() { cd ${WORKDIR} unpack fcc-${MY_PV}-Linux.i686.tar.bz2 } src_install() { dodir "/opt/firstclass" cp -ar ${WORKDIR}/opt/firstclass/* ${D}/opt/firstclass/ dodir "/usr/share/applications" cp -ar ${WORKDIR}/usr/share/applications/fcc.desktop ${D}/usr/share/applications echo "PATH=\"/opt/firstclass\"" > ${WORKDIR}/99fcc doenvd ${WORKDIR}/99fcc }