Revision | 4e25ee3f6b616c4b0573f96724b585a9945ef995 (tree) |
---|---|
Zeit | 2012-03-18 11:09:08 |
Autor | matsuand <matsuand@user...> |
Commiter | matsuand |
[BLFS] Added pcsc-wrapper, but incomplete.
@@ -0,0 +1,46 @@ | ||
1 | +#!/bin/sh | |
2 | + | |
3 | +VER=2.0 | |
4 | +TARGET=pcsc-wrapper-$VER | |
5 | +TARGETBALL=$TARGET.tar.gz | |
6 | +TARGETDIR=$TARGET | |
7 | + | |
8 | +echo Incomplete! && exit 1 | |
9 | + | |
10 | +. ./_blfsset.sh | |
11 | + | |
12 | +echo Check Required... | |
13 | +./_checkRequired.sh || exit 1 | |
14 | +if test "$1" == "check"; then | |
15 | + exit 0 | |
16 | +fi | |
17 | + | |
18 | +cd $SRC | |
19 | + | |
20 | +echo $TARGET | |
21 | + | |
22 | +echo \ \ Removing old directory... | |
23 | +rm -fr $TARGETDIR | |
24 | + | |
25 | +mkdir -pv $TARGETDIR | |
26 | +cd $TARGETDIR | |
27 | + | |
28 | +. $WRK/_extract.sh | |
29 | + | |
30 | +echo \ \ Configuring... | |
31 | +./configure --prefix=/usr \ | |
32 | + 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 | |
33 | + | |
34 | +echo \ \ Making... | |
35 | +make \ | |
36 | + 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 | |
37 | + | |
38 | +echo \ \ Installing... | |
39 | +paco -p $TARGET 'make install' \ | |
40 | + 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 | |
41 | + | |
42 | +echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none | |
43 | + | |
44 | +echo \ \ Removing directory... | |
45 | +cd .. && rm -fr $TARGETDIR | |
46 | + |