mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
development/regina-rexx: Add documentation.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
c016fcda13
commit
b71c0e09a8
2 changed files with 14 additions and 11 deletions
|
@ -5,7 +5,8 @@
|
|||
|
||||
PRGNAM=regina-rexx
|
||||
VERSION=${VERSION:-3.9.0}
|
||||
BUILD=${BUILD:-1}
|
||||
DOCVERSION=${DOCVERSION:-3.8.2}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
FLAVOR=${FLAVOR:-dynamic} # set FLAVOR=static for a rexx static binary.
|
||||
|
||||
|
@ -24,8 +25,6 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
DOCS="README* HACKERS.txt "
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
|
@ -36,7 +35,7 @@ elif [ "$ARCH" = "x86_64" ]; then
|
|||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -x
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
|
@ -53,8 +52,6 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
chmod 644 $DOCS
|
||||
|
||||
if [ "${FLAVOR,,*}" = "static" ]; then
|
||||
mv -f configure configure.orig
|
||||
sed -e 's/STATIC_LDFLAGS=""/STATIC_LDFLAGS="-static"/' <configure.orig >configure
|
||||
|
@ -82,9 +79,11 @@ 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
|
||||
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/regina-rexx.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
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
|
||||
install -m0644 $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
PRGNAM="regina-rexx"
|
||||
VERSION="3.9.0"
|
||||
HOMEPAGE="http://regina-rexx.sourceforge.net/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/regina-rexx/Regina-REXX-3.9.0.tar.gz"
|
||||
MD5SUM="be3d3b552487a8d808743f8f8bcb0c03"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/regina-rexx/Regina-REXX-3.9.0.tar.gz \
|
||||
http://sourceforge.net/projects/regina-rexx/files/regina-documentation/3.8.2/regina.pdf \
|
||||
http://sourceforge.net/projects/regina-rexx/files/regina-documentation/3.8.2/regutil.pdf"
|
||||
MD5SUM="be3d3b552487a8d808743f8f8bcb0c03 \
|
||||
f024c1affe66f25e3e1a403b3ce033f5 \
|
||||
f0973b977799a4ab0bcefcc73199de12"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue