diff options
Diffstat (limited to 'libraries/libewf/libewf.SlackBuild')
-rw-r--r-- | libraries/libewf/libewf.SlackBuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/libraries/libewf/libewf.SlackBuild b/libraries/libewf/libewf.SlackBuild index 3c09c4c51c27f..d1d3fd70e3f71 100644 --- a/libraries/libewf/libewf.SlackBuild +++ b/libraries/libewf/libewf.SlackBuild @@ -22,17 +22,18 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Updated v20150126(exp) March 2015 Barry J. Grundy <bgrundy(at)linuxleo.com +# Updated v20140608 August 2016 Barry J. Grundy <bgrundy(at)linuxleo.com +# - note this is a downgrade from previous SBo versions for TSK +# compatibility. PRGNAM=libewf -STATUS=${STATUS:-experimental} -VERSION=${VERSION:-20150126} +VERSION=${VERSION:-20140608} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -43,8 +44,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -63,7 +64,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -91,7 +92,7 @@ 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/doc/$PRGNAM-$VERSION -cp -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README* documents/ $PKG/usr/doc/$PRGNAM-$VERSION +cp -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README* documents/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |