libraries/libEMF: Added to 13.0 repository
This commit is contained in:
parent
4fd0f3b0ed
commit
3c95a3669a
|
@ -0,0 +1,8 @@
|
|||
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.
|
|
@ -0,0 +1,66 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for libEMF
|
||||
# written by <pedro@gepasi.org>, hereby in the public domain
|
||||
|
||||
PRGNAM=libEMF
|
||||
VERSION=1.0.4
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
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
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
# static library is activated because the perl extension needs it
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--enable-editing \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
find $PKG | xargs 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
|
||||
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
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
|
@ -0,0 +1,10 @@
|
|||
PRGNAM="libEMF"
|
||||
VERSION="1.0.4"
|
||||
HOMEPAGE="http://libemf.sourceforge.net"
|
||||
DOWNLOAD="http://sourceforge.net/projects/pstoedit/files/libemf%20for%20pstoedit/1.0.4/libEMF-1.0.4.tar.gz/download"
|
||||
MD5SUM="4e74e5ee5fdab37bae8be6cde4d1c57c"
|
||||
DOWNLOAD_x86_64="UNSUPPORTED"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Pedro Mendes"
|
||||
EMAIL="pedro@gepasi.org"
|
||||
APPROVED="rworkman"
|
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
libEMF: libEMF (drawing toolkit based on ECMA-234 to write EMF files)
|
||||
libEMF:
|
||||
libEMF: libEMF is a C/C++ library which provides a drawing toolkit based on
|
||||
libEMF: ECMA-234. The general purpose of this library is to create vector
|
||||
libEMF: graphics files on POSIX systems which can be imported into StarOffice
|
||||
libEMF: or OpenOffice.The library is also used by pstoedit to convert
|
||||
libEMF: postscript and pdf files to EMF format.
|
||||
libEMF:
|
||||
libEMF: Homepage: http://libemf.sourceforge.net
|
||||
libEMF:
|
||||
libEMF:
|
Loading…
Reference in New Issue