]> hackdaworld.org Git - hdw-linux/hdw-linux.git/blob - hackbard/xdirectfb/xdirectfb
added devmapper, cryptsetup and libpopt
[hdw-linux/hdw-linux.git] / hackbard / xdirectfb / xdirectfb
1 # hdw - linux xdirectfb package
2 #
3 # author: hackbard@hackdaworld.dyndns.org
4 #
5 # [V] cvs
6 # [S] 3-5
7 # [D] XDirectFB.tar.bz2 cvs:anonymous:directfb.org:cvs/directfb:XDirectFB
8 # [D] xc.tar.bz2 sshcvs:anoncvs:anoncvs.xfree86.org:cvs:xc
9
10 srcdir="XDirectFB-$ver"
11 [ "$ver" = "cvs" ] && srcdir="XDirectFB"
12
13 build_main()    {
14         echo "extracting xfree86 xc source ..."
15         tar --use-compress-program=bzip2 -xf $archdir/xc.tar.bz2 -C ../
16
17         echo "applying xdirectfb patch ..."
18         cd ../xc &&
19         patch -Nfp0 < ../${srcdir}/xc-directfb.diff &&
20         patch -Nfp1 < ../${srcdir}/xc-transparency-extension.diff
21
22         echo "copying over files ..."
23         cp -a ../${srcdir}/programs/Xserver/hw/directfb \
24                 programs/Xserver/hw/ &&
25         cp -a ../${srcdir}/config/cf/* config/cf/ &&
26
27         echo "not patching host.def - we build this in $prefix/local ..."
28         make World && make install
29                 }