* Fix packages.

svn path=/nixpkgs/trunk/; revision=118
gstqt5
Eelco Dolstra 2003-07-07 06:43:43 +00:00
parent 114e76b2a4
commit 522797e468
6 changed files with 50 additions and 7 deletions

16
build/wxPython-build.sh Executable file
View File

@ -0,0 +1,16 @@
#! /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

View File

@ -0,0 +1,17 @@
Descr(
[ Bind("pkgId", "wxPython-2.4.0.7")
, Bind("releaseId", "1")
, Bind("pkgconfig", Fix("./pkgconfig-0.15.0.fix"))
, Bind("glib", Fix("./glib-2.2.1.fix"))
, Bind("atk", Fix("./atk-1.2.0.fix"))
, Bind("freetype", Fix("./freetype-2.1.4.fix"))
, Bind("fontconfig", Fix("./fontconfig-20021121.fix"))
, Bind("Xft", Fix("./Xft-20021121.fix"))
, Bind("pango", Fix("./pango-1.2.1.fix"))
, Bind("gtk", Fix("./gtk+-2.2.1.fix"))
, Bind("src", Url("c7864b56ff1422697a310f91f54c7ed6", "http://heanet.dl.sourceforge.net/sourceforge/wxpython/wxPythonSrc-2.4.0.7.tar.gz"))
, Bind("build", Local("../build/wxPython-build.sh"))
]
)

View File

@ -1,9 +1,9 @@
Package(
[ ("src", App(IncludeFix("fetchurl/expr.fix"),
[ ("id", "aterm-2.0")
, ("build", Relative("aterm/aterm-build.sh"))
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
[ ("url", "http://www.cwi.nl/projects/MetaEnv/aterm/aterm-2.0.tar.gz")
, ("hash", "653b1bb8140ee0206b00aab126ef412e")
])
, ("build", Relative("aterm-build.sh"))
, ("id", "aterm-2.0")
]))
]
)

View File

@ -3,6 +3,7 @@ Function(["url", "hash"],
[ ("build", Relative("fetchurl/fetchurl.sh"))
, ("url", Var("url"))
, ("hash", Var("hash"))
, ("id", "fetched-from-url")
]
)
)

View File

@ -2,11 +2,12 @@
export PATH=/bin:/usr/bin
top=`pwd`
mkdir $out || exit 1
cd $out || exit 1
tar xvfz $src || exit 1
cd pkgconfig-* || exit 1
./configure --prefix=$top || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
cd .. || exit 1
cd $out || exit 1
rm -rf pkgconfig-* || exit 1

8
pkgs/system/system.fix Normal file
View File

@ -0,0 +1,8 @@
Package(
[ ("id", "system")
, ("build", Relative("system/populate-linkdirs.pl"))
, ("actATerm", IncludeFix("aterm/aterm.fix"))
, ("actPkgConfig", IncludeFix("pkgconfig/pkgconfig.fix"))
]
)