diff options
Diffstat (limited to 'development/regina-rexx/regina-rexx.SlackBuild')
-rw-r--r-- | development/regina-rexx/regina-rexx.SlackBuild | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/development/regina-rexx/regina-rexx.SlackBuild b/development/regina-rexx/regina-rexx.SlackBuild index 03e294d8f8..eff7d560d7 100644 --- a/development/regina-rexx/regina-rexx.SlackBuild +++ b/development/regina-rexx/regina-rexx.SlackBuild @@ -4,14 +4,11 @@ # Written by Diogo Leal (diogo@diogoleal.com) PRGNAM=regina-rexx -VERSION=${VERSION:-3.9.1} -DOCVERSION=${DOCVERSION:-3.9.1} -BUILD=${BUILD:-4} +VERSION=${VERSION:-3.9.3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} FLAVOR=${FLAVOR:-dynamic} # set FLAVOR=static for a rexx static binary. -SRCNAM=Regina-REXX - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -34,16 +31,18 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" fi -set -x set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -79,10 +78,12 @@ rm -f $PKG/etc/rxstack 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 -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -install -m0644 $CWD/regutil.pdf $PKG/usr/doc/$PRGNAM-$VERSION/regutil-$DOCVERSION.pdf -install -m0644 $CWD/regina.pdf $PKG/usr/doc/$PRGNAM-$VERSION/regina-$DOCVERSION.pdf -install -m0644 README* HACKERS.txt $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/ +install -m0644 doc/regina.pdf $PKG/usr/doc/$PRGNAM-$VERSION/regina-$VERSION.pdf +install -m0644 doc/regutil.pdf $PKG/usr/doc/$PRGNAM-$VERSION/regutil-$VERSION.pdf +install -m0644 regutil/README $PKG/usr/doc/$PRGNAM-$VERSION/README.regutil +install -m0644 BUGS COPYING-LIB HACKERS.txt INSTALL README* TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION install -m0644 $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION/README.slackware install -m0644 $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION |