diff options
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 7f51d002eb6bf..119688bc331c9 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 |