1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/skencil/skencil.conf
3 # Copyright (C) 2004 - 2022 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
13 pyver=`python -c "import sys; print sys.version[:3]"`
14 pyinstalldir=`python -c "import sys; print sys.prefix"`
16 var_append pyconfopt ' ' "--prefix=$root/$prefix"
17 var_append pyconfopt ' ' "--imaging-include=${pyinstalldir}/include/python${pyver}/"
19 eval python setup.py configure $pyconfopt
20 eval python setup.py build $pyconfopt
21 eval python setup.py install $pyconfopt
25 hook_add postmake 5 "skencil_main"