summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/xforms/xforms.SlackBuild25
-rw-r--r--libraries/xforms/xforms.info8
2 files changed, 16 insertions, 17 deletions
diff --git a/libraries/xforms/xforms.SlackBuild b/libraries/xforms/xforms.SlackBuild
index def08ca39f..c0a5b3ad2e 100644
--- a/libraries/xforms/xforms.SlackBuild
+++ b/libraries/xforms/xforms.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xforms
-# Copyright 2009-2010 LukenShiro <lukenshiro@ngi.it>
+# Copyright 2009-2014 LukenShiro, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xforms
-VERSION=${VERSION:-1.0.93sp1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.2.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -40,9 +40,9 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCFILES="ChangeLog COPYING.LIB Copyright INSTALL NEWS New_Features.txt README"
+DOCFILES="ChangeLog COPYING.LIB Copyright INSTALL* README"
# sources with data examples, and pre-built ones
-DEMOFILES="01Readme *.h *.c *.c.old *.xbm *.xpm *.menu .libs/*"
+DEMOFILES="*.h *.c *.xbm *.xpm *.menu .libs/*"
DEMOFDFILES="*.h *.c *.fd *.xpm"
if [ "$ARCH" = "i486" ]; then
@@ -59,7 +59,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -69,8 +69,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ \( -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 {} \;
@@ -90,16 +90,18 @@ CXXFLAGS="$SLKCFLAGS" \
make all
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
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
rm -f $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/*
+gzip -9 $PKG/usr/info/*.info*
+# images do not belong here
+rm -rf $PKG/usr/info/xforms_images
-# demo source files
+# demo executable and source files
mkdir -p $PKG/usr/share/$PRGNAM-$VERSION/demos/fd
cd demos ; cp -a $DEMOFILES $PKG/usr/share/$PRGNAM-$VERSION/demos
cd fd ; cp -a $DEMOFDFILES $PKG/usr/share/$PRGNAM-$VERSION/demos/fd
@@ -107,7 +109,6 @@ cd ../..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/xforms.pdf > $PKG/usr/doc/$PRGNAM-$VERSION/xforms.pdf
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/xforms/xforms.info b/libraries/xforms/xforms.info
index 3360f555a7..71ad4d7f5f 100644
--- a/libraries/xforms/xforms.info
+++ b/libraries/xforms/xforms.info
@@ -1,10 +1,8 @@
PRGNAM="xforms"
-VERSION="1.0.93sp1"
+VERSION="1.2.1"
HOMEPAGE="http://www.xforms-toolkit.org"
-DOWNLOAD="http://download.savannah.gnu.org/releases/xforms/xforms-1.0.93sp1.tar.gz \
- http://download.savannah.gnu.org/releases/xforms/xforms.pdf"
-MD5SUM="68ed76216be9b09032e22736d95c8b3c \
- 0080f2d50d76b8245bd63ee1d821b147"
+DOWNLOAD="http://download.savannah.gnu.org/releases/xforms/xforms-1.2.1.tar.gz"
+MD5SUM="1c03394248cd7e7ecac61a7866fe3bd0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""