リビジョン | 2281ab65f6fd534bb7d6f9bb153e85872b55cbca (tree) |
---|---|
日時 | 2012-03-04 18:40:33 |
作者 | matsuand <matsuand@user...> |
コミッター | matsuand |
[BLFS] Added json-glib.
@@ -0,0 +1,47 @@ | ||
1 | +#!/bin/sh | |
2 | + | |
3 | +VER=0.14.2 | |
4 | +TARGET=json-glib-$VER | |
5 | +TARGETBALL=$TARGET.tar.xz | |
6 | +TARGETDIR=$TARGET | |
7 | + | |
8 | +. ./_blfsset.sh | |
9 | + | |
10 | +echo Check Required... | |
11 | +./_checkRequired.sh glib-2 || exit 1 | |
12 | + | |
13 | +echo Check Options... | |
14 | +. ./_checkOptions.sh gobject-introspection gtk-doc | |
15 | + | |
16 | +if test "$1" == "check"; then | |
17 | + exit 0 | |
18 | +fi | |
19 | + | |
20 | +cd $SRC | |
21 | + | |
22 | +echo $TARGET | |
23 | + | |
24 | +echo \ \ Removing old directory... | |
25 | +rm -fr $TARGETDIR | |
26 | + | |
27 | +. $WRK/_extract.sh | |
28 | + | |
29 | +cd $TARGETDIR | |
30 | + | |
31 | +echo \ \ Configuring... | |
32 | +./configure --prefix=/usr \ | |
33 | + 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 | |
34 | + | |
35 | +echo \ \ Making... | |
36 | +make \ | |
37 | + 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 | |
38 | + | |
39 | +echo \ \ Installing... | |
40 | +paco -p $TARGET "make install" \ | |
41 | + 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 | |
42 | + | |
43 | +echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none | |
44 | + | |
45 | +echo \ \ Removing directory... | |
46 | +cd .. && rm -fr $TARGETDIR | |
47 | + |