summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-18 08:05:03 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-18 08:05:03 +0700
commitce1d2bd08e8f2989b948e1804fbe912741db7221 (patch)
treefa08fbf13963f74fc95e15aed46aac7f05024b4d
parentb9eac1ad92fb8141d6f9b7b6dceb0af431adcca9 (diff)
downloadslackbuilds-ce1d2bd08e8f2989b948e1804fbe912741db7221.tar.gz
development/trf: Remove old tcl header location
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/trf/trf.SlackBuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/development/trf/trf.SlackBuild b/development/trf/trf.SlackBuild
index 8a7352e35b..2764697c78 100644
--- a/development/trf/trf.SlackBuild
+++ b/development/trf/trf.SlackBuild
@@ -5,8 +5,8 @@
# Written by Zbigniew Baniewski, zb@ispid.com.pl
PRGNAM=trf
-VERSION=2.1p2
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.1p2}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -45,11 +45,11 @@ rm -rf $PRGNAM$VERSION
tar xvf $CWD/${PRGNAM}${VERSION}.tar.gz
cd $PRGNAM$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cat $CWD/01-destlibdir.patch | patch -p1 || exit
@@ -62,9 +62,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
@@ -74,7 +72,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ANNOUNCE ChangeLog README DESCRIPTION doc/html tests $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ANNOUNCE ChangeLog README DESCRIPTION doc/html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild