diff options
author | Michiel <michiel.van.wessem@gmail.com> | 2010-05-12 17:37:53 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:37:53 +0200 |
commit | d91db367c56684751bb0c5870677c27a93f55f4f (patch) | |
tree | 7cacaa435de5b8f7cc056ae09c32bf9bcdc91eaa /desktop/kcometen3/kcometen3.SlackBuild | |
parent | 4477f26e3524e5379c880b4eb00e11a12eadd52a (diff) |
desktop/kcometen3: Updated for version 1.1
Diffstat (limited to 'desktop/kcometen3/kcometen3.SlackBuild')
-rw-r--r-- | desktop/kcometen3/kcometen3.SlackBuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/desktop/kcometen3/kcometen3.SlackBuild b/desktop/kcometen3/kcometen3.SlackBuild index 4f85aabf38a3..8f72106cff25 100644 --- a/desktop/kcometen3/kcometen3.SlackBuild +++ b/desktop/kcometen3/kcometen3.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set -e + PRGNAM=kcometen3 VERSION=1.1 ARCH=${ARCH:-i486} @@ -33,19 +35,18 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} + if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" fi -set -e - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $TMP/$PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -56,14 +57,12 @@ find . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ +./configure --prefix=/usr \ --localstatedir=/var \ - --sysconfdir=/etc/kde \ + --sysconfdir=/etc \ --program-prefix="" \ --program-suffix="" \ - --disable-debug \ - --build=$ARCH-slackware-linux + --disable-debug make make install-strip DESTDIR=$PKG |