# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/cgtoolkit/cgtoolkit.conf # Copyright (C) 2010 - 2022 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- autoextract=0 cgtoolkit_main() { case $arch in x86) f="`match_source_file -p x86`" ;; x86-64) f="`match_source_file -p x86_64`" ;; esac [ "$f" ] || abort "No binary for this architecture detected!" tar $taropt $f cp usr/bin/cgc $root$bindir cp usr/${libdir##*/}/* $root$libdir cp usr/include/Cg $root$includedir -fr cp usr/share/* $root$datadir -fr cp usr/local/Cg $root$datadir -fr } makeopt= makeinstopt= hook_add postmake 5 "cgtoolkit_main"