python bindings for rb_libtorrent

git-svn-id: http://svn.sabayonlinux.org/overlay@2176 d7aec97c-591d-0410-af39-a8856400b30a
This commit is contained in:
shwouchk
2008-04-17 22:30:31 +00:00
parent 0b6307a612
commit c025c2113f
3 changed files with 81 additions and 0 deletions
@@ -0,0 +1,26 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit distutils
MY_P="${P/rb_/}" MY_P="${MY_P/-python/}"
S="${WORKDIR}/${MY_P}/bindings/python"
DESCRIPTION="Python bindings for the rb_libtorrent library"
HOMEPAGE="http://www.rasterbar.com/products/libtorrent/"
SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
IUSE="debug"
DEPEND="net-libs/rb_libtorrent
dev-libs/boost
!net-libs/libtorrent"
RDEPEND="${DEPEND}"
src_compile() {
cd "${S}"
cp "${FILESDIR}"/rb_libtorrent-python_setup.py ./setup.py
}