diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-03-30 20:38:00 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-30 22:53:39 -0500 |
commit | fd35ab2e95bbc8a4635d6cce2babf86fa5db97ac (patch) | |
tree | 5f81a4f17c0ff8bbbc3682399e0c40f6df700b1c /development/pforth/pforth.SlackBuild | |
parent | 29e2db0281ac3cfbfc42701b9448df52d0c27aba (diff) | |
download | slackbuilds-fd35ab2e95bbc8a4635d6cce2babf86fa5db97ac.tar.gz |
development/pforth: Miscellaneous cleanups
This throws lots of warnings and non-fatal errors during
the build process, but it still builds a package, so we'll
keep it, I suppose...
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/pforth/pforth.SlackBuild')
-rw-r--r-- | development/pforth/pforth.SlackBuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/development/pforth/pforth.SlackBuild b/development/pforth/pforth.SlackBuild index ccb4b99405..ca9325917e 100644 --- a/development/pforth/pforth.SlackBuild +++ b/development/pforth/pforth.SlackBuild @@ -10,6 +10,7 @@ BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRCVERSION=${VERSION}_20101121 + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -42,7 +43,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf ${PRGNAM}_$VERSION +rm -rf ${PRGNAM}_$VERSION __MACOSX unzip "$CWD/${PRGNAM}_${SRCVERSION}.zip" cd ${PRGNAM}_${VERSION}/build/unix chown -R root:root . @@ -66,16 +67,12 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ../../*.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -mkdir -p $PKG/usr/bin -mkdir -p $PKG/usr/share/pforth/${VERSION} -strip pforth -strip pforth_standalone +mkdir -p $PKG/usr/bin $PKG/usr/share/pforth/${VERSION} +strip pforth pforth_standalone cp -a pforth $PKG/usr/bin/pforth cp -a pforth.dic $PKG/usr/share/pforth/${VERSION}/pforth.dic cp -a pforth_standalone $PKG/usr/bin/pforth_standalone -cd $PKG/usr/bin - ln -s pforth_standalone pfs -cd - +( cd $PKG/usr/bin ; ln -s pforth_standalone pfs ) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |