Revisão | 6ae4e0bd2cba5bf0a7a49c96995c43940db1efc2 (tree) |
---|---|
Hora | 2022-04-07 20:28:04 |
Autor | matsuand <30614168+matsuand@user...> |
Commiter | matsuand |
[BLFS] Add xxhash.
@@ -0,0 +1,40 @@ | ||
1 | +#!/bin/sh | |
2 | + | |
3 | +. ./_blfsset.sh | |
4 | + | |
5 | +APPNAME=xxhash | |
6 | +VER=0.8.1 | |
7 | +TARGET=$APPNAME-$VER | |
8 | +TARGETBALL=$DLD/$TARGET.tar.gz | |
9 | +TARGETDIR=xxHash-$VER | |
10 | + | |
11 | +echo $TARGET | |
12 | + | |
13 | +. $WRK/_checkRequired.sh "" | |
14 | +. $WRK/_checkOptions.sh "" | |
15 | +. $WRK/_checkTarball.sh | |
16 | +. $WRK/_checkExit.sh "$1" || exit $? | |
17 | + | |
18 | +cd $SRC | |
19 | +RemoveSrcDir | |
20 | +Extract | |
21 | + | |
22 | +TimeStart | |
23 | + | |
24 | +cd $TARGETDIR | |
25 | + | |
26 | +Making | |
27 | +make \ | |
28 | + 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 | |
29 | + | |
30 | +Installing | |
31 | +porg -lp $TARGET -E$PWD "\ | |
32 | +make prefix=/usr install" \ | |
33 | + 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 | |
34 | + | |
35 | +TimeEnd | |
36 | + | |
37 | +cd .. | |
38 | +RemoveSrcDir | |
39 | +PorgingDone | |
40 | + |