aboutsummaryrefslogtreecommitdiff
path: root/development/tkdnd/tkdnd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/tkdnd/tkdnd.SlackBuild')
-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 87c351a6c9499..4bd9e14a623dd 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