libraries/libEMF: Updated for version 1.0.13.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Pedro Mendes 2022-04-01 16:22:35 +01:00 committed by Willy Sudiarto Raharjo
parent 70dcf9f89f
commit c8c463cb6a
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 22 additions and 22 deletions

View file

@ -1,8 +1,5 @@
libEMF is a C/C++ library which provides a drawing toolkit based
on ECMA-234. The general purpose of this library is to create
vector graphics files on POSIX systems which can be imported into
StarOffice/OpenOffice. The library is also used by pstoedit to
convert postscript and pdf files to EMF format.
This might build with 32-bit compat libs on x86_64, but definitely not
without them.
libEMF is a C/C++ library which provides a drawing toolkit based on
ECMA-234. The general purpose of this library is to create vector
graphics files on POSIX systems which can be imported into
StarOffice/OpenOffice. The library is also used by pstoedit to convert
postscript and pdf files to EMF format.

View file

@ -6,8 +6,9 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libEMF
VERSION=${VERSION:-1.0.7}
BUILD=${BUILD:-2}
SRCNAM=libemf
VERSION=${VERSION:-1.0.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -19,6 +20,9 @@ if [ -z "$ARCH" ]; then
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
@ -47,15 +51,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$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 {} \;
# static library is activated because the perl extension needs it
CFLAGS="$SLKCFLAGS" \
@ -67,12 +71,13 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--enable-editing \
--disable-static \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
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
@ -80,8 +85,6 @@ cp -a AUTHORS ChangeLog COPYING COPYING.LIB INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -f $PKG/usr/lib*/*.la
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,9 +1,9 @@
PRGNAM="libEMF"
VERSION="1.0.7"
VERSION="1.0.13"
HOMEPAGE="http://libemf.sourceforge.net"
DOWNLOAD="http://sourceforge.net/projects/libemf/files/libemf/1.0.7/libEMF-1.0.7.tar.gz"
MD5SUM="f1011f5cc254aa228be78704fe5f9960"
DOWNLOAD_x86_64="UNSUPPORTED"
DOWNLOAD="http://downloads.sourceforge.net/libemf/libemf-1.0.13.tar.gz"
MD5SUM="023e2d718e3829d9858647a97ba53eb6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Pedro Mendes"