aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-05-12 17:38:35 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:38:35 +0200
commit897fdfcb8e9fff9b4b12fc1475a11947d2109997 (patch)
tree0a984c992b6aabdefaef61507fbc0ba8a8915a56
parent7cbd52e2e9ea9bd9c433b64a2c17d4ea8632aef5 (diff)
development/kdiff3: Updated for version 0.9.92
-rw-r--r--development/kdiff3/kdiff3.SlackBuild16
-rw-r--r--development/kdiff3/kdiff3.info2
2 files changed, 13 insertions, 5 deletions
diff --git a/development/kdiff3/kdiff3.SlackBuild b/development/kdiff3/kdiff3.SlackBuild
index 81380de60682..c0595517af88 100644
--- a/development/kdiff3/kdiff3.SlackBuild
+++ b/development/kdiff3/kdiff3.SlackBuild
@@ -23,7 +23,6 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-set -e
PRGNAM=kdiff3
VERSION=0.9.92
@@ -35,8 +34,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCFILES="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO"
+set -e
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
@@ -57,8 +56,11 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=$KDEPREF \
- --localstatedir=/var \
--sysconfdir=/etc \
+ --docdir=/usr/doc \
+ --mandir=/usr/man \
+ --htmldir=/usr/doc \
+ --localstatedir=/var \
--program-prefix="" \
--program-suffix="" \
--disable-debug
@@ -66,8 +68,14 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+( cd $PKG/usr/man
+ find . -type f -exec gzip -9 {} \;
+ for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+)
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
diff --git a/development/kdiff3/kdiff3.info b/development/kdiff3/kdiff3.info
index a2ce53af9ed4..80e6ba331b12 100644
--- a/development/kdiff3/kdiff3.info
+++ b/development/kdiff3/kdiff3.info
@@ -1,7 +1,7 @@
PRGNAM="kdiff3"
VERSION="0.9.92"
HOMEPAGE="http://kdiff3.sourceforge.net"
-DOWNLOAD="http://dl.sourceforge.net/kdiff3/kdiff3-0.9.92.tar.gz"
+DOWNLOAD="http://downloads.sourceforge.net/kdiff3/kdiff3-0.9.92.tar.gz"
MD5SUM="c7b52bfee6a085393de0c4f83732e8f0"
MAINTAINER="Michiel van Wessem"
EMAIL="michiel@slackbuilds.org"