mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
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>
This commit is contained in:
parent
29e2db0281
commit
fd35ab2e95
2 changed files with 6 additions and 12 deletions
|
@ -4,7 +4,4 @@ far, pForth has run on Macs, PCs, SUNs, Amigas, Linux, BeOS, Nokia
|
||||||
Communicator, SGI Indys, 3DO ARM systems, 3DO PowerPC systems, WebTV
|
Communicator, SGI Indys, 3DO ARM systems, 3DO PowerPC systems, WebTV
|
||||||
systems, Hitachi SH4, OpenTV prototypes, Compaq Ipaq 3970, Sharp LH79520
|
systems, Hitachi SH4, OpenTV prototypes, Compaq Ipaq 3970, Sharp LH79520
|
||||||
ARM processor, Ciena Systems networking hardware, and some internal
|
ARM processor, Ciena Systems networking hardware, and some internal
|
||||||
projects at Lucent. If you build pForth for an embedded system, please let
|
projects at Lucent.
|
||||||
me know and I will add your machine to the list of machines that pForth
|
|
||||||
has run on.
|
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
SRCVERSION=${VERSION}_20101121
|
SRCVERSION=${VERSION}_20101121
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i486 ;;
|
||||||
|
@ -42,7 +43,7 @@ set -e
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf ${PRGNAM}_$VERSION
|
rm -rf ${PRGNAM}_$VERSION __MACOSX
|
||||||
unzip "$CWD/${PRGNAM}_${SRCVERSION}.zip"
|
unzip "$CWD/${PRGNAM}_${SRCVERSION}.zip"
|
||||||
cd ${PRGNAM}_${VERSION}/build/unix
|
cd ${PRGNAM}_${VERSION}/build/unix
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
|
@ -66,16 +67,12 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a ../../*.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a ../../*.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/usr/bin
|
mkdir -p $PKG/usr/bin $PKG/usr/share/pforth/${VERSION}
|
||||||
mkdir -p $PKG/usr/share/pforth/${VERSION}
|
strip pforth pforth_standalone
|
||||||
strip pforth
|
|
||||||
strip pforth_standalone
|
|
||||||
cp -a pforth $PKG/usr/bin/pforth
|
cp -a pforth $PKG/usr/bin/pforth
|
||||||
cp -a pforth.dic $PKG/usr/share/pforth/${VERSION}/pforth.dic
|
cp -a pforth.dic $PKG/usr/share/pforth/${VERSION}/pforth.dic
|
||||||
cp -a pforth_standalone $PKG/usr/bin/pforth_standalone
|
cp -a pforth_standalone $PKG/usr/bin/pforth_standalone
|
||||||
cd $PKG/usr/bin
|
( cd $PKG/usr/bin ; ln -s pforth_standalone pfs )
|
||||||
ln -s pforth_standalone pfs
|
|
||||||
cd -
|
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
Loading…
Reference in a new issue