libraries/libAfterImage: Updated for version 1.20.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Larry Hajali 2011-03-03 22:33:05 -06:00 committed by Robby Workman
parent c42b16167c
commit 2cd06312ac
3 changed files with 13 additions and 18 deletions

View file

@ -6,7 +6,7 @@
# Modified by SlackBuilds.org
PRGNAM=libAfterImage
VERSION=${VERSION:-1.18}
VERSION=${VERSION:-1.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -23,8 +23,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="ChangeLog README"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@ -54,6 +52,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Get rid of ldconfig in Makefile
find . -name "Makefile*" -exec sed -i '/LDCONFIG/d' {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@ -63,16 +64,15 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--enable-sharedlibs \
--disable-staticlibs \
--enable-shmimage \
--enable-shaping \
--enable-glx \
--enable-mmx-optimization \
--with-jpeg \
--with-png \
--with-tiff \
--with-svg \
--with-xpm \
--with-builtin-gif \
--with-ttf \
--with-x \
--build=$ARCH-slackware-linux
@ -83,15 +83,10 @@ 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
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/$PRGNAM/doc/html/ $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share
cp -a ChangeLog 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

View file

@ -1,10 +1,10 @@
PRGNAM="libAfterImage"
VERSION="1.18"
VERSION="1.20"
HOMEPAGE="http://www.afterstep.org/afterimage/"
DOWNLOAD="http://downloads.sourceforge.net/afterstep/libAfterImage-1.18.tar.bz2"
MD5SUM="56a455b7710e2f3e2f9748777e87b8cd"
DOWNLOAD="http://downloads.sourceforge.net/afterstep/libAfterImage-1.20.tar.bz2"
MD5SUM="17a0ab8a2e6b253f222934418705963e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
APPROVED="dsomero"
APPROVED="rworkman"

View file

@ -7,13 +7,13 @@
|-----handy-ruler------------------------------------------------------|
libAfterImage: libafterimage (Generic image manipulation library)
libAfterImage:
libAfterImage:
libAfterImage: libAfterImage is a generic image manipulation library. Most of the
libAfterImage: popular image formats are supported using standard libraries, with
libAfterImage: XCF, XPM, PPM/PNM, BMP, ICO, TGA and GIF being supported internally.
libAfterImage: PNG, JPEG and TIFF formats are supported via standard libraries. For
libAfterImage: convenience, source for libJPEG and libPNG is supplied with
libAfterImage: libAfterImage.
libAfterImage:
libAfterImage:
libAfterImage: Homepage:http://www.afterstep.org/afterimage/
libAfterImage:
libAfterImage: