libraries/libAfterImage: Fixed download link and misc cleanup

Thanks to Charles on the slackbuilds-users list.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2011-01-01 03:00:33 -06:00
parent 2a26074063
commit 2f209642e1
3 changed files with 11 additions and 17 deletions

View File

@ -1,9 +1,8 @@
libAfterImage is a generic image manipulation library. Most
of the popular image formats are supported using standard
libraries, with XCF, XPM, PPM/PNM, BMP, ICO, TGA and GIF
being supported internally. PNG, JPEG and TIFF formats are
supported via standard libraries. For convenience, source
for libJPEG and libPNG is supplied with libAfterImage.
Powerfull text rendering capabilities included, providing
support for TrueType fonts using FreeType library, and
antialiasing of standard fonts from X window system.
libAfterImage is a generic image manipulation library. Most of the
popular image formats are supported using standard libraries, with
XCF, XPM, PPM/PNM, BMP, ICO, TGA, and GIF being supported internally.
PNG, JPEG, and TIFF formats are supported via standard libraries.
For convenience, source for libJPEG and libPNG is supplied with
libAfterImage. Powerful text rendering capabilities are included,
providing support for TrueType fonts using the FreeType library
and antialiasing of standard fonts from the X window system.

View File

@ -10,12 +10,10 @@ VERSION=${VERSION:-1.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -47,7 +45,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@ -85,10 +83,7 @@ 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION

View File

@ -1,7 +1,7 @@
PRGNAM="libAfterImage"
VERSION="1.18"
HOMEPAGE="http://www.afterstep.org/afterimage/"
DOWNLOAD="ftp://ftp.afterstep.org/stable/libAfterImage/libAfterImage-1.18.tar.bz2"
DOWNLOAD="http://downloads.sourceforge.net/afterstep/libAfterImage-1.18.tar.bz2"
MD5SUM="56a455b7710e2f3e2f9748777e87b8cd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""