# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="CSpace provides a platform for secure, decentralized, user-to-user communication." HOMEPAGE="http://www.cspace.in" #SRC_URI="http://cspace.in/~dan/download.php?version=cspace-0.1.tar.bz2" SRC_URI="http://www.aabdalla.com/cspace-0.1.tar.bz2" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="dev-lang/python dev-python/ctypes dev-python/PyQt dev-python/pycurl app-crypt/ncrypt" RDEPEND="" RESTRIC="mirror" src_unpack() { # This unpacks the downloaded source. unpack ${A}; } src_install() { mkdir ${D}opt ${D}/usr ${D}/usr/bin # Move the package files from work to install dirs mv ${WORKDIR}/CSpaceLinux ${D}opt/cspace # Make the run script go to /usr/bin/cspace mv ${D}opt/cspace/CSpace.sh ${D}usr/bin/cspace cd ${D}usr/bin/ sed 's;`pwd`;/opt/cspace;g' cspace > cspace2 sed 's;CSpace.pyw;/opt/cspace/CSpace.pyw;g' cspace2 > cspace rm cspace2 } pkg_config() { echo $PWD }