libraries/gail: Updated for version 1.22.3

This commit is contained in:
Erik Hanson 2010-05-12 17:40:41 +02:00 committed by Robby Workman
parent b276ca6533
commit fc617112ca
4 changed files with 37 additions and 35 deletions

View file

@ -1,3 +1,3 @@
GAIL provides accessibility support for gtk+ and libgnomecanvas
by implementing AtkObjects for widgets in gtk+ and libgnomecanvas.
The GAIL library is a GTK+ module.
GAIL provides accessibility support for gtk+ and libgnomecanvas by
implementing AtkObjects for widgets in gtk+ and libgnomecanvas. The
GAIL library is a GTK+ module.

View file

@ -22,10 +22,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Maintained by Erik Hanson erik@slackbuilds.org
PRGNAM=gail
VERSION=1.22.3
VERSION=${VERSION:-1.22.3}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@ -33,23 +35,25 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS ChangeLog COPYING INSTALL MAINTAINERS NEWS README"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-$VERSION || exit 1
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -61,23 +65,21 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--program-prefix="" \
--program-suffix="" \
--enable-static=no \
--enable-shared=yes \
|| exit 1
--build=$ARCH-slackware-linux
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL MAINTAINERS NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
# Create link to html docs:
( cd $PKG/usr/doc/$PRGNAM-$VERSION ; ln -sf ../../share/gtk-doc/html/$PRGNAM-libgail-util html )
( cd $PKG/usr/doc/$PRGNAM-$VERSION
ln -s ../../share/gtk-doc/html/gail-libgail-util/ html
)
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,8 +1,8 @@
PRGNAM="gail"
VERSION="1.22.3"
HOMEPAGE="http://developer.gnome.org/projects/gap"
HOMEPAGE="http://freshmeat.net/projects/gail/"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gail/1.22/gail-1.22.3.tar.bz2"
MD5SUM="1b0d2b3d5f89fb620ce6122e52578b41"
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"
APPROVED="David Somero"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
APPROVED="rworkman"

View file

@ -1,19 +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 ':'.
# 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------------------------------------------------------|
gail: GAIL (a GTK+ accessibility module)
gail: GAIL (a GTK+ module)
gail:
gail: GAIL provides accessibility support for gtk+
gail: and libgnomecanvas by implementing AtkObjects
gail: for widgets in gtk+ and libgnomecanvas. The
gail: GAIL provides accessibility support for gtk+ and libgnomecanvas by
gail: implementing AtkObjects for widgets in gtk+ and libgnomecanvas. The
gail: GAIL library is a GTK+ module.
gail:
gail: Homepage: http://developer.gnome.org/projects/gap
gail: Homepage: http://freshmeat.net/projects/gail/
gail:
gail:
gail:
gail: