summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorGrigorios Bouzakis <grbzks@gmail.com>2010-05-13 00:24:22 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:24:22 +0200
commit67b16892b0bcafeef8f3b984e549bc0876ce8a39 (patch)
treeeb877a7eaca1f4acfa604e5bc34e60d8f2011911 /development
parentd7a968965fc8d427822aa9f507e64bffb84357e1 (diff)
downloadslackbuilds-67b16892b0bcafeef8f3b984e549bc0876ce8a39.tar.gz
development/colordiff: Updated for version 1.0.9
Diffstat (limited to 'development')
-rw-r--r--development/colordiff/colordiff.SlackBuild18
-rw-r--r--development/colordiff/colordiff.info2
-rw-r--r--development/colordiff/slack-desc14
3 files changed, 14 insertions, 20 deletions
diff --git a/development/colordiff/colordiff.SlackBuild b/development/colordiff/colordiff.SlackBuild
index a3daa87a0b..1f399a9594 100644
--- a/development/colordiff/colordiff.SlackBuild
+++ b/development/colordiff/colordiff.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=colordiff
VERSION=${VERSION:-1.0.9}
-ARCH=${ARCH:-i486}
+ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -15,16 +15,6 @@ 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"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-fi
-
-DOCS="BUGS CHANGES COPYING INSTALL README TODO"
-
set -e
rm -rf $PKG
@@ -47,7 +37,9 @@ install -m 755 cdiff.sh $PKG/usr/bin/cdiff
gzip -9c colordiff.1 > $PKG/usr/man/man1/colordiff.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ BUGS CHANGES COPYING INSTALL README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -55,4 +47,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/colordiff/colordiff.info b/development/colordiff/colordiff.info
index 2c661664d7..9498deef5f 100644
--- a/development/colordiff/colordiff.info
+++ b/development/colordiff/colordiff.info
@@ -3,6 +3,8 @@ VERSION="1.0.9"
HOMEPAGE="http://colordiff.sourceforge.net"
DOWNLOAD="http://colordiff.sourceforge.net/colordiff-1.0.9.tar.gz"
MD5SUM="31864847eaa4e900f72bbb6bbc64f1ec"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Grigorios Bouzakis"
EMAIL="grbzks@gmail.com"
APPROVED="dsomero"
diff --git a/development/colordiff/slack-desc b/development/colordiff/slack-desc
index f01eb1a99b..dda26beff1 100644
--- a/development/colordiff/slack-desc
+++ b/development/colordiff/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
colordiff: colordiff (colour-highlighted 'diff' output)
colordiff:
-colordiff: The Perl script colordiff is a wrapper for 'diff' and produces the
-colordiff: same output but with pretty 'syntax' highlighting.
+colordiff: The Perl script colordiff is a wrapper for 'diff' and produces
+colordiff: the same output but with pretty 'syntax' highlighting.
+colordiff:
colordiff: Colour schemes can be customized.
-colordiff:
+colordiff:
colordiff: Homepage: http://colordiff.sourceforge.net/
-colordiff:
-colordiff:
-colordiff:
-colordiff:
+colordiff:
+colordiff:
+colordiff: