修订版 | 1f831412e34fc1ff2aff12e8731a3352bb59c950 (tree) |
---|---|
时间 | 2012-03-06 22:13:17 |
作者 | matsuand <matsuand@user...> |
Commiter | matsuand |
[BLFS] Added gtk-doc.
@@ -0,0 +1,43 @@ | ||
1 | +#!/bin/sh | |
2 | + | |
3 | +VER=1.18 | |
4 | +TARGET=gtk-doc-$VER | |
5 | +TARGETBALL=$TARGET.tar.xz | |
6 | +TARGETDIR=$TARGET | |
7 | + | |
8 | +. ./_blfsset.sh | |
9 | + | |
10 | +echo Check Required... | |
11 | +./_checkRequired.sh docbook-xml docbook-xsl libxslt || 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 | + |