diff options
Diffstat (limited to 'academic/wxmacmolplt/wxmacmolplt.SlackBuild')
-rw-r--r-- | academic/wxmacmolplt/wxmacmolplt.SlackBuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/academic/wxmacmolplt/wxmacmolplt.SlackBuild b/academic/wxmacmolplt/wxmacmolplt.SlackBuild index efdc391726..b0d865f8e3 100644 --- a/academic/wxmacmolplt/wxmacmolplt.SlackBuild +++ b/academic/wxmacmolplt/wxmacmolplt.SlackBuild @@ -5,7 +5,7 @@ # Written by Daniil Bratashov <dn2010@gmail.com> PRGNAM=wxmacmolplt -VERSION=${VERSION:-7.4.1} +VERSION=${VERSION:-7.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,13 +54,13 @@ find . \ # Fix for PCGAMESS new raman activities format patch -p1 < $CWD/wxmacmolplt-7.2.1-raman.patch + # Fix for Firefly format autodetection patch -p1 < $CWD/wxmacmolplt-7.4-firefly.patch CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ - --without-ming \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ @@ -68,7 +68,6 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux -#libming support is broken in current version make make install DESTDIR=$PKG @@ -77,7 +76,6 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -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 mkdir -p $PKG/usr/share/icons/hicolor/128x128/apps cp resources/wxmacmolplt.png $PKG/usr/share/icons/hicolor/128x128/apps @@ -87,8 +85,7 @@ cp resources/wxmacmolplt.desktop $PKG/usr/share/applications mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS LICENSE NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -mv $PKG/usr/share/$PRGNAM/MacMolPlt_Manual.html $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/$PRGNAM/Manual_pages $PKG/usr/doc/$PRGNAM-$VERSION +( cd $PKG/usr/doc/$PRGNAM-$VERSION ; ln -s ../../share/$PRGNAM misc ) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |