mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/wcslib: Updated for version 5.19.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
7f0647b516
commit
da11cb68fa
2 changed files with 15 additions and 10 deletions
|
@ -1,8 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for WCSLIB
|
||||
# Slackware build script for WCSLib
|
||||
|
||||
# Copyright 2017 Nitish Ragoomundun, Mauritius
|
||||
# Copyright 2018 Nitish Ragoomundun, Mauritius
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -24,7 +24,7 @@
|
|||
|
||||
|
||||
PRGNAM=wcslib
|
||||
VERSION=${VERSION:-5.16}
|
||||
VERSION=${VERSION:-5.19.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -61,10 +61,14 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM.tar.bz2
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
|
||||
# Paths for PGPLOT in case it is not set properly
|
||||
PGPLOT_DIR="/usr/lib${LIBDIRSUFFIX}/pgplot"
|
||||
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib${LIBDIRSUFFIX}/pgplot"
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
@ -75,9 +79,9 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--with-cfitsio \
|
||||
--with-pgplot \
|
||||
--with-cfitsiolib=/usr/lib${LIBDIRSUFFIX} \
|
||||
--with-cfitsioinc=/usr/include \
|
||||
--with-pgplot \
|
||||
--with-pgplotlib=${PGPLOT_DIR} \
|
||||
--with-pgplotinc=${PGPLOT_DIR} \
|
||||
--with-x \
|
||||
|
@ -86,8 +90,9 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
make -j1
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
# fix crazy permissions
|
||||
chmod -R u+w,g-ws $PKG
|
||||
# Give root write permission on regular files as
|
||||
# many of them get 444 permissions by default
|
||||
find $PKG -type f -exec chmod u+w \{\} \;
|
||||
|
||||
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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="wcslib"
|
||||
VERSION="5.16"
|
||||
VERSION="5.19.1"
|
||||
HOMEPAGE="http://www.atnf.csiro.au/people/mcalabre/WCS/"
|
||||
DOWNLOAD="ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib.tar.bz2"
|
||||
MD5SUM="8608b3e7f36a7d82a670c3569ad21817"
|
||||
DOWNLOAD="ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib-5.19.1.tar.bz2"
|
||||
MD5SUM="3d4f34a16577111e901bd3710904dd78"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="cfitsio pgplot"
|
||||
|
|
Loading…
Reference in a new issue