Revisión | ff138da5245922401cdf3c43618b0a4de31c34f2 (tree) |
---|---|
Tiempo | 2012-05-13 16:49:42 |
Autor | matsuand <matsuand@user...> |
Commiter | matsuand |
[BLFS] Added procmail.
@@ -0,0 +1,42 @@ | ||
1 | +#!/bin/sh | |
2 | + | |
3 | +. ./_blfsset.sh | |
4 | + | |
5 | +VER=3.22 | |
6 | +TARGET=procmail-$VER | |
7 | +TARGETBALL=$TARGET.tar.gz | |
8 | +TARGETDIR=$TARGET | |
9 | + | |
10 | +echo Check Required... | |
11 | +./_checkRequired.sh || exit 1 | |
12 | + | |
13 | +if test "$1" == "check"; then | |
14 | + exit 0 | |
15 | +fi | |
16 | + | |
17 | +cd $SRC | |
18 | + | |
19 | +echo $TARGET | |
20 | + | |
21 | +echo \ \ Removing old directory... | |
22 | +rm -fr $TARGETDIR | |
23 | + | |
24 | +. $WRK/_extract.sh | |
25 | + | |
26 | +cd $TARGETDIR | |
27 | + | |
28 | +sed -i 's/getline/get_line/' src/*.[ch] | |
29 | + | |
30 | +echo \ \ Making... | |
31 | +make LOCKINGTEST=/tmp install \ | |
32 | + 1> $LOG/$TARGET.1_make.log 2>&1 || exit 1 | |
33 | + | |
34 | +echo \ \ Installing... | |
35 | +paco -p $TARGET "make install-suid" \ | |
36 | + 1> $LOG/$TARGET.2_install.log 2>&1 || exit 1 | |
37 | + | |
38 | +echo -n \ \ Pacoing:\ && paco $TARGET || echo none | |
39 | + | |
40 | +echo \ \ Removing directory... | |
41 | +cd .. && rm -fr $TARGETDIR | |
42 | + |