diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-12 17:41:52 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:41:52 +0200 |
commit | 7d6bc4621b5eaafa33da9d3d66fed90955d816cb (patch) | |
tree | a4fb70286805356e0135dbc0ef9afd3235a276fb /libraries | |
parent | 8483e85757803c94bcab77658a8baae0b424243c (diff) |
libraries/libxklavier: Updated for version 3.9
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libxklavier/README | 2 | ||||
-rw-r--r-- | libraries/libxklavier/libxklavier.SlackBuild | 12 | ||||
-rw-r--r-- | libraries/libxklavier/libxklavier.info | 10 |
3 files changed, 15 insertions, 9 deletions
diff --git a/libraries/libxklavier/README b/libraries/libxklavier/README index 57ca79f03cd4..e505f0850f79 100644 --- a/libraries/libxklavier/README +++ b/libraries/libxklavier/README @@ -1 +1,3 @@ libxklavier is a utility library to make XKB stuff easier. + +This requires iso-codes, which is also available from SlackBuilds.org
\ No newline at end of file diff --git a/libraries/libxklavier/libxklavier.SlackBuild b/libraries/libxklavier/libxklavier.SlackBuild index bcc37f9b8cb1..cda2732f85b8 100644 --- a/libraries/libxklavier/libxklavier.SlackBuild +++ b/libraries/libxklavier/libxklavier.SlackBuild @@ -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 ) diff --git a/libraries/libxklavier/libxklavier.info b/libraries/libxklavier/libxklavier.info index 7e609b851e8c..628926c28d55 100644 --- a/libraries/libxklavier/libxklavier.info +++ b/libraries/libxklavier/libxklavier.info @@ -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" |