diff options
author | Guan-Zhong Huang <imprazaguy@gmail.com> | 2012-02-21 17:07:37 -0600 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-03-29 10:16:25 -0500 |
commit | 18b59874fb57e629424cfa95820389a610020e5a (patch) | |
tree | 4a4c0bb234aa0f18e4bca93f1879faf04ae698a0 /misc/ibus-chewing/ibus-chewing.SlackBuild | |
parent | 4809af5af7a523300615920bb7ba24bc9edd20a7 (diff) | |
download | slackbuilds-18b59874fb57e629424cfa95820389a610020e5a.tar.gz |
misc/ibus-chewing: Updated for version 1.3.10.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'misc/ibus-chewing/ibus-chewing.SlackBuild')
-rw-r--r-- | misc/ibus-chewing/ibus-chewing.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/misc/ibus-chewing/ibus-chewing.SlackBuild b/misc/ibus-chewing/ibus-chewing.SlackBuild index 7f51d002eb..119688bc33 100644 --- a/misc/ibus-chewing/ibus-chewing.SlackBuild +++ b/misc/ibus-chewing/ibus-chewing.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ibus-chewing -# Copyright 2010 Guan-Zhong Huang, Taiwan <imprazaguy@gmail.com> +# Copyright 2010-2012 Guan-Zhong Huang, Taiwan <imprazaguy@gmail.com> # 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=ibus-chewing -VERSION=${VERSION:-1.3.9.2} +VERSION=${VERSION:-1.3.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -38,7 +38,7 @@ fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -62,6 +62,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION-Source tar xvf $CWD/$PRGNAM-$VERSION-Source.tar.gz cd $PRGNAM-$VERSION-Source +tar xvf $CWD/cmake-fedora-modules-only-latest.tar.gz chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -70,7 +71,6 @@ find . \ -exec chmod 644 {} \; # This cmake script doesn't support out-of-source build - cmake \ -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ @@ -78,10 +78,10 @@ cmake \ -DSYSCONF_INSTALL_DIR=/etc \ -DDOC_DIR=/usr/doc \ -DCMAKE_BUILD_TYPE=Release -make VERBOSE=1 +make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |