mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
development/bbcsdl: Updated script
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d179af684f
commit
29a2459f97
2 changed files with 6 additions and 8 deletions
|
@ -14,8 +14,6 @@ even the most complex programs straightforward.
|
|||
|
||||
This package installs to /opt/bbcsdl and is a rebuild of the open
|
||||
sources available at https://github.com/rtrussell/BBCSDL
|
||||
In addition to the 'bbcsdl' the 'bbcbasic' linux console version
|
||||
of the program is also build.
|
||||
|
||||
The Box2D (Box2D321.so) libraries:
|
||||
- 64 bits md5 215bbda5d9a92a5cc99534de4e1235aa and
|
||||
|
|
|
@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=bbcsdl
|
||||
VERSION=${VERSION:-1.39a}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
TARBALL=${TARBALL:-BBCSDL-6f12425251b72974268a6fb82e26382c2ee1acc0}
|
||||
|
@ -91,8 +91,8 @@ find -L . \
|
|||
# Build sdl and console versions
|
||||
cd bin/linux
|
||||
make
|
||||
cd ../../console/linux
|
||||
make
|
||||
# cd ../../console/linux
|
||||
# make
|
||||
cd ../..
|
||||
|
||||
# Setup package files
|
||||
|
@ -100,7 +100,7 @@ mkdir -p $PKG/usr/bin $PKG/opt/$PRGNAM $PKG/usr/share/pixmaps $PKG/usr/share/app
|
|||
|
||||
install -D -m0755 bbcsdl $PKG/opt/$PRGNAM/bbcsdl
|
||||
install -D -m0755 libstb.so $PKG/opt/$PRGNAM/libstb.so
|
||||
install -D -m0755 bbcbasic $PKG/opt/$PRGNAM/bbcbasic
|
||||
# install -D -m0755 bbcbasic $PKG/opt/$PRGNAM/bbcbasic
|
||||
cp bbcsdl.bbc $PKG/opt/$PRGNAM/
|
||||
cp -avxu lib $PKG/opt/$PRGNAM/
|
||||
cp -avxu examples $PKG/opt/$PRGNAM/
|
||||
|
@ -123,8 +123,8 @@ cp $CWD/bbcsdl.desktop $PKG/usr/share/applications
|
|||
|
||||
( cd $PKG/usr/bin ; rm -rf bbcsdl )
|
||||
( cd $PKG/usr/bin ; ln -s /opt/bbcsdl/bbcsdl bbcsdl )
|
||||
( cd $PKG/usr/bin ; rm -rf bbcbasic )
|
||||
( cd $PKG/usr/bin ; ln -s /opt/bbcsdl/bbcbasic bbcbasic )
|
||||
# ( cd $PKG/usr/bin ; rm -rf bbcbasic )
|
||||
# ( cd $PKG/usr/bin ; ln -s /opt/bbcsdl/bbcbasic bbcbasic )
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue