aboutsummaryrefslogtreecommitdiff
path: root/libraries/libcpuid
diff options
context:
space:
mode:
authorCristiano Urban <cristiano.urban.slack@gmail.com>2016-07-19 15:26:47 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-19 15:26:47 +0700
commitee1c241aed46c9e37cfaa4f18d4b34714d2d8e61 (patch)
treebe01dc9fad9c9082abb3f7b694d6b8f672914886 /libraries/libcpuid
parent45311207facca274fec87ed2e431442d9d1b5b44 (diff)
libraries/libcpuid: Updated for version 0.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libcpuid')
-rw-r--r--libraries/libcpuid/libcpuid.SlackBuild5
-rw-r--r--libraries/libcpuid/libcpuid.info6
2 files changed, 7 insertions, 4 deletions
diff --git a/libraries/libcpuid/libcpuid.SlackBuild b/libraries/libcpuid/libcpuid.SlackBuild
index 59752bf18f186..2437c0fc7889b 100644
--- a/libraries/libcpuid/libcpuid.SlackBuild
+++ b/libraries/libcpuid/libcpuid.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libcpuid
-VERSION=${VERSION:-0.2.2}
+VERSION=${VERSION:-0.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -89,6 +89,9 @@ make install DESTDIR=$PKG
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
+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 -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/libcpuid/libcpuid.info b/libraries/libcpuid/libcpuid.info
index cd26fcf304d31..1983c6f3f9403 100644
--- a/libraries/libcpuid/libcpuid.info
+++ b/libraries/libcpuid/libcpuid.info
@@ -1,8 +1,8 @@
PRGNAM="libcpuid"
-VERSION="0.2.2"
+VERSION="0.3.0"
HOMEPAGE="http://libcpuid.sourceforge.net"
-DOWNLOAD="https://github.com/anrieff/libcpuid/archive/v0.2.2.tar.gz"
-MD5SUM="729ed33f806d68e08462c6258012ea12"
+DOWNLOAD="https://github.com/anrieff/libcpuid/releases/download/v0.3.0/libcpuid-0.3.0.tar.gz"
+MD5SUM="6e0bba38777d08d7b8bd2430aee4e77e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""