diff options
author | Daniel Prosser <dpross1100@msn.com> | 2018-06-23 02:22:22 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-06-23 02:22:22 +0700 |
commit | 883ad17197f6ad77f36b15d5b53a85ed8f1347a8 (patch) | |
tree | 7e93afb8d292a10c9cbb526789b8405edd71d526 /academic/xflr5/xflr5.SlackBuild | |
parent | 59c649402ad3bef76b1caa075b18929db4015b6f (diff) |
academic/xflr5: Updated for version 6.42.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/xflr5/xflr5.SlackBuild')
-rw-r--r-- | academic/xflr5/xflr5.SlackBuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/academic/xflr5/xflr5.SlackBuild b/academic/xflr5/xflr5.SlackBuild index 85e09e46e96b..1e20a40f3503 100644 --- a/academic/xflr5/xflr5.SlackBuild +++ b/academic/xflr5/xflr5.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xflr5 -VERSION=${VERSION:-6.40} +VERSION=${VERSION:-6.42} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM -tar xvf $CWD/${PRGNAM}_v${VERSION}_src.tar.gz +tar xvf $CWD/${PRGNAM}_${VERSION}_src.tar.gz cd $PRGNAM chown -R root:root . find -L . \ @@ -69,7 +69,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -patch -p0 < $CWD/fix_includes.diff +# Change default path for libraries installation +sed -i "s/target\.path = \/usr\/local\/lib/target\.path = \/usr\/lib${LIBDIRSUFFIX}/g" \ + XFoil-lib/XFoil-lib.pro +sed -i "s/target\.path = \/usr\/local\/lib/target\.path = \/usr\/lib${LIBDIRSUFFIX}/g" \ + xflr5-engine/xflr5-engine.pro qmake-qt5 \ PREFIX=/usr \ @@ -81,11 +85,6 @@ qmake-qt5 \ make make install INSTALL_ROOT=$PKG -# Rename lib directory manually, since there's no configuration option to do so -if [ -n "$LIBDIRSUFFIX" ]; then - mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX} -fi - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |