]> www.hackdaworld.org Git - hdw-linux/hdw-linux.git/blob - packages/hackbard/directfb/directfb
added devmapper, cryptsetup and libpopt
[hdw-linux/hdw-linux.git] / packages / hackbard / directfb / directfb
1 # hdw - linux directfb package
2 #
3 # author: hackbard@hackdaworld.dyndns.org
4 #
5 # [V] cvs
6 # [S] 3-5
7 # [D] directfb.tar.bz2 cvs:anonymous:directfb.org:cvs/directfb:DirectFB
8
9 srcdir="DirectFB-$ver"
10 [ "$ver" = "cvs" ] && srcdir="DirectFB"
11
12 confopt="$confopt --enable-sysfs --enable-video4linux2"
13 # uncomment if you want multi app support (requires fusion kernel patch)
14 # confopt="$confopt --enable-multi"
15
16 if [ "$ver" = "cvs" ]; then
17         pre_install()   {
18                 ./autogen.sh $confopt
19                         }
20 fi
21
22 post_install()  {
23         # fb.modes
24         [ -f $root/etc/fb.modes ] && mv $root/etc/fb.modes $root/etc/fb.modes~
25         mv -v fb.modes $root/etc
26         chown root.root $root/etc/fb.modes
27                 }