Revision | 9597ca0dd296c75c96fbe9b96907441dcffb1ba7 (tree) |
---|---|
Time | 2012-03-10 19:35:20 |
Author | matsuand <matsuand@user...> |
Commiter | matsuand |
[BLFS] Added libvncserver.sh.
@@ -0,0 +1,43 @@ | ||
1 | +#!/bin/sh | |
2 | + | |
3 | +VER=0.9.8.2 | |
4 | +TARGET=LibVNCServer-$VER | |
5 | +TARGETBALL=$TARGET.tar.gz | |
6 | +TARGETDIR=$TARGET | |
7 | + | |
8 | +. ./_blfsset.sh | |
9 | + | |
10 | +echo Check Required... | |
11 | +./_checkRequired.sh || exit 1 | |
12 | +if test "$1" == "check"; then | |
13 | + exit 0 | |
14 | +fi | |
15 | + | |
16 | +cd $SRC | |
17 | + | |
18 | +echo $TARGET | |
19 | + | |
20 | +echo \ \ Removing old directory... | |
21 | +rm -fr $TARGETDIR | |
22 | + | |
23 | +. $WRK/_extract.sh | |
24 | + | |
25 | +cd $TARGETDIR | |
26 | + | |
27 | +echo \ \ Configuring... | |
28 | +./configure --prefix=/usr \ | |
29 | + 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 | |
30 | + | |
31 | +echo \ \ Making... | |
32 | +make \ | |
33 | + 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 | |
34 | + | |
35 | +echo \ \ Installing... | |
36 | +paco -p $TARGET 'make install' \ | |
37 | + 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 | |
38 | + | |
39 | +echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none | |
40 | + | |
41 | +echo \ \ Removing directory... | |
42 | +cd .. && rm -fr $TARGETDIR | |
43 | + |