Révision | 4c8d1801db22cd519a71479b94e7838adf61e894 (tree) |
---|---|
l'heure | 2012-03-13 23:42:55 |
Auteur | matsuand <matsuand@user...> |
Commiter | matsuand |
[BLFS] Added lcms.
@@ -0,0 +1,44 @@ | ||
1 | +#!/bin/sh | |
2 | + | |
3 | +VER=1.19 | |
4 | +TARGET=lcms-$VER | |
5 | +TARGETBALL=$TARGET.tar.gz | |
6 | +TARGETDIR=$TARGET | |
7 | + | |
8 | +. ./_blfsset.sh | |
9 | + | |
10 | +cd $SRC | |
11 | + | |
12 | +echo $TARGET | |
13 | + | |
14 | +echo \ \ Removing old directory... | |
15 | +rm -fr $TARGETDIR | |
16 | + | |
17 | +. $WRK/_extract.sh | |
18 | + | |
19 | +cd $TARGETDIR | |
20 | + | |
21 | +echo \ \ Configuring... | |
22 | +./configure --prefix=/usr \ | |
23 | + 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 | |
24 | + | |
25 | +echo \ \ Making... | |
26 | +make \ | |
27 | + 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 | |
28 | + | |
29 | +echo \ \ Installing... | |
30 | +paco -p $TARGET "make install" \ | |
31 | + 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 | |
32 | + | |
33 | +echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none | |
34 | + | |
35 | +paco -p+ $TARGET "\ | |
36 | +install -v -m755 -d /usr/share/doc/lcms-$VER" | |
37 | + | |
38 | +paco -p+ $TARGET "\ | |
39 | +install -v -m644 README.1ST doc/* /usr/share/doc/lcms-$VER" \ | |
40 | + 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1 | |
41 | + | |
42 | +echo \ \ Removing directory... | |
43 | +cd .. && rm -fr $TARGETDIR | |
44 | + |