# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ INSTALLPATH="/usr/share/abc" DESCRIPTION="ABC - Yet Another Bittorrent Client" HOMEPAGE="http://pingpong-abc.sourceforge.net/" SRC_URI="http://peterhost.dl.sourceforge.net/sourceforge/pingpong-abc/ABC-Linux-V.2.4.3-alpha.tar.gz" SLOT="0" LICENCE="?" KEYWORDS="x86" IUSE="" DEPEND=" dev-lang/python dev-python/wxpython" src_unpack() { unpack ${A} } src_compile() { cd ${WORKDIR} echo "#!/bin/bash" > abc echo "cd ${INSTALLPATH}" >> abc echo "python abc.py" >> abc } src_install() { cd ${WORKDIR}/ABC-Linux-V.${PV} dodir ${INSTALLPATH} insinto ${INSTALLPATH} doins * dodir ${INSTALLPATH}/BitTorrent insinto ${INSTALLPATH}/BitTorrent doins BitTorrent/* dodir ${INSTALLPATH}/torrent into /usr dobin ${WORKDIR}/abc } pkg_postinst() { chmod -R 777 ${INSTALLPATH} }