Files
Arch-R/packages/python/devel/pygobject/build
Stephan Raue b1b4df561d pygobject: add metafile support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-11-15 15:06:02 +01:00

22 lines
425 B
Bash
Executable File

#!/bin/sh
. config/options $1
PYTHON_LIBDIR="`ls -d $SYSROOT_PREFIX/usr/lib/python*`"
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static \
--enable-shared \
--enable-thread \
--disable-introspection \
make
$MAKEINSTALL
python -Wi -t $PYTHON_LIBDIR/compileall.py .