diff options
author | M Slodkiewicz <slociu@wp.pl> | 2010-12-17 08:54:29 -0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-12-17 07:56:49 -0600 |
commit | 4376c5cfbd3b41f82aeada797df00c75b5d75098 (patch) | |
tree | 64d102188cb1c6ecbf9fcbfd829de95119860862 /network/kadu/kadu.SlackBuild | |
parent | 4ca1c968bc65183988bfa0689609e6d2d544f203 (diff) |
network/kadu: Updated for version 0.6.5.4.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/kadu/kadu.SlackBuild')
-rw-r--r-- | network/kadu/kadu.SlackBuild | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/network/kadu/kadu.SlackBuild b/network/kadu/kadu.SlackBuild index f084e28ba7fe..ee06dbc394d9 100644 --- a/network/kadu/kadu.SlackBuild +++ b/network/kadu/kadu.SlackBuild @@ -1,16 +1,18 @@ #!/bin/sh +# Slackware build script for kadu + +# Written by marco slociu@wp.pl + PRGNAM=kadu -VERSION=${VERSION:-0.6.5.3} +VERSION=${VERSION:-0.6.5.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -50,24 +52,22 @@ find . \ -exec chmod 644 {} \; # Modifying .config file: -sed -i "s|module_filtering=n|module_filtering=m|g" .config -sed -i "s|module_screenshot=n|module_screenshot=m|g" .config -sed -i "s|module_agent=n|module_agent=m|g" .config -sed -i "s|module_tabs=n|module_tabs=m|g" .config -sed -i "s|module_profiles=n|module_profiles=m|g" .config -sed -i "s|module_firewall=n|module_firewall=m|g" .config -# mediaplayer -#sed -i "s|module_mediaplayer=n|module_mediaplayer=m|g" .config -#sed -i "s|module_amarok1_mediaplayer=n|module_amarok1_mediaplayer=m|g" .config -#sed -i "s|module_xmms_mediaplayer=n|module_xmms_mediaplayer=m|g" .config -# sprawdzanie pisowni -sed -i "s|module_spellchecker=n|module_spellchecker=m|g" .config -# icons -#sed -i "s|icons_kadu05=n|icons_kadu05=y|g" .config -#sed -i "s|icons_tango16=n|icons_tango16=y|g" .config -#sed -i "s|icons_oxygen16=n|icons_oxygen16=y|g" .config -#sed -i "s|emoticons_gg6_compatible=n|emoticons_gg6_compatible=y|g" .config -#sed -i "s|emoticons_tango=n|emoticons_tango=y|g" .config +static="" # icons_kadu05 icons_tango16 icons_oxygen16 emoticons_gg6_compatible emoticons_tango +disable="" +enable="" # module_screenshot module_agent module_profiles module_firewall module_spellchecker + +for m in $static; do + sed -r -i "s/^($m)=n/\1=y/" .config || exit 1 +done +for m in $enable; do + sed -r -i "s/^($m)=n/\1=m/" .config || exit 1 +done +for m in $disable; do + sed -r -i "s/^($m)=m/\1=n/" .config || exit 1 +done + +sed -i "s|icons_glass16=y|icons_glass16=n|g" .config +sed -i "s|icons_glass22=y|icons_glass22=n|g" .config cmake . \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ @@ -87,7 +87,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING ChangeLog INSTALL TODO README THANKS VERSION \ + AUTHORS COPYING ChangeLog INSTALL TODO README THANKS VERSION \ $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/install @@ -96,3 +96,5 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} + + |