817d1b27ef
adds all directories specified in `ACLOCAL_PATH' to the `aclocal' command line as `-I' flags. Also, it provides a setup hook that adds the `.../share/aclocal' directory of every build input to `ACLOCAL_PATH'. * Upgraded Libtool. * Graphviz requires the X Athena widgets, which in turn requires the X miscellaneous utilities library; added those. However it doesn't work yet since libXt is broken. svn path=/nixpkgs/trunk/; revision=888
16 lines
382 B
Bash
16 lines
382 B
Bash
buildinputs="$python $wxPython"
|
|
. $stdenv/setup
|
|
|
|
tar xvfz $src
|
|
cd BitTorrent-*
|
|
python setup.py build install --prefix=$out
|
|
|
|
mv $out/bin $out/bin-orig
|
|
mkdir $out/bin
|
|
for i in $(cd $out/bin-orig && ls); do
|
|
cat > $out/bin/$i <<EOF
|
|
#! /bin/sh
|
|
PYTHONPATH=$out/lib/python2.3/site-packages:$wxPython/lib/python2.3/site-packages exec $out/bin-orig/$i "\$@"
|
|
EOF
|
|
chmod +x $out/bin/$i
|
|
done |