diff options
author | Eric Hameleers <alien@slackware.com> | 2008-12-08 12:53:00 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2008-12-08 12:53:00 +0000 |
commit | 510c42b0fd09a2f99fc76253ada339f5b65c5a0b (patch) | |
tree | f484dbb9cabeae7ae49979f421efdaa5c0e0ed29 /fontforge | |
parent | b971afd7d06357b86530d4324b90d787c8666b25 (diff) | |
download | asb-510c42b0fd09a2f99fc76253ada339f5b65c5a0b.tar.gz asb-510c42b0fd09a2f99fc76253ada339f5b65c5a0b.tar.xz |
Update to 20081117 (configure options have changed)
Diffstat (limited to 'fontforge')
-rwxr-xr-x | fontforge/build/fontforge.SlackBuild | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/fontforge/build/fontforge.SlackBuild b/fontforge/build/fontforge.SlackBuild index 0ba02fbb..cf20642e 100755 --- a/fontforge/build/fontforge.SlackBuild +++ b/fontforge/build/fontforge.SlackBuild @@ -42,6 +42,8 @@ # * Update, also build for Slackware 12.1. # 20080828-1: 24/sep/2008 by Eric Hameleers <alien@slackware.com> # * Update. +# 20081117-1: 08/dec/2008 by Eric Hameleers <alien@slackware.com> +# * Update. # # Run 'sh fontforge.SlackBuild --cleanup' to build a Slackware package. # The package (.tgz) plus descriptive .txt file are created in /tmp . @@ -49,10 +51,8 @@ # # ----------------------------------------------------------------------------- -# Set initial variables: - PRGNAM=fontforge -VERSION=${VERSION:-20080828} +VERSION=${VERSION:-20081117} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-alien} @@ -204,14 +204,17 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ - --with-multilayer \ - --with-devicetables \ + --enable-type3 \ + --enable-pasteafter \ --disable-static \ + --with-devicetables \ ${FREETYPE_OPTS} \ --program-prefix="" \ --program-suffix="" \ --build=$ARCH-slackware-linux \ 2>&1 | tee $OUTPUT/configure-${PRGNAM}.log + # Using this, the man pages go into the root instead of $PKG + # --mandir=/usr/man \ make 2>&1 | tee $OUTPUT/make-${PRGNAM}.log # Install all the needed stuff to the package dir @@ -235,16 +238,18 @@ chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION find $PKG/usr/doc -type f -exec chmod 644 {} \; # Compress the man page(s): +if [ -d $PKG/usr/share/man ]; then + mv $PKG/usr/share/man $PKG/usr/ + rmdir --ignore-fail-on-non-empty $PKG/usr/share +fi if [ -d $PKG/usr/man ]; then find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done fi # Strip binaries: -cd $PKG -find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -cd - +find $PKG | xargs file | grep -e "executable" -e "shared object" \ + | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Add a package description: mkdir -p $PKG/install |