pygobject: add metafile support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-15 15:06:02 +01:00
parent 7a98ae0307
commit b1b4df561d
4 changed files with 15 additions and 11 deletions

View File

@ -2,11 +2,6 @@
. config/options $1
$SCRIPTS/build toolchain
$SCRIPTS/build Python
$SCRIPTS/build glib
$SCRIPTS/build libffi
PYTHON_LIBDIR="`ls -d $SYSROOT_PREFIX/usr/lib/python*`"
cd $PKG_BUILD

View File

@ -2,14 +2,10 @@
. config/options $1
$SCRIPTS/install Python
$SCRIPTS/install glib
$SCRIPTS/install libffi
PYTHON_LIB_DIR=`ls -d $INSTALL/usr/lib/python*`
mkdir -p $INSTALL/usr/lib
cp -PR $PKG_BUILD/glib/.libs/libpyglib*.so* $INSTALL/usr/lib
cp -P $PKG_BUILD/glib/.libs/libpyglib*.so* $INSTALL/usr/lib
mkdir -p $PYTHON_LIB_DIR/site-packages
cp $PKG_BUILD/pygtk.py $PYTHON_LIB_DIR/site-packages

View File

@ -0,0 +1,14 @@
PKG_NAME="pygobject"
PKG_VERSION="2.26.0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://www.pygtk.org/"
PKG_URL="http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.26/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="Python glib libffi"
PKG_BUILD_DEPENDS="toolchain Python glib libffi"
PKG_PRIORITY="optional"
PKG_SECTION="python/devel"
PKG_SHORTDESC="pygobject: The Python bindings for GObject"
PKG_LONGDESC="PyGObject provides a convenient wrapper for the GObject+ library for use in Python programs, and takes care of many of the boring details such as managing memory and type casting. When combined with PyGTK, PyORBit and gnome-python, it can be used to write full featured Gnome applications."
PKG_IS_ADDON="no"

View File

@ -1 +0,0 @@
http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.26/pygobject-2.26.0.tar.bz2