BASIC-256

If there's software you need and you can't find, make a request for it.
Post Reply
User avatar
Andyun
Posts: 456
Joined: 17. Jun 2010, 09:51
Location: Russia: Severodvinsk / Россия: Северодвинск

BASIC-256

Post by Andyun »

Hello!
Propose such a program:
BASIC-256 - is an easy to use version of BASIC designed to teach anybody (especially middle and high-school students) the basics of computer programming. Dependency:
  • Qt4.
  • Flex.
  • Bison.
  • SQLite.
  • SDL_mixer - can be found here (example: absolute-13.1.6/absolute/l/).
  • eSpeak (requires "Portaudio" and "Jack") - SlackBuild can be found here.
My version of the SLKBUILD:

Code: Select all

pkgname=basic256
pkgver=0.9.6.66
pkgrel=111
source=("http://sourceforge.net/projects/kidbasic/files/basic256/basic256_0.9.6.66.tgz" "basic256.desktop")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://basic256.org/


slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"BASIC-256 (An easy to use BASIC language and IDE for education.)"
"BASIC-256 is an easy to use version of BASIC designed to teach"
"anybody (especially middle and high-school students) the basics"
"of computer programming."
""
"Homepage: http://basic256.org/"
)


build() {
	cd $startdir/src
	qmake || return 1
	sed -i 's#/usr/local/#/usr/#'g Makefile.Release || return 1
	make -j2 || return 1
	make INSTALL_ROOT=$startdir/pkg/ install
	mkdir -p $startdir/pkg/usr/share/icons/hicolor/64x64/apps
	cp resources/images/basic256.png $startdir/pkg/usr/share/icons/hicolor/64x64/apps/basic256.png
	mkdir -p $startdir/pkg/usr/share/applications
	cp $startdir/src/basic256.desktop $startdir/pkg/usr/share/applications/
	cp -r help $startdir/pkg/usr/share/basic256/
	cp -r Examples $startdir/pkg/usr/share/basic256/
} 
and "basic256.desktop":

Code: Select all

[Desktop Entry]
Type=Application
Name=BASIC-256
Exec=BASIC256
Categories=Education;Science;ComputerScience;
Icon=basic256
Comment=Learn BASIC in an environment designed for young children
Comment[ca]=Apreneu BASIC en un entorn dissenyat per a nens
Comment[de]=Lerne BASIC in einer Programmierumgebung speziell für die ganz Kleinen
Comment[es]=Aprende BASIC en un entorno diseñado para niños
Comment[fr]=Apprend BASIC dans un environnement visé aux jeunes enfants
Comment[it]=Imparare BASIC in un ambiente realizzato per giovani ragazzi
Comment[ru]=Язык BASIC для обучения детей основам программирования
I hope this information will be someone useful and developers of the Salx OS will include it in its repository. :)
Post Reply