summaryrefslogtreecommitdiff
path: root/development/source-highlight/source-highlight.SlackBuild
diff options
context:
space:
mode:
authorluoyi <luoyi.ly@gmail.com>2010-05-12 17:38:57 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-12 17:38:57 +0200
commit9bfdc6ff931aff70d0c820c54350bf0690a98945 (patch)
tree6c37bea48193abb3077e6a0395ca0ef091b6e46b /development/source-highlight/source-highlight.SlackBuild
parent45a7829b3b6ecffa282495b8f6cee39cb2c5a357 (diff)
downloadslackbuilds-9bfdc6ff931aff70d0c820c54350bf0690a98945.tar.gz
development/source-highlight: Updated for version 2.11.1
Diffstat (limited to 'development/source-highlight/source-highlight.SlackBuild')
-rw-r--r--development/source-highlight/source-highlight.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/development/source-highlight/source-highlight.SlackBuild b/development/source-highlight/source-highlight.SlackBuild
index ee3f51d936..a8b57738a7 100644
--- a/development/source-highlight/source-highlight.SlackBuild
+++ b/development/source-highlight/source-highlight.SlackBuild
@@ -6,7 +6,7 @@
# Modified by the slackbuilds.org project
PRGNAM=source-highlight
-VERSION=${VERSION:-2.9}
+VERSION=${VERSION:-2.11.1}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -45,7 +45,10 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -60,8 +63,8 @@ make install DESTDIR=$PKG
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
-rm -f $PKG/usr/share/info/dir
-gzip -9 $PKG/usr/share/info/*.info*
+rm -f $PKG/usr/info/dir
+gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION