mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
522797e468
svn path=/nixpkgs/trunk/; revision=118
16 lines
627 B
Bash
Executable file
16 lines
627 B
Bash
Executable file
#! /bin/sh
|
|
|
|
export PATH=$pkgconfig/bin:/bin:/usr/bin
|
|
export PKG_CONFIG_PATH=$glib/lib/pkgconfig:$atk/lib/pkgconfig:$pango/lib/pkgconfig:$gtk/lib/pkgconfig
|
|
export LD_LIBRARY_PATH=$glib/lib:$atk/lib:$pango/lib:$gtk/lib:$pspell/lib:$fontconfig/lib:$Xft/lib:$freetype/lib
|
|
|
|
top=`pwd`
|
|
tar xvfz $src || exit 1
|
|
cd wxPythonSrc-* || exit 1
|
|
./configure --prefix=$top --enable-gtk2 --enable-rpath=$top/lib --with-opengl || exit 1
|
|
make || exit 1
|
|
make install || exit 1
|
|
cd wxPython || exit 1
|
|
python setup.py WX_CONFIG=$top/bin/wx-config WXPORT=gtk2 build install --root=$top/python || exit 1
|
|
cd $top || exit 1
|
|
rm -rf wxPythonSrc-* || exit 1
|