diff options
author | Andrew Brouwers <abrouwers@gmail.com> | 2010-05-11 14:56:24 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-11 14:56:24 +0200 |
commit | 7ba78e8aa80c326fb428959b21ddb2ad1d7f9344 (patch) | |
tree | 682acb231e80f4d674ecd0a74dbb47e9807ea1ba /libraries | |
parent | 09c77055d2ff74ee3d518cb21468dfce3ca875b0 (diff) | |
download | slackbuilds-7ba78e8aa80c326fb428959b21ddb2ad1d7f9344.tar.gz |
libraries/poppler-data: Initial import
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/poppler-data/README | 6 | ||||
-rw-r--r-- | libraries/poppler-data/poppler-data.SlackBuild | 57 | ||||
-rw-r--r-- | libraries/poppler-data/poppler-data.info | 8 | ||||
-rw-r--r-- | libraries/poppler-data/slack-desc | 19 |
4 files changed, 90 insertions, 0 deletions
diff --git a/libraries/poppler-data/README b/libraries/poppler-data/README new file mode 100644 index 0000000000..5ca7fd4bb0 --- /dev/null +++ b/libraries/poppler-data/README @@ -0,0 +1,6 @@ +Poppler data helps poppler render CJK and Cyrillic fonts properly. +Note - this isn't necessarily necessary for poppler to function, but +may be a nice feature to install. + +Also note, this script was adopted from slackware's -current branch, and +all credit should go to Patrick Volkerding for his work. diff --git a/libraries/poppler-data/poppler-data.SlackBuild b/libraries/poppler-data/poppler-data.SlackBuild new file mode 100644 index 0000000000..a599085a05 --- /dev/null +++ b/libraries/poppler-data/poppler-data.SlackBuild @@ -0,0 +1,57 @@ +#!/bin/sh + +# Copyright 2006, 2007 Patrick J. Volkerding, Sebeka, MN, USA +# All rights reserved. +# +# Modified by Andrew Brouwers for adaptation to slackbuilds.org +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Modified by the SlackBuild Project. +set -e + +PRGNAM=poppler-data +VERSION=0.1 +ARCH=${ARCH:-noarch} +BUILD=${BUILD:-1} +TAG=${TAG=_SBo} +CWD=`pwd` +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-poppler-data +OUTPUT=${OUTPUT:-/tmp} + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP || exit 1 +rm -rf $PRGNAM-$VERSION +tar xvfz $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +make install datadir=/usr/share DESTDIR=$PKG || exit 1 + +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 + +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.tgz diff --git a/libraries/poppler-data/poppler-data.info b/libraries/poppler-data/poppler-data.info new file mode 100644 index 0000000000..0b14017afb --- /dev/null +++ b/libraries/poppler-data/poppler-data.info @@ -0,0 +1,8 @@ +PRGNAM="poppler-data" +VERSION="0.1" +HOMEPAGE="http://poppler.freedesktop.org/" +DOWNLOAD="http://poppler.freedesktop.org/poppler-data-0.1.tar.gz" +MD5SUM="5c700eb06dda9dafec09cd85225e34d4 " +MAINTAINER="Andrew Brouwers" +EMAIL="abrouwers@gmail.com" +APPROVED="BP{k}"
\ No newline at end of file diff --git a/libraries/poppler-data/slack-desc b/libraries/poppler-data/slack-desc new file mode 100644 index 0000000000..b54e6ed197 --- /dev/null +++ b/libraries/poppler-data/slack-desc @@ -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------------------------------------------------------| +poppler-data: poppler-data (data files used by poppler) +poppler-data: +poppler-data: This package consists of encoding files for use with poppler. The +poppler-data: encoding files are optional and poppler will automatically read them +poppler-data: if they are present. When installed, the encoding files enables +poppler-data: poppler to correctly render CJK and Cyrillic properly. While poppler +poppler-data: is licensed under the GPL, these encoding files are copyright Adobe +poppler-data: and licensed much more strictly, and thus distributed separately. +poppler-data: +poppler-data: +poppler-data: |