#!/bin/sh # --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../xorg/xorg.conf # Copyright (C) 2004 - 2005 The T2 SDE Project # # 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 as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- T2-COPYRIGHT-NOTE-END --- # include the configuration script for X.Org ... . package/*/xorg/xorg-conf.in createdocs=0 unichrome () { local xdrivers="programs/Xserver/hw/xfree86/drivers" rm -rf $xdrivers/via tar -v $taropt `match_source_file -p unichrome` -C $xdrivers mv $xdrivers/unichrome-X-r30 $xdrivers/via } var_append makeopt " " "World" var_append makeinstopt " " "install.man" hook_add prepatch 3 unichrome hook_add prepatch 3 "x_dirtree ; x_fixes" hook_add preconf 3 "x_extract_gl ; x_extract_hallib" hook_add preconf 5 "x_config" hook_add inmake 5 'cd nls ; eval $MAKE ${makeopt/ World/} ; cd ..' hook_add postmake 5 'cd nls ; eval $MAKE ${makeopt/ World/} install ; cd ..' hook_add postmake 6 "x_postmake"