リビジョン | 79fe10950b84ef071278469e9388c4d4f724b5d9 (tree) |
---|---|
日時 | 2012-03-04 17:27:13 |
作者 | matsuand <matsuand@user...> |
コミッター | matsuand |
[BLFS] Added cairo.
@@ -0,0 +1,54 @@ | ||
1 | +#!/bin/sh | |
2 | + | |
3 | +VER=1.10.2 | |
4 | +TARGET=cairo-$VER | |
5 | +TARGETBALL=$TARGET.tar.gz | |
6 | +TARGETDIR=$TARGET | |
7 | + | |
8 | +. ./_blfsset.sh | |
9 | + | |
10 | +echo Check Required... | |
11 | +./_checkRequired.sh libpng pixman fontconfig || exit 1 | |
12 | +if test "$1" == "check"; then | |
13 | + exit 0 | |
14 | +fi | |
15 | + | |
16 | +echo Check Options... | |
17 | +. ./_checkOptions.sh xcb-util valgrind | |
18 | + | |
19 | +if [ ${OPTION_xcbutil} -eq "1" ]; then | |
20 | + export ENABLEXCB="--enable-xcb=yes " | |
21 | +else | |
22 | + export ENABLEXCB="" | |
23 | +fi | |
24 | + | |
25 | +cd $SRC | |
26 | + | |
27 | +echo $TARGET | |
28 | + | |
29 | +echo \ \ Removing old directory... | |
30 | +rm -fr $TARGETDIR | |
31 | + | |
32 | +. $WRK/_extract.sh | |
33 | + | |
34 | +cd $TARGETDIR | |
35 | + | |
36 | +echo \ \ Configuring... | |
37 | +./configure --prefix=/usr \ | |
38 | + --enable-tee \ | |
39 | + $ENABLEXCB \ | |
40 | + 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 | |
41 | + | |
42 | +echo \ \ Making... | |
43 | +make \ | |
44 | + 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 | |
45 | + | |
46 | +echo \ \ Installing... | |
47 | +paco -p $TARGET 'make install' \ | |
48 | + 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 | |
49 | + | |
50 | +echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none | |
51 | + | |
52 | +echo \ \ Removing directory... | |
53 | +cd .. && rm -fr $TARGETDIR | |
54 | + |