* mark python sqlite DEP opt and update .cache
[t2sde.git] / package / attic / openmotif / openmotif.conf
blobea39975cfd65a700002e4c3fb933598973c1e233
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/openmotif/openmotif.conf
3 # Copyright (C) 2004 - 2022 The T2 SDE Project
4 # Copyright (C) 1998 - 2003 ROCK Linux Project
5
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
8
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
13 build_motif() {
14         patch -p1 < ${confdir}/Imakefile-openmotif-2.1.30.diff
16         mkdir -p imports/x11
17         ln -vs $root/usr/X11R6/bin imports/x11/bin
18         ln -vs $root/usr/X11R6/include imports/x11/include
19         ln -vs $root/usr/X11R6/lib imports/x11/lib
20         eval $MAKE World
21         eval $MAKE install
22         eval $MAKE install.man
25 # We need that for version 2.2.2. I'll let it here because we need this perhaps in the future again
26 #var_append INSTALL_WRAPPER_FILTER "|" \
27 #                'sed "s,man/man[123456789n]/.*\$,\\0openmotif,"'
29 hook_add postdoc 3 "rm -rf $docdir/man $docdir/Makefile*"
30 hook_add postinstall 3 "register_wm $pkg ${pkg}-mwm $bindir/mwm"
32 custmain="build_motif"
33 srctar="openmotif-${ver}_MLI.src.tar.bz2"