]> hackdaworld.org Git - hdw-linux/hdw-linux.git/blob - packages/x11/xfree86/xfree86
thunderbird and xorg updated (failing!), fai fstab - swap fix
[hdw-linux/hdw-linux.git] / packages / x11 / xfree86 / xfree86
1 # hdw-linux xfree86 extensions
2
3 # author: hackbard@hackdaworld.dyndns.org
4
5 # [V] 430
6
7 # [S] 3-3
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/
15
16 custmain="1"
17 custmain()      {
18         # extracting sources
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
23         done
24
25         # change to build directory
26         cd xc
27         
28         # patching
29         for i in `ls -A $confdir/*.patch`; do
30                 echo "applying patch .."
31                 patch -Nfp1 < $i
32         done
33         
34         # build $ install
35         make World && make install && make install.man &&
36         
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
40
41         # add xdm + default config file (yes "" | xf86config ??)
42         
43         # symlink
44         ln -svf X11R6 $root/usr/X11
45                 }
46