mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/libAfterImage: Added to 12.0 repository
This commit is contained in:
parent
08c146e635
commit
293b30c6bd
4 changed files with 101 additions and 0 deletions
7
libraries/libAfterImage/README
Normal file
7
libraries/libAfterImage/README
Normal file
|
@ -0,0 +1,7 @@
|
|||
libAfterImage Imaging Library
|
||||
|
||||
This project is an image manipulation library that supports loading, saving,
|
||||
displaying and yes, manipulating images. Most popular formats are supported.
|
||||
Font capabilities include include TrueType and antialiasing support.
|
||||
|
||||
Documentation, examples and tools are included.
|
67
libraries/libAfterImage/libAfterImage.SlackBuild
Normal file
67
libraries/libAfterImage/libAfterImage.SlackBuild
Normal file
|
@ -0,0 +1,67 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for libAfterImage
|
||||
|
||||
# Written by Dugan Chen (dugan_c@fastmail.fm)
|
||||
|
||||
PRGNAM=libAfterImage
|
||||
VERSION=1.15
|
||||
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"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--enable-i18n \
|
||||
--enable-glx \
|
||||
--enable-sharedlibs
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
( cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
)
|
||||
|
||||
( 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
|
||||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mv $PKG/usr/share/$PRGNAM/doc/html/ $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
rm -rf $PKG/usr/share
|
||||
|
||||
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
|
8
libraries/libAfterImage/libAfterImage.info
Normal file
8
libraries/libAfterImage/libAfterImage.info
Normal file
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="libAfterImage"
|
||||
VERSION="1.15"
|
||||
HOMEPAGE="http://www.afterstep.org/afterimage/index.php"
|
||||
DOWNLOAD="ftp://ftp.afterstep.org/stable/libAfterImage/libAfterImage-1.15.tar.bz2"
|
||||
MD5SUM="cac9f813e104f90d63fced6123d54a13"
|
||||
MAINTAINER="Dugan Chen"
|
||||
EMAIL="dugan_c@fastmail.fm"
|
||||
APPROVED="rworkman"
|
19
libraries/libAfterImage/slack-desc
Normal file
19
libraries/libAfterImage/slack-desc
Normal file
|
@ -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----------------------------------------------|
|
||||
libAfterImage: libAfterImage (Imaging Library)
|
||||
libAfterImage:
|
||||
libAfterImage: This project is an image manipulation library that supports
|
||||
libAfterImage: loading, saving, displaying and yes, manipulating images.
|
||||
libAfterImage: Most popular formats are supported. Font capabilities include
|
||||
libAfterImage: TrueType and antialiasing support.
|
||||
libAfterImage:
|
||||
libAfterImage: Visit the libAfterImage project online:
|
||||
libAfterImage: http://software.schmorp.de/pkg/libAfterImage/
|
||||
libAfterImage:
|
||||
libAfterImage:
|
Loading…
Reference in a new issue