blob: 18ca0865f65dfbbeadc185460d7e43ce7130e140 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyAmanith/PyAmanith-0.3.34.ebuild,v 1.2 2006/10/13 17:03:03 pythonhead Exp $
inherit eutils distutils
DESCRIPTION="Python wrapper for the Amanith 2D vector graphics library"
HOMEPAGE="http://louhi.kempele.fi/~skyostil/projects/pyamanith/"
SRC_URI="http://louhi.kempele.fi/~skyostil/projects/pyamanith/dist/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=dev-lang/python-2.3
>=media-libs/amanith-0.3
>=dev-lang/swig-1.3.29"
src_unpack() {
unpack ${A}
cd "${S}"
# perhaps someone with more swig/distutils clout can make this
# package stop sucking so hard
sed -i \
-e '/include/s:build/amanith/include/::' \
headers.i
epatch "${FILESDIR}"/${P}-build.patch
}
|