Browse Source

graphics/xmedcon: Updated for version 0.23.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/191/head
Marek Šrejma 3 years ago
committed by Willy Sudiarto Raharjo
parent
commit
59046bf24c
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 2
      graphics/xmedcon/slack-desc
  2. 21
      graphics/xmedcon/xmedcon.SlackBuild
  3. 6
      graphics/xmedcon/xmedcon.info

2
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.

21
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

6
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=""

Loading…
Cancel
Save