1 # hdw - linux xdirectfb package
3 # author: hackbard@hackdaworld.dyndns.org
7 # [D] XDirectFB.tar.bz2 cvs:anonymous:directfb.org:cvs/directfb:XDirectFB
8 # [D] xc.tar.bz2 sshcvs:anoncvs:anoncvs.xfree86.org:cvs:xc
10 srcdir="XDirectFB-$ver"
11 [ "$ver" = "cvs" ] && srcdir="XDirectFB"
14 echo "extracting xfree86 xc source ..."
15 tar --use-compress-program=bzip2 -xf $archdir/xc.tar.bz2 -C ../
17 echo "applying xdirectfb patch ..."
19 patch -Nfp0 < ../${srcdir}/xc-directfb.diff &&
20 patch -Nfp1 < ../${srcdir}/xc-transparency-extension.diff
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/ &&
27 echo "not patching host.def - we build this in $prefix/local ..."
28 make World && make install