aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorGene Carlson <kvngncrlsn@gmail.com>2024-09-22 03:20:22 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-27 23:12:06 +0700
commita4c4cd2fbfc5398553a69f543376ffab05171ad4 (patch)
tree4494348afafb7dba3a8d9a59caf252db0e828afe /development
parent2a82cc1bbf0fe4a21fd5a7693cb68ba752144ace (diff)
development/mdbook: Dependency changed to rust-opt.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/mdbook/mdbook.SlackBuild10
-rw-r--r--development/mdbook/mdbook.info2
2 files changed, 6 insertions, 6 deletions
diff --git a/development/mdbook/mdbook.SlackBuild b/development/mdbook/mdbook.SlackBuild
index 381277ff175d..627cc3574991 100644
--- a/development/mdbook/mdbook.SlackBuild
+++ b/development/mdbook/mdbook.SlackBuild
@@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mdbook
VERSION=${VERSION:-0.4.40}
SRCNAM=mdBook
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -143,13 +143,13 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CARGO_HOME=.cargo \
-PATH="/opt/rust16/bin:$PATH" \
-LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX" \
+PATH="/opt/rust/bin:$PATH" \
+LD_LIBRARY_PATH="/opt/rust/lib$LIBDIRSUFFIX" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
cargo build --offline --release $CARGOTARGET
-PATH="/opt/rust16/bin:$PATH" \
-LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX" \
+PATH="/opt/rust/bin:$PATH" \
+LD_LIBRARY_PATH="/opt/rust/lib$LIBDIRSUFFIX" \
cargo install --offline --no-track --root "${PKG}/usr" --path="."
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
diff --git a/development/mdbook/mdbook.info b/development/mdbook/mdbook.info
index 81c3247d8e20..c26bd66bfd9a 100644
--- a/development/mdbook/mdbook.info
+++ b/development/mdbook/mdbook.info
@@ -501,6 +501,6 @@ MD5SUM="aedb8898189d95e9c727a6d67c51e10d \
09de9d01e7331ff3da11f58be8bef0df"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="rust16"
+REQUIRES="rust-opt"
MAINTAINER="Pouria Rezaei"
EMAIL="Pouria.rz@outlook.com"