diff --git a/libraries/libcpuid/libcpuid.SlackBuild b/libraries/libcpuid/libcpuid.SlackBuild index 59752bf18f..2437c0fc78 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 cd26fcf304..1983c6f3f9 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=""