mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
academic/wxmacmolplt: Updated for version 7.4.1.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
058bfb47ea
commit
a7eb251a59
2 changed files with 8 additions and 12 deletions
|
@ -5,16 +5,14 @@
|
||||||
# Written by Daniil Bratashov <dn2010@gmail.com>
|
# Written by Daniil Bratashov <dn2010@gmail.com>
|
||||||
|
|
||||||
PRGNAM=wxmacmolplt
|
PRGNAM=wxmacmolplt
|
||||||
VERSION=${VERSION:-7.4}
|
VERSION=${VERSION:-7.4.1}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
# Automatically determine the architecture we're building on:
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i486 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
@ -78,10 +76,8 @@ make install DESTDIR=$PKG
|
||||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
( cd $PKG/usr/man
|
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||||
find . -type f -exec gzip -9 {} \;
|
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||||
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
|
||||||
)
|
|
||||||
|
|
||||||
mkdir -p $PKG/usr/share/icons/hicolor/128x128/apps
|
mkdir -p $PKG/usr/share/icons/hicolor/128x128/apps
|
||||||
cp resources/wxmacmolplt.png $PKG/usr/share/icons/hicolor/128x128/apps
|
cp resources/wxmacmolplt.png $PKG/usr/share/icons/hicolor/128x128/apps
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="wxmacmolplt"
|
PRGNAM="wxmacmolplt"
|
||||||
VERSION="7.4"
|
VERSION="7.4.1"
|
||||||
HOMEPAGE="http://www.scl.ameslab.gov/MacMolPlt/"
|
HOMEPAGE="http://www.scl.ameslab.gov/MacMolPlt/"
|
||||||
DOWNLOAD="http://www.scl.ameslab.gov/MacMolPlt/download/wxmacmolplt-7.4.tar.gz"
|
DOWNLOAD="http://www.scl.ameslab.gov/MacMolPlt/download/wxmacmolplt-7.4.1.tar.gz"
|
||||||
MD5SUM="26e1a2f5e5860334f29edc3b5f5c30e9"
|
MD5SUM="ea8d64ee3572ca22f87f12bbc3d1ea47"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Daniil Bratashov"
|
MAINTAINER="Daniil Bratashov"
|
||||||
EMAIL="dn2010@gmail.com"
|
EMAIL="dn2010@gmail.com"
|
||||||
APPROVED="rworkman"
|
APPROVED="Erik Hanson"
|
||||||
|
|
Loading…
Reference in a new issue