nixpkgs/pkgs/development/libraries/wxGTK/builder.sh
Eelco Dolstra 057ad6798c * Export a variation point `compat22' to specify compatibility with
wxWindows 2.2.

svn path=/nixpkgs/trunk/; revision=794
2004-02-17 19:18:46 +00:00

15 lines
280 B
Bash
Executable file

#! /bin/sh -e
buildinputs="$pkgconfig $gtk $libtiff $libjpeg $libpng $zlib"
. $stdenv/setup
extraflags=
if test -z "$compat22"; then
extraflags="--disable-compat22 $extraflags"
fi
tar xvfj $src
cd wxGTK-*
./configure --prefix=$out --enable-gtk2 $extraflags
make
make install