libraries/libcpuid: Updated for version 0.3.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Cristiano Urban 2016-07-19 15:26:47 +07:00 committed by Willy Sudiarto Raharjo
parent 45311207fa
commit ee1c241aed
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 7 additions and 4 deletions

View file

@ -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

View file

@ -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=""