summaryrefslogtreecommitdiff
path: root/packages/python/python-pygtk-0_0.6.12.bb
blob: 4975d9dc2f354a56a144596294622d23d95735fd (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
30
LICENSE = LGPL
DESCRIPTION = "Python GTK+ 1.2 Bindings"
SECTION = "devel/python"
PRIORITY = "optional"
MAINTAINER = "Rob Taylor <robtaylor@fastmail.fm>"
DEPENDS = "gtk+-1.2 python"
RDEPENDS = "python-core python-shell python-re"
SRCNAME = "pygtk"
PR = "r4"

FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/python-pygtk-${PV}"


SRC_URI = "ftp://ftp.gtk.org/pub/gtk/python/v1.2/${SRCNAME}-${PV}.tar.gz \
           file://remove-imlib-et-al;patch=1"
S = "${WORKDIR}/${SRCNAME}-${PV}"

inherit autotools pkgconfig distutils-base

FILES_${PN} = "${libdir}/${PYTHON_DIR}/"

do_configure_prepend() {
	echo ${LDFLAGS} > /tmp/ldflags
	rm aclocal.m4
}

do_stage() {
	autotools_stage_includes
}