Revisión | d0e72b9b81a496db4aaed4ac5f4ce1783eee6e56 (tree) |
---|---|
Tiempo | 2012-03-16 20:47:56 |
Autor | matsuand <matsuand@user...> |
Commiter | matsuand |
[BLFS] Added directfb.
@@ -0,0 +1,48 @@ | ||
1 | +#!/bin/sh | |
2 | + | |
3 | +VER=1.5.3 | |
4 | +TARGET=DirectFB-$VER | |
5 | +TARGETBALL=$TARGET.tar.gz | |
6 | +TARGETDIR=$TARGET | |
7 | + | |
8 | +. ./_blfsset.sh | |
9 | +. ./Xorg/_xorgset.sh | |
10 | + | |
11 | +echo Check Required... | |
12 | +./_checkRequired.sh libjpeg LibVNCServer tslib sysfsutils || exit 1 | |
13 | +if test "$1" == "check"; then | |
14 | + exit 0 | |
15 | +fi | |
16 | + | |
17 | +cd $SRC | |
18 | + | |
19 | +echo $TARGET | |
20 | + | |
21 | +echo \ \ Removing old directory... | |
22 | +rm -fr $TARGETDIR | |
23 | + | |
24 | +. $WRK/_extract.sh | |
25 | + | |
26 | +cd $TARGETDIR | |
27 | + | |
28 | +echo \ \ Configuring... | |
29 | +#LDFLAGS='-L/usr/X11/lib' ./configure --prefix=/usr \ | |
30 | +# --enable-zlib \ | |
31 | +sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *) | |
32 | +./configure --prefix=/usr --disable-mmx --disable-sse \ | |
33 | + --enable-zlib \ | |
34 | + 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 | |
35 | + | |
36 | +echo \ \ Making... | |
37 | +make \ | |
38 | + 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 | |
39 | + | |
40 | +echo \ \ Installing... | |
41 | +paco -p $TARGET 'make install' \ | |
42 | + 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 | |
43 | + | |
44 | +echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none | |
45 | + | |
46 | +echo \ \ Removing directory... | |
47 | +cd .. && rm -fr $TARGETDIR | |
48 | + |