1 # hdw-linux xfree86 extensions
3 # author: hackbard@hackdaworld.dyndns.org
8 # [D] XFree86-4.4.0-src-1.tgz ftp://ftp.xfree86.org/pub/XFree86/4.4.0/source/
9 # [D] XFree86-4.4.0-src-2.tgz ftp://ftp.xfree86.org/pub/XFree86/4.4.0/source/
10 # [D] XFree86-4.4.0-src-3.tgz ftp://ftp.xfree86.org/pub/XFree86/4.4.0/source/
11 # [D] XFree86-4.4.0-src-4.tgz ftp://ftp.xfree86.org/pub/XFree86/4.4.0/source/
12 # [D] XFree86-4.4.0-src-5.tgz ftp://ftp.xfree86.org/pub/XFree86/4.4.0/source/
13 # [D] XFree86-4.4.0-src-6.tgz ftp://ftp.xfree86.org/pub/XFree86/4.4.0/source/
14 # [D] XFree86-4.4.0-src-7.tgz ftp://ftp.xfree86.org/pub/XFree86/4.4.0/source/
19 for i in 1 2 3 4 5 6 7; do
20 echo "extracting Xfree $ver package $i ..."
21 tar --use-compress-program=gzip \
22 -xf $hdw_home_dir/download/x11/xfree86/XFree86-${ver}-src-${i}.tgz
25 # change to build directory
29 for i in `ls -A $confdir/*.patch`; do
30 echo "applying patch .."
35 make World && make install && make install.man &&
37 # add entry to /etc/ld.so.conf
38 [ -z `grep 'X11' $root/etc/ld.so.conf` ] && \
39 echo "/usr/X11R6/lib" >> $root/etc/ld.so.conf
41 # add xdm + default config file (yes "" | xf86config ??)
44 ln -svf X11R6 $root/usr/X11