libraries/libvmdk: Updated for version 20210807.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
9db8b49268
commit
0a227ffd56
|
@ -1,6 +1,7 @@
|
|||
libvmdk (libYAL VMDK library)
|
||||
|
||||
Library and tools to access the VMware Virtual Disk (VMDK) image format.
|
||||
Library and tools to access the VMware Virtual Disk (VMDK) image
|
||||
format.
|
||||
|
||||
Read supported extent file formats:
|
||||
|
||||
|
@ -17,5 +18,5 @@ Supported VMDK format features:
|
|||
VMDK format features not supported at the moment:
|
||||
|
||||
-images that use a physical device
|
||||
-changed block tracking (CBT) (supported by VMDK version 3 (sparse))
|
||||
change tracking file
|
||||
-changed block tracking (CBT) (supported by VMDK version 3
|
||||
(sparse)) change tracking file
|
||||
|
|
|
@ -24,25 +24,26 @@
|
|||
|
||||
# Updated v20210418 August 2021
|
||||
|
||||
# 20220215 bkw: Modified by SlackBuilds.org:
|
||||
# - update for v20210807 since the old version's source vanished.
|
||||
# - don't install useless ABOUT-NLS and INSTALL in doc dir.
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=libvmdk
|
||||
VERSION=${VERSION:-20210418}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-20210807}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
# could be useful to other scripts.
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
|
@ -52,8 +53,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"
|
||||
|
@ -77,9 +78,9 @@ 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 \
|
||||
-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 {} \+
|
||||
|
||||
CFLAGS="$SLKCFLAGS -std=gnu89" \
|
||||
CXXFLAGS="$SLKCFLAGS -std=gnu89" \
|
||||
|
@ -95,12 +96,10 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
|
|||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
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
|
||||
gzip -9 $PKG/usr/man/man*/*
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS ChangeLog COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
rm -f $PKG/usr/lib*/*.la
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="libvmdk"
|
||||
VERSION="20210418"
|
||||
VERSION="20210807"
|
||||
HOMEPAGE="https://github.com/libyal/libvmdk"
|
||||
DOWNLOAD="https://linuxleo.com/Source/libvmdk-alpha-20210418.tar.gz"
|
||||
MD5SUM="ac1f48dc8761c26f77a7cfdb6e73353f"
|
||||
DOWNLOAD="https://github.com/libyal/libvmdk/releases/download/20210807/libvmdk-alpha-20210807.tar.gz"
|
||||
MD5SUM="3058cc76ac2c88604c6ab1973c55a883"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in New Issue