diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-11 21:21:32 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-12 16:02:38 +0700 |
commit | d519fec3e3f99c8781e65d6274fdfb7599b202f1 (patch) | |
tree | 65793f08324d863f4c85f875ae6cc79445ed87e1 /libraries/libsmbios | |
parent | 0baaf33c5f26c163c2d2b8a7ab1a9b1ca803deca (diff) | |
download | slackbuilds-d519fec3e3f99c8781e65d6274fdfb7599b202f1.tar.gz |
libraries/libsmbios: Updated for version 2.3.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libsmbios')
-rw-r--r-- | libraries/libsmbios/libsmbios.SlackBuild | 19 | ||||
-rw-r--r-- | libraries/libsmbios/libsmbios.info | 8 |
2 files changed, 13 insertions, 14 deletions
diff --git a/libraries/libsmbios/libsmbios.SlackBuild b/libraries/libsmbios/libsmbios.SlackBuild index 5179a2ea3c..36109920b4 100644 --- a/libraries/libsmbios/libsmbios.SlackBuild +++ b/libraries/libsmbios/libsmbios.SlackBuild @@ -1,13 +1,13 @@ #!/bin/sh PRGNAM=libsmbios -VERSION=${VERSION:-2.2.28} +VERSION=${VERSION:-2.3.3} 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 @@ -18,8 +18,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" @@ -38,15 +38,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 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +./autogen.sh CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -68,13 +69,11 @@ mv $PKG/etc/libsmbios/logging.conf $PKG/etc/libsmbios/logging.conf.new # Remove the ick, er, yum stuff rm -rf $PKG/etc/yum -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING* ChangeLog INSTALL NEWS README TODO doc/* \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING* NEWS README* TODO doc/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/libsmbios/libsmbios.info b/libraries/libsmbios/libsmbios.info index f7bbd453d1..92bea08d92 100644 --- a/libraries/libsmbios/libsmbios.info +++ b/libraries/libsmbios/libsmbios.info @@ -1,8 +1,8 @@ PRGNAM="libsmbios" -VERSION="2.2.28" -HOMEPAGE="http://linux.dell.com/libsmbios/main/index.html" -DOWNLOAD="http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-2.2.28/libsmbios-2.2.28.tar.bz2" -MD5SUM="4e167e8d108e287defc3c461f50ef159" +VERSION="2.3.3" +HOMEPAGE="https://github.com/dell/libsmbios" +DOWNLOAD="https://github.com/dell/libsmbios/archive/v2.3.3/libsmbios-2.3.3.tar.gz" +MD5SUM="8abcce9e2024b9ff393db7d1fdcc3989" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |