libraries/libxklavier: Updated for version 3.9
This commit is contained in:
parent
8483e85757
commit
7d6bc4621b
|
@ -1 +1,3 @@
|
|||
libxklavier is a utility library to make XKB stuff easier.
|
||||
|
||||
This requires iso-codes, which is also available from SlackBuilds.org
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for libxklavier
|
||||
|
||||
# Copyright 2007-2008 Heinz Wiesinger <hmwiesinger@gmx.at>
|
||||
# Copyright 2007-2009 Heinz Wiesinger <pprkut@liwjatan.at>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=libxklavier
|
||||
VERSION=3.5
|
||||
VERSION=3.9
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then
|
|||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -45,7 +47,7 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
@ -56,7 +58,8 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static
|
||||
--disable-static \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
@ -65,6 +68,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
|||
cp -a AUTHORS ChangeLog COPYING.LIB CREDITS INSTALL NEWS README \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
( cd $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
ln -s /usr/share/gtk-doc/html/libxklavier html
|
||||
)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="libxklavier"
|
||||
VERSION="3.5"
|
||||
VERSION="3.9"
|
||||
HOMEPAGE="http://www.freedesktop.org/wiki/Software/LibXklavier"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/gswitchit/libxklavier-3.5.tar.gz"
|
||||
MD5SUM="d0625fdd7e22dbe382af40872fbbe77b"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/gswitchit/libxklavier-3.9.tar.bz2"
|
||||
MD5SUM="c8ff3ba6daf899be7ec2a626894852b9"
|
||||
MAINTAINER="ppr:kut"
|
||||
EMAIL="HMWiesinger@gmx.at"
|
||||
APPROVED="David Somero"
|
||||
EMAIL="pprkut@liwjatan.at"
|
||||
APPROVED="rworkman"
|
||||
|
|
Loading…
Reference in New Issue