* Converted some more old descriptors.
svn path=/nixpkgs/trunk/; revision=209
This commit is contained in:
17
pkgs/wxPython/wxPython-build.sh
Executable file
17
pkgs/wxPython/wxPython-build.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
export PATH=$pkgconfig/bin:$PATH
|
||||
envpkgs="$gtk"
|
||||
. $setenv || exit 1
|
||||
|
||||
tar xvfz $src || exit 1
|
||||
cd wxPythonSrc-* || exit 1
|
||||
./configure --prefix=$out --enable-gtk2 --enable-rpath=$out/lib --with-opengl || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
||||
cd wxPython || exit 1
|
||||
python setup.py WX_CONFIG=$out/bin/wx-config WXPORT=gtk2 build install --root=$out/python || exit 1
|
||||
|
||||
echo $envpkgs > $out/envpkgs || exit 1
|
||||
16
pkgs/wxPython/wxPython.fix
Normal file
16
pkgs/wxPython/wxPython.fix
Normal file
@@ -0,0 +1,16 @@
|
||||
Package(
|
||||
[ ("name", "wxPython-2.4.1.2")
|
||||
|
||||
, ("build", Relative("wxPython/wxPython-build.sh"))
|
||||
, ("setenv", Relative("helpers/set-env.sh"))
|
||||
|
||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "http://belnet.dl.sourceforge.net/sourceforge/wxpython/wxPythonSrc-2.4.1.2.tar.gz")
|
||||
, ("md5", "515fa95c5c0497404a858213b6586411")
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||
, ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix"))
|
||||
, ("gtk", IncludeFix("gtk+/gtk+.fix"))
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user