Revisão | 92989651f65d8e8bdcb198e7b61811bc9baafb6e (tree) |
---|---|
Hora | 2012-04-30 21:22:46 |
Autor | matsuand <matsuand@user...> |
Commiter | matsuand |
[BLFS] Added hicolor-icon-theme.
@@ -0,0 +1,40 @@ | ||
1 | +#!/bin/sh | |
2 | + | |
3 | +VER=0.12 | |
4 | +TARGET=hicolor-icon-theme-$VER | |
5 | +TARGETBALL=$TARGET.tar.gz | |
6 | +TARGETDIR=$TARGET | |
7 | + | |
8 | +. ../_blfsset.sh | |
9 | + | |
10 | +echo Check Required... | |
11 | +../_checkRequired.sh || 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 | +echo \ \ Extracting... | |
24 | +tar xf $DLD/$TARGETBALL || (echo Tarball not found && exit 1) | |
25 | + | |
26 | +cd $TARGETDIR | |
27 | + | |
28 | +echo \ \ Configuring... | |
29 | +./configure --prefix=/usr \ | |
30 | + 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 | |
31 | + | |
32 | +echo \ \ Installing... | |
33 | +paco -p $TARGET 'make install' \ | |
34 | + 1> $LOG/$TARGET.2_install.log 2>&1 || exit 1 | |
35 | + | |
36 | +echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none | |
37 | + | |
38 | +echo \ \ Removing directory... | |
39 | +cd .. && rm -fr $TARGETDIR | |
40 | + |