Revision | d56a1927a53edf52a49da36342aae85f6d0b9404 (tree) |
---|---|
Time | 2012-03-04 18:41:24 |
Author | matsuand <matsuand@user...> |
Commiter | matsuand |
[BLFS] clutter.
@@ -0,0 +1,49 @@ | ||
1 | +#!/bin/sh | |
2 | + | |
3 | +VER=1.8.2 | |
4 | +TARGET=clutter-$VER | |
5 | +TARGETBALL=$TARGET.tar.xz | |
6 | +TARGETDIR=$TARGET | |
7 | + | |
8 | +. ./_blfsset.sh | |
9 | + | |
10 | +echo Check Required... | |
11 | +./_checkRequired.sh atk cairo cogl gdk-pixbuf \ | |
12 | + json-glib Mesalib pango || exit 1 | |
13 | + | |
14 | +echo Check Options... | |
15 | +. ./_checkOptions.sh gtk-doc | |
16 | + | |
17 | +if test "$1" == "check"; then | |
18 | + exit 0 | |
19 | +fi | |
20 | + | |
21 | +cd $SRC | |
22 | + | |
23 | +echo $TARGET | |
24 | + | |
25 | +echo \ \ Removing old directory... | |
26 | +rm -fr $TARGETDIR | |
27 | + | |
28 | +. $WRK/_extract.sh | |
29 | + | |
30 | +cd $TARGETDIR | |
31 | + | |
32 | +echo \ \ Configuring... | |
33 | +LDFLAGS="$LDFLAGS -L/usr/X11/lib " \ | |
34 | +./configure --prefix=/usr \ | |
35 | + 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 | |
36 | + | |
37 | +echo \ \ Making... | |
38 | +make \ | |
39 | + 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 | |
40 | + | |
41 | +echo \ \ Installing... | |
42 | +paco -p $TARGET "make install" \ | |
43 | + 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 | |
44 | + | |
45 | +echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none | |
46 | + | |
47 | +echo \ \ Removing directory... | |
48 | +cd .. && rm -fr $TARGETDIR | |
49 | + |