diff options
author | Marek Šrejma <marek@modweb.de> | 2023-01-06 18:56:31 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-07 08:13:39 +0700 |
commit | 59046bf24c9c0934e0e2eb08bcfbfefcb2ed30a1 (patch) | |
tree | 1e9ebbeaa3a41c19a2b12d67b7e4273e9885a91f /graphics | |
parent | 9caabfdc8ad6bd1595ab5fd828830846b934a645 (diff) |
graphics/xmedcon: Updated for version 0.23.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/xmedcon/slack-desc | 2 | ||||
-rw-r--r-- | graphics/xmedcon/xmedcon.SlackBuild | 21 | ||||
-rw-r--r-- | graphics/xmedcon/xmedcon.info | 6 |
3 files changed, 13 insertions, 16 deletions
diff --git a/graphics/xmedcon/slack-desc b/graphics/xmedcon/slack-desc index b08b263c650a..febee6646e28 100644 --- a/graphics/xmedcon/slack-desc +++ b/graphics/xmedcon/slack-desc @@ -6,7 +6,7 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -xmedcon: xmedcon (Medical Image Conversion) +xmedcon: (X)MedCon (Medical Image Conversion) xmedcon: xmedcon: a medical image conversion utility & library; hereby hoping to lower xmedcon: at least one barrier in medical research projects. diff --git a/graphics/xmedcon/xmedcon.SlackBuild b/graphics/xmedcon/xmedcon.SlackBuild index 7196a8d4d4bb..9ffc6533dac0 100644 --- a/graphics/xmedcon/xmedcon.SlackBuild +++ b/graphics/xmedcon/xmedcon.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for (X)MedCon # -# Copyright 2016-2022 Marek Šrejma <marek@modweb.de>, Germany +# Copyright 2016-2023 Marek Šrejma <marek@modweb.de>, Germany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xmedcon -VERSION=${VERSION:-0.21.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.23.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,13 +50,10 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" +if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=$ARCH -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then +elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else @@ -105,6 +102,8 @@ do rm $i done +rm -f $PKG/usr/lib$LIBDIRSUFFIX/libmdc.la + mv $PKG/usr/etc $PKG/ mkdir -p $PKG/usr/share/pixmaps @@ -115,12 +114,10 @@ install -m644 $CWD/xmedcon.desktop $PKG/usr/share/applications/xmedcon.desktop mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README REMARKS \ + AUTHORS COPYING COPYING.LIB NEWS README REMARKS \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -rm -f $PKG/usr/lib*/*.la - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/graphics/xmedcon/xmedcon.info b/graphics/xmedcon/xmedcon.info index 728b2147233c..0fa65aba31a1 100644 --- a/graphics/xmedcon/xmedcon.info +++ b/graphics/xmedcon/xmedcon.info @@ -1,8 +1,8 @@ PRGNAM="xmedcon" -VERSION="0.21.2" +VERSION="0.23.0" HOMEPAGE="http://xmedcon.sourceforge.net/" -DOWNLOAD="https://downloads.sourceforge.net/project/xmedcon/XMedCon-Source/0.21.2/xmedcon-0.21.2.tar.bz2" -MD5SUM="31802d740f5a0ce1ac59b769bdea61c5" +DOWNLOAD="https://downloads.sourceforge.net/project/xmedcon/XMedCon-Source/0.23.0/xmedcon-0.23.0.tar.bz2" +MD5SUM="8c758335d733d679e292d4948acba77e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |