diff options
author | Vijay Marcel <vijaymarcel@outlook.com> | 2023-05-17 22:16:34 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-20 11:17:05 +0700 |
commit | c7589888851d30c8037fa76dbe91e1151a836275 (patch) | |
tree | e480f7059b67f6d739b1f4e85a22dbfdb76f40f7 /system/pmdk | |
parent | e02c0ac8b08388f2c70711aac0abf6f0d8f71a13 (diff) |
system/pmdk: Updated for version 1.13.0.
Signed-off-by: bedlam <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/pmdk')
-rw-r--r-- | system/pmdk/changelog | 16 | ||||
-rw-r--r-- | system/pmdk/pmdk.SlackBuild | 29 | ||||
-rw-r--r-- | system/pmdk/pmdk.info | 10 |
3 files changed, 31 insertions, 24 deletions
diff --git a/system/pmdk/changelog b/system/pmdk/changelog new file mode 100644 index 0000000000000..8411160f1df84 --- /dev/null +++ b/system/pmdk/changelog @@ -0,0 +1,16 @@ +Changelog for pmdk SlackBuild Script +-------------------------------------------------------------------- + +03/09/2022: + +Added to slackbuilds.org + +18/02/2023: + +pmdk slackbuild script fixed by B.Watson + +15/05/2023: + +Updated to version 1.13.0 +From this build onwards it will only build +on x86_64 platform only. diff --git a/system/pmdk/pmdk.SlackBuild b/system/pmdk/pmdk.SlackBuild index c942036637ec6..16a020329799d 100644 --- a/system/pmdk/pmdk.SlackBuild +++ b/system/pmdk/pmdk.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pmdk -# Copyright 2022 Vijay Marcel +# Copyright 2022-2023 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,18 +25,16 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pmdk -VERSION=${VERSION:-1.12.0} +VERSION=${VERSION:-1.13.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +sys_arch=${sys_arch:-$(uname -m)} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) export ARCH=i586 ;; - arm*) export ARCH=arm ;; - *) export ARCH=$( uname -m ) ;; - esac -fi +case "$sys_arch" in + x86_64) export ARCH=x86_64 ;; + *) echo "This program will not build on $sys_arch platform" && exit 1 ;; +esac # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information @@ -50,18 +48,11 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" +if [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-march=x86-64 -mtune=native -pipe -O2 -fPIC" LIBDIRSUFFIX="64" else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" + echo "This program will not build in this $sys_arch platform" && exit 1 fi set -e diff --git a/system/pmdk/pmdk.info b/system/pmdk/pmdk.info index bf9f53bf55c4b..86bf01095a93d 100644 --- a/system/pmdk/pmdk.info +++ b/system/pmdk/pmdk.info @@ -1,10 +1,10 @@ PRGNAM="pmdk" -VERSION="1.12.0" +VERSION="1.13.0" HOMEPAGE="https://pmem.io/" -DOWNLOAD="https://github.com/pmem/pmdk/archive/1.12.0/pmdk-1.12.0.tar.gz" -MD5SUM="7ddb162ae1906a9f1fe8f8e41276d56a" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/pmem/pmdk/archive/1.13.0/pmdk-1.13.0.tar.gz" +MD5SUM_x86_64="8e2dc1fedc0c9bdfa4f04e2ebbe28b7f" REQUIRES="pandoc-bin" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" |