diff options
author | Richard Narron <richard@aaazen.com> | 2015-01-23 23:34:47 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-01-23 23:34:47 +0700 |
commit | b71c0e09a8289e6c8f16ebe9e4f7599668274b27 (patch) | |
tree | 870a645cc9289a298309810a2762f53a892060b9 /development | |
parent | c016fcda13144681e5e8cae18a50681eacf2fadb (diff) |
development/regina-rexx: Add documentation.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/regina-rexx/regina-rexx.SlackBuild | 17 | ||||
-rw-r--r-- | development/regina-rexx/regina-rexx.info | 8 |
2 files changed, 14 insertions, 11 deletions
diff --git a/development/regina-rexx/regina-rexx.SlackBuild b/development/regina-rexx/regina-rexx.SlackBuild index b3fc40e46b986..6ba9eeb147e4c 100644 --- a/development/regina-rexx/regina-rexx.SlackBuild +++ b/development/regina-rexx/regina-rexx.SlackBuild @@ -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 diff --git a/development/regina-rexx/regina-rexx.info b/development/regina-rexx/regina-rexx.info index a429e12d20d7d..bf92ab3fa455c 100644 --- a/development/regina-rexx/regina-rexx.info +++ b/development/regina-rexx/regina-rexx.info @@ -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="" |