diff options
Diffstat (limited to 'packages/python/python-ogg_1.3.bb')
-rw-r--r-- | packages/python/python-ogg_1.3.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/python/python-ogg_1.3.bb b/packages/python/python-ogg_1.3.bb index e69de29bb2..007408df6b 100644 --- a/packages/python/python-ogg_1.3.bb +++ b/packages/python/python-ogg_1.3.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "Python Ogg Vorbis Bindings" +SECTION = "devel/python" +PRIORITY = "optional" +MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" +LICENSE = "LGPL" +DEPENDS = "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 +} |