|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2017 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2017,2019 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -27,7 +27,7 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-zxcvbn-c} |
|
|
|
|
VERSION=${VERSION:-2.3} |
|
|
|
|
VERSION=${VERSION:-2.4} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} |
|
|
|
|
WGET=${WGET:-https://github.com/tsyrogit/zxcvbn-c/archive/v$VERSION.tar.gz} |
|
|
|
|
|
|
|
|
@ -86,7 +86,7 @@ tar xf $CWD/$ARCHIVE
|
|
|
|
|
cd $NAME |
|
|
|
|
CFLAGS=$CPUOPT \ |
|
|
|
|
CXXFLAGS=$CPUOPT \ |
|
|
|
|
make -j $JOBS |
|
|
|
|
make -j $JOBS || make |
|
|
|
|
install -s -m 755 -D dictgen $PKG/usr/bin/zxcvbn-dictgen |
|
|
|
|
install -s -m 755 -D libzxcvbn.so.0.0.0 \ |
|
|
|
|
$PKG/usr/lib$LIBDIRSUFFIX/libzxcvbn.so.0.0.0 |
|
|
|
|