From 4af941e067b3a2bc1cecb0e30ff6445982295b23 Mon Sep 17 00:00:00 2001 From: Mark Walling Date: Wed, 12 May 2010 17:38:29 +0200 Subject: development/icoutils: Updated for version 0.26.0 --- development/icoutils/README | 3 --- development/icoutils/icoutils.SlackBuild | 19 ++++++++++++------- 2 files changed, 12 insertions(+), 10 deletions(-) (limited to 'development/icoutils') diff --git a/development/icoutils/README b/development/icoutils/README index 77416b72ba..cdf8e0752f 100644 --- a/development/icoutils/README +++ b/development/icoutils/README @@ -2,6 +2,3 @@ icoutils (Windows Icon and Cursor Utilities) The icoutils are a set of program for extracting and converting images in Microsoft Windows(R) icon and cursor files. - -Homepage: http://www.nongnu.org/icoutils/ - diff --git a/development/icoutils/icoutils.SlackBuild b/development/icoutils/icoutils.SlackBuild index 1834671d55..1d262d130b 100644 --- a/development/icoutils/icoutils.SlackBuild +++ b/development/icoutils/icoutils.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh # Slackware build script for icoutils -# Copyright (c) 2008, Written by Mark Walling +# Copyright (c) 2008, Mark Walling # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -35,12 +35,12 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCFILES="AUTHORS COPYING ChangeLog NEWS README TODO" - 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 @@ -59,14 +59,17 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ - --localstatedir=/var + --localstatedir=/var \ + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null ) ( cd $PKG/usr/man @@ -75,7 +78,9 @@ make install DESTDIR=$PKG ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING ChangeLog NEWS README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3-65-gdbad