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