aboutsummaryrefslogtreecommitdiff
path: root/development/tkdnd
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-18 08:01:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-18 08:01:23 +0700
commitb9eac1ad92fb8141d6f9b7b6dceb0af431adcca9 (patch)
tree9e8a0e4dd439897de5108648ec4ac442ff5ac356 /development/tkdnd
parent67e0d8e392486e4d1b7337ebfeafab762f1b77e0 (diff)
development/tkdnd: Remove old tcl header location
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/tkdnd')
-rw-r--r--development/tkdnd/tkdnd.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/development/tkdnd/tkdnd.SlackBuild b/development/tkdnd/tkdnd.SlackBuild
index 87c351a6c949..4bd9e14a623d 100644
--- a/development/tkdnd/tkdnd.SlackBuild
+++ b/development/tkdnd/tkdnd.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=tkdnd
VERSION=${VERSION:-2.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,9 +60,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--with-tcl=/usr/lib${LIBDIRSUFFIX} \
- --with-tclinclude=/usr/include/tcl-private/generic \
--with-tk=/usr/lib${LIBDIRSUFFIX} \
- --with-tkinclude=/usr/include/tk-private/generic \
--build=$ARCH-slackware-linux
make
@@ -71,6 +69,9 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# Fix Manual page
+mv $PKG/usr/man/mann $PKG/usr/man/man1
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done