summaryrefslogtreecommitdiff
path: root/python/python-ogg_1.3.oe
blob: 769e4a2f3334e4ec08d8a1c37c856b82dd0e1097 (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
DESCRIPTION=Python Ogg Vorbis Bindings
SECTION=base
PRIORITY=optional
MAINTAINER="Michael Lauer <mickey@Vanille.de>"
RDEPENDS=libc6 python-core libogg
DEPENDS=virtual/libc libogg
SRCNAME=pyogg

SRC_URI = http://www.andrewchatham.com/pyogg/download/${SRCNAME}-${PV}.tar.gz
S = ${WORKDIR}/${SRCNAME}-${PV}

inherit distutils

do_configure_prepend() {
	touch Setup
	echo "ogg_libs = ogg" >>Setup
	echo "ogg_lib_dir = ${STAGING_LIBDIR}" >>Setup
	echo "ogg_include_dir = ${STAGING_INCDIR}" >>Setup
}

do_stage() {
	install -d ${STAGING_INCDIR}/pyogg
	install -m 0644 include/pyogg/pyogg.h ${STAGING_INCDIR}/pyogg/pyogg.h
}