diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-11 07:00:46 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-11 07:10:23 +0700 |
commit | aaa5cc56a171942db873950a138cba060f9f55a7 (patch) | |
tree | 62c1e828918b100d3bd63a015c6e54069d5d8a2e /libraries/libaal/libaal.SlackBuild | |
parent | 0509e0aace0e9345ad44caacc7a767cd6fa84fb8 (diff) |
libraries/libaal: Updated for version 1.0.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libaal/libaal.SlackBuild')
-rw-r--r-- | libraries/libaal/libaal.SlackBuild | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libraries/libaal/libaal.SlackBuild b/libraries/libaal/libaal.SlackBuild index ba0bb4f4f792b..53ed14a9ed27b 100644 --- a/libraries/libaal/libaal.SlackBuild +++ b/libraries/libaal/libaal.SlackBuild @@ -5,13 +5,13 @@ # Written by Kurt Erickson <kurt_erickson@att.net> PRGNAM=libaal -VERSION=${VERSION:-1.0.5} +VERSION=${VERSION:-1.0.6} BUILD=${BUILD:-1} 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 @@ -22,8 +22,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" @@ -42,15 +42,16 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Note: We need static library here for reiser4progs CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -68,8 +69,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS BUGS COPYING CREDITS ChangeLog INSTALL README THANKS TODO \ +cp -a AUTHORS BUGS COPYING CREDITS ChangeLog INSTALL README THANKS TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |