リビジョン | ca6748217f4740cb598145ddb46f7e006059ce24 (tree) |
---|---|
日時 | 2012-03-04 18:40:16 |
作者 | matsuand <matsuand@user...> |
コミッター | matsuand |
[BLFS] Addd pygobject-3.
@@ -0,0 +1,47 @@ | ||
1 | +#!/bin/sh | |
2 | + | |
3 | +VER=3.0.3 | |
4 | +TARGET=pygobject-$VER | |
5 | +TARGETBALL=$TARGET.tar.xz | |
6 | +TARGETDIR=$TARGET | |
7 | + | |
8 | +. ./_blfsset.sh | |
9 | +. ./Xorg/_xorgset.sh | |
10 | + | |
11 | +echo Check Required... | |
12 | +./_checkRequired.sh python glib-2 \ | |
13 | + gobject-introspection pycairo || exit 1 | |
14 | +if test "$1" == "check"; then | |
15 | + exit 0 | |
16 | +fi | |
17 | + | |
18 | +cd $SRC | |
19 | + | |
20 | +echo $TARGET | |
21 | + | |
22 | +echo \ \ Removing old directory... | |
23 | +rm -fr $TARGETDIR | |
24 | + | |
25 | +. $WRK/_extract.sh | |
26 | + | |
27 | +cd $TARGETDIR | |
28 | + | |
29 | +echo \ \ Configuring... | |
30 | +CFLAGS+="-I/usr/include/cairo " \ | |
31 | +PYCAIRO_CFLAGS+="-I/usr/include/pycairo " \ | |
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.3_install.log 2>&1 || echo Error occured! | |
42 | + | |
43 | +echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none | |
44 | + | |
45 | +echo \ \ Removing directory... | |
46 | +cd .. && rm -fr $TARGETDIR | |
47 | + |